mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: default chatgpt api3
This commit is contained in:
parent
3ee5a2f3f6
commit
5c650041b9
1 changed files with 2 additions and 2 deletions
|
|
@ -48,10 +48,10 @@ export class OfficialChatGPTClient {
|
|||
if (timeoutMs) {
|
||||
abortController = new AbortController()
|
||||
}
|
||||
let url = this._apiReverseUrl || 'https://chat.openai.com/backend-api/conversation'
|
||||
let url = this._apiReverseUrl || 'https://apps.openai.com/api/conversation'
|
||||
if (this._apiReverseUrl && Config.proxy && !Config.apiForceUseReverse) {
|
||||
// 如果配了proxy,而且有反代,但是没开启强制反代
|
||||
url = 'https://chat.openai.com/backend-api/conversation'
|
||||
url = 'https://apps.openai.com/api/conversation'
|
||||
}
|
||||
const body = {
|
||||
action,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue