google-genai 1.16.0__py3-none-any.whl → 1.16.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.
@@ -502,10 +502,7 @@ async def parse_config_for_mcp_sessions(
502
502
  mcp_to_genai_tool_adapters[function_declaration.name] = (
503
503
  mcp_to_genai_tool_adapter
504
504
  )
505
- if McpClientSession is not None:
506
- parsed_config_copy.tools.extend(
507
- tool
508
- for tool in parsed_config.tools
509
- if not isinstance(tool, McpClientSession)
510
- )
505
+ else:
506
+ parsed_config_copy.tools.append(tool)
507
+
511
508
  return parsed_config_copy, mcp_to_genai_tool_adapters
google/genai/version.py CHANGED
@@ -13,4 +13,4 @@
13
13
  # limitations under the License.
14
14
  #
15
15
 
16
- __version__ = '1.16.0' # x-release-please-version
16
+ __version__ = '1.16.1' # x-release-please-version
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-genai
3
- Version: 1.16.0
3
+ Version: 1.16.1
4
4
  Summary: GenAI Python SDK
5
5
  Author-email: Google LLC <googleapis-packages@google.com>
6
6
  License: Apache-2.0
@@ -5,7 +5,7 @@ google/genai/_api_module.py,sha256=lj8eUWx8_LBGBz-49qz6_ywWm3GYp3d8Bg5JoOHbtbI,9
5
5
  google/genai/_automatic_function_calling_util.py,sha256=qKbPUmMZwUrIadUAnW3FxXTYw4sqUdb6-_Q6r-19ptw,10297
6
6
  google/genai/_base_url.py,sha256=E5H4dew14Y16qfnB3XRnjSCi19cJVlkaMNoM_8ip-PM,1597
7
7
  google/genai/_common.py,sha256=JcRu5Qo5idx1caTEJDw4Li-aJz8UT4KNAqh4N0LTmDw,10573
8
- google/genai/_extra_utils.py,sha256=9obv1NbuGAHvU4OjmNwDkWLlzn8xvim_YIR8gSSPYjg,19375
8
+ google/genai/_extra_utils.py,sha256=_w8hB9Ag7giRR94nIOBJFTLiLEufulPXkCZpJG1XY5g,19241
9
9
  google/genai/_live_converters.py,sha256=eIA72TceXewFWK7tbM-ZSDc6BmxePT47gNYlcCpusPE,112579
10
10
  google/genai/_mcp_utils.py,sha256=pjtKoIseBWwV5-jSjF8ia4bFRUHHRowrrD1WrUSlwEo,3990
11
11
  google/genai/_replay_api_client.py,sha256=DA79UVYNB_osoT27P-amI-U3f2rHM5GmBj0KS2QNE9I,20006
@@ -27,9 +27,9 @@ google/genai/py.typed,sha256=RsMFoLwBkAvY05t6izop4UHZtqOPLiKp3GkIEizzmQY,40
27
27
  google/genai/tokens.py,sha256=g2gxefzN5-36B5qUkLL6MBSe31IgXgW7k_WEstRZypg,12187
28
28
  google/genai/tunings.py,sha256=bmLGBN1EhsDvm-OpHwX3UgNPauG2FUJsq0Z327C6Tmk,49226
29
29
  google/genai/types.py,sha256=KAEeRXsyuuj0VW6-WqI07wEt3z35O6OLCQv2dkoS-GM,426855
30
- google/genai/version.py,sha256=v9rqxnDVnddTyLCxCYl08WEuXV50U8xAES6NFOCrma8,627
31
- google_genai-1.16.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
32
- google_genai-1.16.0.dist-info/METADATA,sha256=sAsqB8_Ytq5-j5U7zSKbUYVGV0MShuRxI5jvGpWixQA,35580
33
- google_genai-1.16.0.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
34
- google_genai-1.16.0.dist-info/top_level.txt,sha256=_1QvSJIhFAGfxb79D6DhB7SUw2X6T4rwnz_LLrbcD3c,7
35
- google_genai-1.16.0.dist-info/RECORD,,
30
+ google/genai/version.py,sha256=sdcw-TeGGq2Qika-y_321x99ICw8rDScGv5bYteyKGE,627
31
+ google_genai-1.16.1.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
32
+ google_genai-1.16.1.dist-info/METADATA,sha256=pyVxs87raJ6qgXvrcpp4Q4NYbRw1dsoAmnn3khG8Epg,35580
33
+ google_genai-1.16.1.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
34
+ google_genai-1.16.1.dist-info/top_level.txt,sha256=_1QvSJIhFAGfxb79D6DhB7SUw2X6T4rwnz_LLrbcD3c,7
35
+ google_genai-1.16.1.dist-info/RECORD,,