mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 01:10:14 +01:00
feat: support config host name and proxy address
This commit is contained in:
parent
4e616cd2ed
commit
67156f4a7a
5 changed files with 13 additions and 3 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