Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #9 from discordtehe/main
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Cheong authored Mar 29, 2023
2 parents 1ca0929 + 4d277c3 commit 45baa54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Bard.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
Expand All @@ -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,
Expand Down

0 comments on commit 45baa54

Please sign in to comment.