mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 05:47:11 +00:00
fix: 使用更清晰的报错信息
This commit is contained in:
parent
b4f37b5339
commit
cae324f250
2 changed files with 1 additions and 4 deletions
|
|
@ -492,7 +492,7 @@ export default class SydneyAIClient {
|
|||
const firstTimeout = setTimeout(() => {
|
||||
if (!replySoFar) {
|
||||
this.cleanupWebSocketConnection(ws)
|
||||
reject(new Error('Timed out waiting for first message.'))
|
||||
reject(new Error('等待必应服务器响应超时。请尝试调整超时时间配置或减少设定量以避免此问题。'))
|
||||
}
|
||||
}, firstMessageTimeout)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue