chatgpt-web-dev/chatgpt-web

[help] 不会配置chatgpt的接入点

Closed this issue · 2 comments

聊天报错ChatGPT error 404:
accessToken正常填写,官网可用
日志如下

chatgptweb           | POST https://fakeopen-ca2.nvoid.me/backend-api {
chatgptweb           |   body: {
chatgptweb           |     action: 'next',
chatgptweb           |     messages: [ [Object] ],
chatgptweb           |     model: 'gpt-3.5-turbo',
chatgptweb           |     parent_message_id: '6e51be2e-44fc-4715-b587-a23d5c1d4524'
chatgptweb           |   },
chatgptweb           |   headers: {
chatgptweb           |     Authorization: 'Bearer ey-xxxx',
chatgptweb           |     Accept: 'text/event-stream',
chatgptweb           |     'Content-Type': 'application/json'
chatgptweb           |   }
chatgptweb           | }
chatgptweb           | ChatGPTError: ChatGPT error 404: 
chatgptweb           |     at fetchSSE (/app/node_modules/.pnpm/chatgpt@5.2.4/node_modules/chatgpt/src/fetch-sse.ts:27:19)
chatgptweb           |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
chatgptweb           |   statusCode: 404,
chatgptweb           |   statusText: 'Not Found',
chatgptweb           |   [cause]: Response {
chatgptweb           |     [Symbol(realm)]: null,
chatgptweb           |     [Symbol(state)]: {
chatgptweb           |       aborted: false,
chatgptweb           |       rangeRequested: false,
chatgptweb           |       timingAllowPassed: true,
chatgptweb           |       requestIncludesCredentials: true,
chatgptweb           |       type: 'default',
chatgptweb           |       status: 404,
chatgptweb           |       timingInfo: [Object],
chatgptweb           |       cacheState: '',
chatgptweb           |       statusText: 'Not Found',
chatgptweb           |       headersList: [HeadersList],
chatgptweb           |       urlList: [Array],
chatgptweb           |       body: [Object]
chatgptweb           |     },
chatgptweb           |     [Symbol(headers)]: HeadersList {
chatgptweb           |       cookies: null,
chatgptweb           |       [Symbol(headers map)]: [Map],
chatgptweb           |       [Symbol(headers map sorted)]: null
chatgptweb           |     }
chatgptweb           |   }
chatgptweb           | }

破案了,新版接入点以/conversation结尾

但是官网能看见对话,web看不见输出