From 80e0e3bc99c5335f40e78ac473b3ed94ea715dc0 Mon Sep 17 00:00:00 2001 From: "xiaoqi.cxq" Date: Sat, 26 Aug 2023 01:11:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9chatgpt=E7=9A=84api=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/services/chatGptSvc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/chatGptSvc.js b/src/services/chatGptSvc.js index 286ea0f3..0bd8c3b0 100644 --- a/src/services/chatGptSvc.js +++ b/src/services/chatGptSvc.js @@ -3,7 +3,7 @@ import store from '../store'; export default { chat({ content }, callback) { const xhr = new XMLHttpRequest(); - const url = 'https://dis.zoai.cc/v1/chat/completions'; + const url = 'https://api.openai-proxy.com/v1/chat/completions'; xhr.open('POST', url); xhr.setRequestHeader('Content-Type', 'application/json'); xhr.setRequestHeader('Authorization', `Bearer ${window.my_api_key}`);