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

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) {