In chatgpt-view-provider.ts, Can you support custom apiBaseUrl? #152
Closed
a342108611
started this conversation in
Ideas
Replies: 3 comments 3 replies
-
After a custom apiBaseUrl is defined, it can be forwarded to the public network through a proxy on the Intranet, which is quite convenient |
Beta Was this translation helpful? Give feedback.
2 replies
-
@a342108611 thank you. I added a new setting to override the baseurl in v3.6.5: |
Beta Was this translation helpful? Give feedback.
0 replies
-
So in the vscode extension, where can I override apiBaseUrl? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
like this:
new ChatGPTAPI({ sessionToken: this.sessionToken, apiBaseUrl: this.customApiBaseUrl });
customApiBaseUrl Support configuration
Beta Was this translation helpful? Give feedback.
All reactions