Skip to content

Commit

Permalink
fix: 修复超时展示不必要的提示信息
Browse files Browse the repository at this point in the history
  • Loading branch information
weaigc committed Nov 25, 2023
1 parent 4afcc74 commit 39ca297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/bots/bing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ export class BingWebBot {
this.sydneyProxy(params)
}
}
let t = setTimeout(timeout, 6000)
let t = conversation.invocationId ? undefined : setTimeout(timeout, 6000)
for await (const chunk of streamAsyncIterable(response.body!)) {
clearTimeout(t)
t = setTimeout(timeout, 6000)
Expand Down

0 comments on commit 39ca297

Please sign in to comment.