Khrisna commited on
Commit
ef83703
·
1 Parent(s): 3b8f864

Update lib/chatgpt.js

Browse files
Files changed (1) hide show
  1. lib/chatgpt.js +2 -2
lib/chatgpt.js CHANGED
@@ -1,6 +1,6 @@
1
  const axios = require("axios")
2
 
3
- async function acytoo(text) {
4
  let res = await axios.request({
5
  method: "POST",
6
  url: "https://chat.acytoo.com/api/completions",
@@ -11,7 +11,7 @@ async function acytoo(text) {
11
  content: text,
12
  createAt: "",
13
  }],
14
- model: "gpt-3.5-turbo-0613",
15
  password: "",
16
  temprature: 1
17
  }),
 
1
  const axios = require("axios")
2
 
3
+ async function acytoo(text, model) {
4
  let res = await axios.request({
5
  method: "POST",
6
  url: "https://chat.acytoo.com/api/completions",
 
11
  content: text,
12
  createAt: "",
13
  }],
14
+ model: model,
15
  password: "",
16
  temprature: 1
17
  }),