acheong08 / Bard

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

The request format seems to be different from the latest. It's not working #34

Closed ZYKJShadow closed 1 year ago

acheong08 commented 1 year ago

Details please

FriendlyUser commented 1 year ago

As far as I can tell

        chat_data = json.loads(resp.content.splitlines()[3])[0][2]
        if not chat_data:
            return {"content": f"Google Bard encountered an error: {resp.content}."}

chat_data is always None now, causing this bug.

I tried swapping to boq_assistant-bard-web-server_20230523.13_p0, but that wasnt enough to get it working for me