Skip to content

Commit 63c5062

Browse files
committed
feat: chatgpt
1 parent 59663e0 commit 63c5062

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/aidFn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ export const getRandomId = () => {
331331
// https://github.com/mpetazzoni/sse.js
332332
// https://nodejs.org/api/http.html#httprequesturl-options-callback
333333
export const oneApiChat = (chatList, token, signal) =>
334-
fetch('https://api.openai.com/v1/chat/completions', {
334+
fetch('https://api.zhizengzeng.com/v1/chat/completions', {
335335
method: 'POST',
336336
signal,
337337
headers: {

0 commit comments

Comments
 (0)