Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
weaigc committed Nov 26, 2023
1 parent c5350ca commit 055e0b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ Y3VybCAnaHR0cHM6Ly93d3cuYmluZy5jb20vdHVyaW5nL2NvbnZlcnNhdGlvbi9jcmVhdGUnIFwgICAt
<div align="left">
<image src="./docs/images/wechat.jpg" width=200 />
<image src="./docs/images/wechat2.jpg" width=200 />
<image src="./docs/images/wechat3.jpg" width=200 />
</div>

## Star History
Expand Down
Binary file added docs/images/wechat3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/lib/bots/bing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ export class BingWebBot {
body: JSON.stringify(this.conversationContext!)
}).catch(e => {
console.log('Fetch Error: ', e)
if (reconnect) return
params.onEvent({
type: 'ERROR',
error: new ChatError(
Expand All @@ -362,10 +363,10 @@ export class BingWebBot {
})
return e
})
if (reconnect) return
const conversation = this.conversationContext!
const originalInvocationId = conversation.invocationId
conversation.invocationId++
if (reconnect) return

if (response.status !== 200) {
conversation.invocationId = originalInvocationId
Expand Down

0 comments on commit 055e0b8

Please sign in to comment.