diff --git a/README.md b/README.md
index 23ad831e..edaa8dd6 100644
--- a/README.md
+++ b/README.md
@@ -212,6 +212,7 @@ Y3VybCAnaHR0cHM6Ly93d3cuYmluZy5jb20vdHVyaW5nL2NvbnZlcnNhdGlvbi9jcmVhdGUnIFwgICAt
+
## Star History
diff --git a/docs/images/wechat3.jpg b/docs/images/wechat3.jpg
new file mode 100644
index 00000000..194901c5
Binary files /dev/null and b/docs/images/wechat3.jpg differ
diff --git a/src/lib/bots/bing/index.ts b/src/lib/bots/bing/index.ts
index 28086cfc..278db711 100644
--- a/src/lib/bots/bing/index.ts
+++ b/src/lib/bots/bing/index.ts
@@ -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(
@@ -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