mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-28 14:18:51 +01:00
proxy server is down
This commit is contained in:
parent
e520973203
commit
7d7a4dd905
2 changed files with 3 additions and 3 deletions
|
|
@ -59,7 +59,7 @@ Currently, this project is only functional with the `text-davinci-003` model.
|
|||
|
||||
## How to Get Started ##
|
||||
> **Warning**
|
||||
> Working on easy startup code. Still in development.
|
||||
> Working on easy startup/config code. Still in development.
|
||||
|
||||
<!-- ## License
|
||||
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ const davinciOptions = {
|
|||
};
|
||||
|
||||
const askClient = async ({ model, text, progressCallback, convo }) => {
|
||||
const clientOptions = model === 'chatgpt' ? proxyOptions : davinciOptions;
|
||||
// const clientOptions = model === 'chatgpt' ? proxyOptions : davinciOptions;
|
||||
const ChatGPTClient = (await import('@waylaidwanderer/chatgpt-api')).default;
|
||||
const client = new ChatGPTClient(process.env.CHATGPT_TOKEN, clientOptions, {
|
||||
const client = new ChatGPTClient(process.env.CHATGPT_TOKEN, davinciOptions, {
|
||||
store: new KeyvFile({ filename: 'cache.json' })
|
||||
});
|
||||
let options = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue