mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-22 11:20:15 +01:00
Support local config for reverse proxy
This commit is contained in:
parent
cd7e3f3774
commit
584772b3f2
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ const set = new Set(["gpt-4", "text-davinci-002-render", "text-davinci-002-rende
|
||||||
|
|
||||||
const clientOptions = {
|
const clientOptions = {
|
||||||
// Warning: This will expose your access token to a third party. Consider the risks before using this.
|
// Warning: This will expose your access token to a third party. Consider the risks before using this.
|
||||||
reverseProxyUrl: 'https://bypass.churchless.tech/api/conversation',
|
reverseProxyUrl: process.env.CHATGPT_REVERSE_PROXY || 'https://bypass.churchless.tech/api/conversation',
|
||||||
// Access token from https://chat.openai.com/api/auth/session
|
// Access token from https://chat.openai.com/api/auth/session
|
||||||
accessToken: process.env.CHATGPT_TOKEN,
|
accessToken: process.env.CHATGPT_TOKEN,
|
||||||
// debug: true
|
// debug: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue