summaryrefslogtreecommitdiffstats
path: root/g4f/Provider
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-23 19:56:52 +0200
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-23 19:56:52 +0200
commitc9c1aa121dbfae4e6e09bc725af9493a148a2162 (patch)
treee681d6919241cd10406643e12c48d3960b5f52eb /g4f/Provider
parentAdd conversation title change in gui (diff)
downloadgpt4free-c9c1aa121dbfae4e6e09bc725af9493a148a2162.tar
gpt4free-c9c1aa121dbfae4e6e09bc725af9493a148a2162.tar.gz
gpt4free-c9c1aa121dbfae4e6e09bc725af9493a148a2162.tar.bz2
gpt4free-c9c1aa121dbfae4e6e09bc725af9493a148a2162.tar.lz
gpt4free-c9c1aa121dbfae4e6e09bc725af9493a148a2162.tar.xz
gpt4free-c9c1aa121dbfae4e6e09bc725af9493a148a2162.tar.zst
gpt4free-c9c1aa121dbfae4e6e09bc725af9493a148a2162.zip
Diffstat (limited to 'g4f/Provider')
-rw-r--r--g4f/Provider/needs_auth/Gemini.py2
-rw-r--r--g4f/Provider/you/har_file.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/g4f/Provider/needs_auth/Gemini.py b/g4f/Provider/needs_auth/Gemini.py
index 209c2e91..02bb0f5a 100644
--- a/g4f/Provider/needs_auth/Gemini.py
+++ b/g4f/Provider/needs_auth/Gemini.py
@@ -32,7 +32,7 @@ REQUEST_HEADERS = {
'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36',
'x-same-domain': '1',
}
-REQUEST_BL_PARAM = "boq_assistant-bard-web-server_20240201.08_p8"
+REQUEST_BL_PARAM = "boq_assistant-bard-web-server_20240421.18_p0"
REQUEST_URL = "https://gemini.google.com/_/BardChatUi/data/assistant.lamda.BardFrontendService/StreamGenerate"
UPLOAD_IMAGE_URL = "https://content-push.googleapis.com/upload/"
UPLOAD_IMAGE_HEADERS = {
diff --git a/g4f/Provider/you/har_file.py b/g4f/Provider/you/har_file.py
index e58e44d6..791db7f1 100644
--- a/g4f/Provider/you/har_file.py
+++ b/g4f/Provider/you/har_file.py
@@ -101,4 +101,4 @@ async def get_telemetry_ids(proxy: str = None) -> list:
return [await get_telemetry_id() for _ in range(1)]
finally:
- await browser.stop() \ No newline at end of file
+ await tab.close() \ No newline at end of file