From bf73722774b2d468b90d2f07de05696d7bac1704 Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Sat, 11 Mar 2023 05:07:49 -0600 Subject: [PATCH] feat: update ChatGPTUnofficialProxyAPI to new default proxy --- legacy/src/chatgpt-unofficial-proxy-api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/src/chatgpt-unofficial-proxy-api.ts b/legacy/src/chatgpt-unofficial-proxy-api.ts index 87eae0a1..05dca19c 100644 --- a/legacy/src/chatgpt-unofficial-proxy-api.ts +++ b/legacy/src/chatgpt-unofficial-proxy-api.ts @@ -20,7 +20,7 @@ export class ChatGPTUnofficialProxyAPI { constructor(opts: { accessToken: string - /** @defaultValue `https://chat.openai.com/backend-api/conversation` **/ + /** @defaultValue `https://bypass.duti.tech/api/conversation` **/ apiReverseProxyUrl?: string /** @defaultValue `text-davinci-002-render-sha` **/ @@ -36,7 +36,7 @@ export class ChatGPTUnofficialProxyAPI { }) { const { accessToken, - apiReverseProxyUrl = 'https://chat.duti.tech/api/conversation', + apiReverseProxyUrl = 'https://bypass.duti.tech/api/conversation', model = 'text-davinci-002-render-sha', debug = false, headers,