mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
feat: support config host name and proxy address
This commit is contained in:
parent
fb9f77ae5e
commit
06c99154ac
4 changed files with 32 additions and 28 deletions
|
|
@ -7,6 +7,7 @@ const clientOptions = {
|
|||
// Access token from https://chat.openai.com/api/auth/session
|
||||
accessToken: process.env.CHATGPT_TOKEN,
|
||||
// debug: true
|
||||
proxy: process.env.PROXY || null,
|
||||
};
|
||||
|
||||
const browserClient = async ({ text, progressCallback, convo }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue