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}`);