#177 Custom API URL is not working (#178)

This commit is contained in:
Ludovic Dubost 2023-06-01 09:33:17 +02:00 committed by GitHub
parent 575fd1a1ce
commit d62e89965a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,9 +64,7 @@ async function main() {
},
promptPrefix: wrapPrompt(CHATGPT_PROMPT_PREFIX),
debug: false,
options: {
reverseProxyUrl: CHATGPT_REVERSE_PROXY
},
reverseProxyUrl: CHATGPT_REVERSE_PROXY,
};
const chatgpt = new ChatGPTClient(OPENAI_API_KEY, clientOptions, cacheOptions);