gemini-webapi 1.12.1__tar.gz → 1.12.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/PKG-INFO +1 -1
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi/client.py +2 -2
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi/constants.py +11 -11
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi.egg-info/PKG-INFO +1 -1
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/.github/dependabot.yml +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/.github/workflows/github-release.yml +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/.github/workflows/pypi-publish.yml +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/.gitignore +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/.vscode/launch.json +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/.vscode/settings.json +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/LICENSE +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/README.md +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/assets/banner.png +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/assets/favicon.png +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/assets/logo.svg +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/assets/sample.pdf +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/pyproject.toml +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/setup.cfg +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi/__init__.py +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi/exceptions.py +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi/types/__init__.py +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi/types/candidate.py +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi/types/image.py +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi/types/modeloutput.py +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi/utils/__init__.py +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi/utils/get_access_token.py +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi/utils/load_browser_cookies.py +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi/utils/logger.py +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi/utils/rotate_1psidts.py +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi/utils/upload_file.py +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi.egg-info/SOURCES.txt +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi.egg-info/dependency_links.txt +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi.egg-info/requires.txt +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi.egg-info/top_level.txt +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/tests/test_client_features.py +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/tests/test_html_entity_decode.py +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/tests/test_rotate_cookies.py +0 -0
- {gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/tests/test_save_image.py +0 -0
|
@@ -313,7 +313,7 @@ class GeminiClient:
|
|
|
313
313
|
If prompt is empty.
|
|
314
314
|
`gemini_webapi.TimeoutError`
|
|
315
315
|
If request timed out.
|
|
316
|
-
`gemini_webapi.
|
|
316
|
+
`gemini_webapi.GeminiError`
|
|
317
317
|
If no reply candidate found in response.
|
|
318
318
|
`gemini_webapi.APIError`
|
|
319
319
|
- If request failed with status code other than 200.
|
|
@@ -630,7 +630,7 @@ class ChatSession:
|
|
|
630
630
|
If prompt is empty.
|
|
631
631
|
`gemini_webapi.TimeoutError`
|
|
632
632
|
If request timed out.
|
|
633
|
-
`gemini_webapi.
|
|
633
|
+
`gemini_webapi.GeminiError`
|
|
634
634
|
If no reply candidate found in response.
|
|
635
635
|
`gemini_webapi.APIError`
|
|
636
636
|
- If request failed with status code other than 200.
|
|
@@ -25,19 +25,9 @@ class Headers(Enum):
|
|
|
25
25
|
|
|
26
26
|
class Model(Enum):
|
|
27
27
|
UNSPECIFIED = ("unspecified", {}, False)
|
|
28
|
-
G_2_0_FLASH = (
|
|
29
|
-
"gemini-2.0-flash",
|
|
30
|
-
{"x-goog-ext-525001261-jspb": '[1,null,null,null,"f299729663a2343f"]'},
|
|
31
|
-
False,
|
|
32
|
-
)
|
|
33
|
-
G_2_0_FLASH_THINKING = (
|
|
34
|
-
"gemini-2.0-flash-thinking",
|
|
35
|
-
{"x-goog-ext-525001261-jspb": '[null,null,null,null,"7ca48d02d802f20a"]'},
|
|
36
|
-
False,
|
|
37
|
-
) # Deprecated
|
|
38
28
|
G_2_5_FLASH = (
|
|
39
29
|
"gemini-2.5-flash",
|
|
40
|
-
{"x-goog-ext-525001261-jspb": '[1,null,null,null,"
|
|
30
|
+
{"x-goog-ext-525001261-jspb": '[1,null,null,null,"9ec249fc9ad08861"]'},
|
|
41
31
|
False,
|
|
42
32
|
)
|
|
43
33
|
G_2_5_PRO = (
|
|
@@ -45,6 +35,16 @@ class Model(Enum):
|
|
|
45
35
|
{"x-goog-ext-525001261-jspb": '[1,null,null,null,"2525e3954d185b3c"]'},
|
|
46
36
|
False,
|
|
47
37
|
)
|
|
38
|
+
G_2_0_FLASH = (
|
|
39
|
+
"gemini-2.0-flash",
|
|
40
|
+
{"x-goog-ext-525001261-jspb": '[1,null,null,null,"f299729663a2343f"]'},
|
|
41
|
+
False,
|
|
42
|
+
) # Deprecated
|
|
43
|
+
G_2_0_FLASH_THINKING = (
|
|
44
|
+
"gemini-2.0-flash-thinking",
|
|
45
|
+
{"x-goog-ext-525001261-jspb": '[null,null,null,null,"7ca48d02d802f20a"]'},
|
|
46
|
+
False,
|
|
47
|
+
) # Deprecated
|
|
48
48
|
G_2_0_EXP_ADVANCED = (
|
|
49
49
|
"gemini-2.0-exp-advanced",
|
|
50
50
|
{"x-goog-ext-525001261-jspb": '[null,null,null,null,"b1e46a6037e6aa9f"]'},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi/utils/load_browser_cookies.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gemini_webapi-1.12.1 → gemini_webapi-1.12.2}/src/gemini_webapi.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|