google-genai 1.31.0__py3-none-any.whl → 1.33.0__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/version.py CHANGED
@@ -13,4 +13,4 @@
13
13
  # limitations under the License.
14
14
  #
15
15
 
16
- __version__ = '1.31.0' # x-release-please-version
16
+ __version__ = '1.33.0' # x-release-please-version
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-genai
3
- Version: 1.31.0
3
+ Version: 1.33.0
4
4
  Summary: GenAI Python SDK
5
5
  Author-email: Google LLC <googleapis-packages@google.com>
6
6
  License: Apache-2.0
@@ -183,7 +183,7 @@ Then, you can pass it through the following way:
183
183
 
184
184
  http_options = types.HttpOptions(
185
185
  client_args={'proxy': 'socks5://user:pass@host:port'},
186
- async_client_args={'proxy': 'socks5://user:pass@host:port'},,
186
+ async_client_args={'proxy': 'socks5://user:pass@host:port'},
187
187
  )
188
188
 
189
189
  client=Client(..., http_options=http_options)
@@ -388,7 +388,7 @@ The SDK converts all non function call parts into a content with a `user` role.
388
388
  [
389
389
  types.UserContent(parts=[
390
390
  types.Part.from_uri(
391
- file_uri: 'gs://generativeai-downloads/images/scones.jpg',
391
+ file_uri: 'gs://generativeai-downloads/images/scones.jpg',
392
392
  mime_type: 'image/jpeg',
393
393
  )
394
394
  ])
@@ -824,10 +824,10 @@ user_profile = {
824
824
 
825
825
  response = client.models.generate_content(
826
826
  model='gemini-2.0-flash',
827
- contents='Give me information of the United States.',
827
+ contents='Give me a random user profile.',
828
828
  config={
829
829
  'response_mime_type': 'application/json',
830
- 'response_json_schema': userProfile
830
+ 'response_json_schema': user_profile
831
831
  },
832
832
  )
833
833
  print(response.parsed)
@@ -1588,7 +1588,7 @@ batch_job = client.batches.create(
1588
1588
  }],
1589
1589
  "role": "user",
1590
1590
  }],
1591
- "config:": {"response_modalities": ["text"]},
1591
+ "config": {"response_modalities": ["text"]},
1592
1592
  }],
1593
1593
  )
1594
1594
 
@@ -1,35 +1,39 @@
1
1
  google/genai/__init__.py,sha256=SKz_9WQKA3R4OpJIDJlgssVfizLNDG2tuWtOD9pxrPE,729
2
2
  google/genai/_adapters.py,sha256=Kok38miNYJff2n--l0zEK_hbq0y2rWOH7k75J7SMYbQ,1744
3
- google/genai/_api_client.py,sha256=N9E_4oazw93NDpbQ3kJZ50m10cN2ssDFBM2gY44Ox-Q,60213
3
+ google/genai/_api_client.py,sha256=zk-X1JnZ2C5dwe9Huqwtdd8LGdrIfZP3ILR_vQcu9oI,61269
4
4
  google/genai/_api_module.py,sha256=lj8eUWx8_LBGBz-49qz6_ywWm3GYp3d8Bg5JoOHbtbI,902
5
5
  google/genai/_automatic_function_calling_util.py,sha256=xXNkJR-pzSMkeSXMz3Jw-kMHFbTJEiRJ3wocuwtWW4I,11627
6
+ google/genai/_base_transformers.py,sha256=wljA6m4tLl4XLGlBC2DNOls5N9-X9tffBq0M7i8jgpw,1034
6
7
  google/genai/_base_url.py,sha256=E5H4dew14Y16qfnB3XRnjSCi19cJVlkaMNoM_8ip-PM,1597
7
8
  google/genai/_common.py,sha256=SmBlz7AQZbKbT8KE5vsvK5Iz1OaRwHF6J51KDJBbjMo,19936
8
9
  google/genai/_extra_utils.py,sha256=6mxUnbwKkrAJ9zR8JP4nCKuA0F1BFqAc2t5mzdAONxk,20603
9
10
  google/genai/_live_converters.py,sha256=brba9Wk_ljc8auy8w0n49dZXYHTBYhegKQcnjr89QgM,101812
11
+ google/genai/_local_tokenizer_loader.py,sha256=cGN1F0f7hNjRIGCGTLeox7IGAZf_YcvZjSp2rCyhUak,7465
10
12
  google/genai/_mcp_utils.py,sha256=HuWJ8FUjquv40Mf_QjcL5r5yXWrS-JjINsjlOSbbyAc,3870
11
- google/genai/_replay_api_client.py,sha256=MRUxUWCC9PoTk-NxsK3rGB8yw8cCrUa8ZeTVU3oEguw,21729
13
+ google/genai/_operations_converters.py,sha256=I1b46qhGCeB5uHNuyrMxpFqmzWuvSFQ5pS52csd1J4E,9080
14
+ google/genai/_replay_api_client.py,sha256=hXs5NuCpcZU-e6rfeWBStZmF33_2vn1dAo3NeTA8P2o,22413
12
15
  google/genai/_test_api_client.py,sha256=4ruFIy5_1qcbKqqIBu3HSQbpSOBrxiecBtDZaTGFR1s,4797
13
16
  google/genai/_tokens_converters.py,sha256=jPHlskl303A63uEshdwLeSSOls9kuNO1WMY5NAYF5U0,24382
14
- google/genai/_transformers.py,sha256=fKojZKVNzkfEAitK2NnNa648QNRZGSbJdix2llmpRds,39315
17
+ google/genai/_transformers.py,sha256=Kfo6LP3HoCco2E9EQYnRyElgOSBXZ_SKI-Spx3AwUWw,38917
15
18
  google/genai/batches.py,sha256=1YIkibVzEX0p_va2kfNL3tc-X7Id13whWuhKto0mch8,87774
16
- google/genai/caches.py,sha256=B2pnXRDDvPUUI8Vb_u7Bti8xCbcMsCj0ZPdhS9VJB_A,65953
19
+ google/genai/caches.py,sha256=6Y3D2qSwlvX8CunOiJRcRWtaiFP0r-9oMcyqnegC7Sc,66451
17
20
  google/genai/chats.py,sha256=pIBw8d13llupLn4a7vP6vnpbzDcvCCrZZ-Q2r8Cvo7g,16652
18
21
  google/genai/client.py,sha256=wXnfZBSv9p-yKtX_gabUrfBXoYHuqHhzK_VgwRttMgY,10777
19
22
  google/genai/errors.py,sha256=GlEvypbRgF3h5BxlocmWVf-S9kzERA_lwGLCMyAvpcY,5714
20
- google/genai/files.py,sha256=9Crf4Zc2AXV8ArcqJyWz21roqZgZe1WDON7tVvuY_M0,40155
23
+ google/genai/files.py,sha256=T8uDgqCQheFwYYYJdN4lax4NOR_q6bJyr0jQf079VeE,40607
21
24
  google/genai/live.py,sha256=BUyIOt-PON4SuJtKXA6l3ujzA3GUbYWMGSgZvsyKjrg,39674
22
25
  google/genai/live_music.py,sha256=3GG9nsto8Vhkohcs-4CPMS4DFp1ZtMuLYzHfvEPYAeg,6971
23
- google/genai/models.py,sha256=NFiRUFrVZX-4v6OGBNV2XAmq56XUMdBhsWWPwLEo_qw,265850
26
+ google/genai/local_tokenizer.py,sha256=HpQk8toJFGvRozdyboOhdAFDOFAiZ07IdXeGiR25nSM,13252
27
+ google/genai/models.py,sha256=RxGIm7dmgE4I-4yru835VrJ3MuN5mz-OaRcTrFfefKI,264975
24
28
  google/genai/operations.py,sha256=Ccm4EW13cT_EtCq8Fa3n8jlQySyy9KqJ98ZK4pF0DDA,12815
25
29
  google/genai/pagers.py,sha256=m0SfWWn1EJs2k1On3DZx371qb8g2BRm_188ExsicIRc,7098
26
30
  google/genai/py.typed,sha256=RsMFoLwBkAvY05t6izop4UHZtqOPLiKp3GkIEizzmQY,40
27
31
  google/genai/tokens.py,sha256=8RbZ0kgvyKT3SwbgIUOHr6TTZL24v4fqYarhlA8r1ac,12503
28
- google/genai/tunings.py,sha256=SHEC6xVJZqtXab6wO3wMZXnsJAPQLbSP8GqlIi6fBZI,59189
29
- google/genai/types.py,sha256=iFjMmoPDXVftggQogS7GPlSIHb_8sgv3tI9c1jh73Fc,525959
30
- google/genai/version.py,sha256=7b7aQpjR7ivb6hA22klU4DIv6T4QZe-0MUidn-gZdWY,627
31
- google_genai-1.31.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
32
- google_genai-1.31.0.dist-info/METADATA,sha256=6ASzgT3QxPTtY3mwRh5FK1BoWmZEObYxZzHPUdxmul8,43091
33
- google_genai-1.31.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
34
- google_genai-1.31.0.dist-info/top_level.txt,sha256=_1QvSJIhFAGfxb79D6DhB7SUw2X6T4rwnz_LLrbcD3c,7
35
- google_genai-1.31.0.dist-info/RECORD,,
32
+ google/genai/tunings.py,sha256=vVV9NvrtzoWDLzcTLSrgD5lzFeSRJdCB1QtfzL3yj3c,63275
33
+ google/genai/types.py,sha256=UcWcyrKlKgbfumHluov2G8UsOoq6bnWDKQJIfKifuv8,531058
34
+ google/genai/version.py,sha256=t_FYlWqCnBvBCPieE9c3vw6-ven4MXsOqgsxhMq9U0c,627
35
+ google_genai-1.33.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
36
+ google_genai-1.33.0.dist-info/METADATA,sha256=C4_2IQgzIZ77LF1Vpl2VKdoL8Xx2KCy3ni8COdjvalI,43080
37
+ google_genai-1.33.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
38
+ google_genai-1.33.0.dist-info/top_level.txt,sha256=_1QvSJIhFAGfxb79D6DhB7SUw2X6T4rwnz_LLrbcD3c,7
39
+ google_genai-1.33.0.dist-info/RECORD,,