diff --git a/src/Bard.py b/src/Bard.py index 0f94063..3f8e4a3 100644 --- a/src/Bard.py +++ b/src/Bard.py @@ -98,7 +98,7 @@ def ask(self, message: str) -> dict: """ # url params params = { - "bl": "boq_assistant-bard-web-server_20230315.04_p2", + "bl": "boq_assistant-bard-web-server_20230326.21_p0", "_reqid": str(self._reqid), "rt": "c", } @@ -116,7 +116,7 @@ def ask(self, message: str) -> dict: # do the request! resp = self.session.post( - "https://bard.google.com/_/BardChatUi/data/assistant.lamda.BardFrontendService/StreamGenerate", + "https://bard.google.com/u/1/_/BardChatUi/data/assistant.lamda.BardFrontendService/StreamGenerate", params=params, data=data, timeout=120,