Skip to content

Commit

Permalink
matrixgpt#177 Custom API URL is not working
Browse files Browse the repository at this point in the history
  • Loading branch information
ldubost committed May 26, 2023
1 parent 575fd1a commit 3c7b1a3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3c7b1a3

Please sign in to comment.