acheong08 / Bard

Python SDK/API for reverse engineered Google Bard
MIT License
1.42k stars 178 forks source link

Showing error after every 2 or 3 chats #41

Closed prateek-chaubey closed 1 year ago

prateek-chaubey commented 1 year ago

After every send 2 or 3 chats it's throwing an error

Google Bard encountered an error:
b')]}'\n\n38\n[["wrb.fr",null,null,null,null,[8]]]\n55\n[["di",50],["a
f.httprm",50,"3088337182611657993",40]]\n25\n[["e",4,null,null,130]]\n
'.

And again starts working after restarting the bot and aborts after 2-3 messages

acheong08 commented 1 year ago

Cannot replicate

acheong08 commented 1 year ago

I was able to get up to 10 until I got bored

Abhineetnehra commented 1 year ago

After every send 2 or 3 chats it's throwing an error

Google Bard encountered an error:
b')]}'\n\n38\n[["wrb.fr",null,null,null,null,[8]]]\n55\n[["di",50],["a
f.httprm",50,"3088337182611657993",40]]\n25\n[["e",4,null,null,130]]\n
'.

And again starts working after restarting the bot and aborts after 2-3 messages

I also encountered same issue.

acheong08 commented 1 year ago

Can you guys check out https://github.com/dsdanielpark/Bard-API? @dsdanielpark seems to be keeping it much better maintained

prateek-chaubey commented 1 year ago

Both code seems to be similar, he just uses an extra language translator. But the core concept of Bard is same

acheong08 commented 1 year ago

Hmm. Perhaps see if you get any errors from the website.

Also: image

Could it be IP based?

dsdanielpark commented 1 year ago

prateek-chaubey

In the PyPI version, it is almost the same, but since the cookie values are tied to the account, there is a possibility of being associated with the account, and the possibility of IP bond cannot be ruled out.

What is certain is that there are certain limitations in place. And it is highly likely that this is an internal policy of Google that we cannot resolve.