mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 10:20:15 +01:00
update schema for bing options
This commit is contained in:
parent
ac2e897709
commit
b4e22936ba
5 changed files with 53 additions and 44 deletions
|
|
@ -20,7 +20,7 @@ const davinciOptions = {
|
|||
const askClient = async ({ model, text, progressCallback, convo }) => {
|
||||
// const clientOptions = model === 'chatgpt' ? proxyOptions : davinciOptions;
|
||||
const ChatGPTClient = (await import('@waylaidwanderer/chatgpt-api')).default;
|
||||
const client = new ChatGPTClient(process.env.CHATGPT_TOKEN, davinciOptions, {
|
||||
const client = new ChatGPTClient(process.env.OPENAI_KEY, davinciOptions, {
|
||||
store: new KeyvFile({ filename: 'cache.json' })
|
||||
});
|
||||
let options = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue