transitive-bullshit / bing-chat

Node.js client for Bing's new AI-powered search. It's like ChatGPT on steroids 🔥
MIT License
1.22k stars 128 forks source link

Empty text response from bing-chat #63

Open czndy opened 10 months ago

czndy commented 10 months ago

My code is set up correctly, have tried with and without cookies, tried resetting my _U cookie, but the empty "text" object in response keep coming empty =(

image

Node.js v18.12.1

vaibhavverma9 commented 10 months ago

+1

charliebegoood commented 10 months ago

I'm having the same issue. Analyzing Web Sockets from the Edge Browser, it looks like a new type of token is needed for requests. I've tried just adding that token inside of the module but it doesn't work, my assumption is the token packages information specific to the convo, device etc.

Error for context:

{"type":2,
"invocationId":"1",
"item":
{"firstNewMessageIndex":null,"defaultChatName":null,"result":{"value":"UnauthorizedRequest","message":"Token is not authorized for this conversation.","error":"UnauthorizedRequest","renewCert":true,"serviceVersion":"20231103.69"}}}
{"type":3,"invocationId":"1"}
bong-749 commented 10 months ago

Same problem here, also I tried to set Kiev... Auth cookie and text still empty.

eduard-gangan commented 10 months ago

Same problem here

bong-749 commented 10 months ago

Same problem here

Caneșna poate or fixao pațanii

eduard-gangan commented 10 months ago

Same problem here

Caneșna poate or fixao pațanii

Sa dea domnul

Fannn03 commented 9 months ago

same problem

inorista commented 9 months ago

Same problem here image

MahmutHizal commented 9 months ago

I sometimes encounter the same error. The reason I get an error is usually after updating the _U cookie. So after updating the _U cookie, I log in to bing chat from the browser and start a conversation. In the correspondence I started, captcha verification appears, I can verify and continue to use this package.