bingAI: revert back bing.js change

This commit is contained in:
James Feng Cao 2023-04-06 23:34:50 +08:00
parent c9f0db1c34
commit 9ea6258d40
1 changed files with 1 additions and 3 deletions

View File

@ -49,10 +49,8 @@ function onMessage(json, returnMessage) {
onMessageIsOKClose = true;
returnMessage.getCatWebSocket().close(1000, 'ok');
} else {
talk = undefined;
localStorage.removeItem('LastChatJson');
createChat(thisChatType).then((r) => {
if(r.ok) talk = r.obj;
});
if (json.type == 1) {
porserArguments(json.arguments);
} else if (json.type == 2) {