google-genai 0.2.0__py3-none-any.whl → 0.2.1__py3-none-any.whl
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.
- google/genai/__init__.py +1 -1
- google/genai/_api_client.py +2 -2
- {google_genai-0.2.0.dist-info → google_genai-0.2.1.dist-info}/METADATA +1 -1
- {google_genai-0.2.0.dist-info → google_genai-0.2.1.dist-info}/RECORD +7 -7
- {google_genai-0.2.0.dist-info → google_genai-0.2.1.dist-info}/LICENSE +0 -0
- {google_genai-0.2.0.dist-info → google_genai-0.2.1.dist-info}/WHEEL +0 -0
- {google_genai-0.2.0.dist-info → google_genai-0.2.1.dist-info}/top_level.txt +0 -0
google/genai/__init__.py
CHANGED
google/genai/_api_client.py
CHANGED
@@ -51,7 +51,7 @@ class HttpOptions(TypedDict):
|
|
51
51
|
def _append_library_version_headers(headers: dict[str, str]) -> None:
|
52
52
|
"""Appends the telemetry header to the headers dict."""
|
53
53
|
# TODO: Automate revisions to the SDK library version.
|
54
|
-
library_label = f'google-genai-sdk/0.2.
|
54
|
+
library_label = f'google-genai-sdk/0.2.1'
|
55
55
|
language_label = 'gl-python/' + sys.version.split()[0]
|
56
56
|
version_header_value = f'{library_label} {language_label}'
|
57
57
|
if (
|
@@ -200,7 +200,7 @@ class ApiClient:
|
|
200
200
|
_append_library_version_headers(self._http_options['headers'])
|
201
201
|
|
202
202
|
def _websocket_base_url(self):
|
203
|
-
url_parts =
|
203
|
+
url_parts = urlparse(self._http_options['base_url'])
|
204
204
|
return url_parts._replace(scheme='wss').geturl()
|
205
205
|
|
206
206
|
def _build_request(
|
@@ -1,5 +1,5 @@
|
|
1
|
-
google/genai/__init__.py,sha256=
|
2
|
-
google/genai/_api_client.py,sha256=
|
1
|
+
google/genai/__init__.py,sha256=AfCfM5DuvXAhgpzeb3XgTna3xu11Kpom6mSzjUeo91M,674
|
2
|
+
google/genai/_api_client.py,sha256=jtiWyDID-keembuyvSbFeQaxlQXKef75MK-ofhHMny8,15950
|
3
3
|
google/genai/_automatic_function_calling_util.py,sha256=E25_66RH3DbDIucq7x-93XWPPBwB9FnzwD1NCGyPrjM,10242
|
4
4
|
google/genai/_common.py,sha256=Yj5cBkq5QRNFSBqvpB949Rjo7cbIhdtKp5dJxMW_I6I,7971
|
5
5
|
google/genai/_extra_utils.py,sha256=GQZnraFCrMffqrBEpurdcBmgrltRsnYgMizt-Ok6xX8,11098
|
@@ -17,8 +17,8 @@ google/genai/models.py,sha256=t5XgwlgkNrQKb6eww0oBGzjMiMQaj-BQedc8lVdJHz4,154834
|
|
17
17
|
google/genai/pagers.py,sha256=hSHd-gLvEzYWwK85i8EcFNWUMKtszUs7Nw2r3L7d6_U,6686
|
18
18
|
google/genai/tunings.py,sha256=tFTSEaECKZ6xeYcxUTIKUmXqPoDymYP3eyTcEKjnPa4,49010
|
19
19
|
google/genai/types.py,sha256=mIjtCSXbp6CRL5iEhtdxczoMTtyQ1EKYpBlzLvGIedY,263841
|
20
|
-
google_genai-0.2.
|
21
|
-
google_genai-0.2.
|
22
|
-
google_genai-0.2.
|
23
|
-
google_genai-0.2.
|
24
|
-
google_genai-0.2.
|
20
|
+
google_genai-0.2.1.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
21
|
+
google_genai-0.2.1.dist-info/METADATA,sha256=fouiYjPlS5vhJhisQX7M3qJx3yzyn8owWdpsslFtyAc,17371
|
22
|
+
google_genai-0.2.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
23
|
+
google_genai-0.2.1.dist-info/top_level.txt,sha256=_1QvSJIhFAGfxb79D6DhB7SUw2X6T4rwnz_LLrbcD3c,7
|
24
|
+
google_genai-0.2.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|