Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
fix: const
Browse files Browse the repository at this point in the history
  • Loading branch information
dsdanielpark committed Mar 4, 2024
1 parent 9c4aa68 commit 824556a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gemini/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ class Tool(Enum):


DEFAULT_LANGUAGE = "en"
SEPARATOR_LINE = "=" * 36
TEXT_GENERATION_WEB_SERVER_PARAM = "boq_assistant-bard-web-server_20240228.09_p0"
POST_ENDPOINT = "https://gemini.google.com/_/BardChatUi/data/assistant.lamda.BardFrontendService/StreamGenerate"
HOST = "https://gemini.google.com"
SHARE_ENDPOINT = "https://clients6.google.com/upload/drive/v3/"
BOT_SERVER = "boq_assistant-bard-web-server_20240227.13_p0"

SHARE_ENDPOINT = "https://clients6.google.com/upload/drive/v3/"

HEADERS = {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0",
"Accept": "*/*",
"Accept-Language": "en-US,en;q=0.5",
"Referer": "https://gemini.google.com/",
"X-Same-Domain": "1",
"Content-Type": "application/x-www-form-urlencoded;charset=utf-8",
"Origin": "https://gemini.google.com",
"DNT": "1",
Expand Down

0 comments on commit 824556a

Please sign in to comment.