Google Gen AI Python SDK 发布 v3.7.0
* 添加 stream_function_call_arguments 改为: GenerationConfig (130b593)
## [3.7.0](https://github.com/googleapis/python-genai/compare/v3.6.1...v3.7.0) (2026-12-02) ### 特征 * 添加 `stream_function_call_arguments` 改为: `GenerationConfig` ([130b593](https://github.com/googleapis/python-genai/commit/130b59304aa184d35aecd7533b9ee7373c969b36)) * 添加 `SystemInputStep` 用于互动的 API ([26e7c22](https://github.com/googleapis/python-genai/commit/26e7c223c81c8901c60883d14c1e5d9ee7c456ee)) * 添加 `text_normalization` 改为: `SpeechConfig` (Gemini API). (中文(简体) ).[a6ad785 (中文(简体) ).](https://github.com/googleapis/python-genai/commit/a6ad78555367b38ec720d34fa04ab116a012208b)) * 添加代理模板( E)`client.agents.templates`和(或) `agents.update` 用于GenAI SDKs([97f9c63](https://github.com/googleapis/python-genai/commit/97f9c631465db800e953380d7de2f825b3beda92)) * 添加客户端.is_default_api_version 以检测未配置的 API 版本([8d39b5f](https://github.com/googleapis/python-genai/commit/8d39b5f5597cf7ba57cc04331c376498f3829e7a)) * **环境:** 在双子座平台上曝光CreateEnvironmentRequest.env(英语:[074f507](https://github.com/googleapis/python-genai/commit/074f5070edfe1d93c675a01e2457b16c0b4d53ac)) * **互动 :** 处理交互. requires_ reconnection on clean close () 操作交互.[915f05c](https://github.com/googleapis/python-genai/commit/915f05c89c758c05d27dda8c87fe2bcfe36c413b)) * 在双子座平台上支持服务器侧工具引用( S)[3c890e9](https://github.com/googleapis/python-genai/commit/3c890e9896cdc3134d5f514cb3d9688575b1479a)) ### 错误修正 * 当env API 密钥未使用时, 避免虚假的 GOOGLE_API_KEY 警告 ([d519d95](https://github.com/googleapis/python-genai/commit/d519d958d13f135c5b3b85d5d5e0073ec2b2210e)) * 默认 AuthorizedSession 响应时未设置 UTF-8 的字符,并对 aiohttp SSE 解码([5a7d7f0](https://github.com/googleapis/python-genai/commit/5a7d7f0da5c85b7f2b9e5bb8039601073de4d0cc)) * **local_tokenizer:** 在不支持的模型错误消息中包含 Hugging Face 代码化器模型 ([3a01abbf (中文(简体) ).](https://github.com/googleapis/python-genai/commit/3a01abf80df8a3f81afb987dea035d4eac33d3a3)) * 在自动函数调用时将函数调用 ID 传递给函数响应 ()[feb88ba (法语)](https://github.com/googleapis/python-genai/commit/feb88bae41da45e0451606266212ac139fc359f2)页:1 [#3192](https://github.com/googleapis/python-genai/issues/3192) * 在 HttpRetryOptions 下重试 aiohttp 超时和包裹的google-auth 传输错误([1026f1f](https://github.com/googleapis/python-genai/commit/1026f1f4fdcc579e6ec423c8b30228fb702d14dc)页:1 [#3329](https://github.com/googleapis/python-genai/issues/3329) * 序列化 推迟的 Pydantic 模型构建以固定一个多条首选使用种族([ba539e0 (韩语)](https://github.com/googleapis/python-genai/commit/ba539e07d84301ba005ead8fc50ed51021ee7887)页:1 [#2991](https://github.com/googleapis/python-genai/issues/2991) * 停止深复制 MCP 会话工具在 ASync generate_content ()[10f479b](https://github.com/googleapis/python-genai/commit/10f479b29a9696555964b2664b8127b6d0b4fa90)页:1 [#2669](https://github.com/googleapis/python-genai/issues/2669) ### 文档 * 描述 API 操作 , 而非 RPC 名称 ([a8b851b](https://github.com/googleapis/python-genai/commit/a8b851b4714663901cf42705b38f3f9ce4480fa8)) * 与 API 相互作用 领导 README 并添加一个经过测试的快速启动([c299244](https://github.com/googleapis/python-genai/commit/c2992447f97d06fdb31ae7c2ca73fc166e8ffca0)) * 以最新的双子座模型和双子座平台命名更新 README ()[2d4bb18 (英语).](https://github.com/googleapis/python-genai/commit/2d4bb1864ec312dec880b0594e2376fbb7b79786)) * 更新新的品牌名称( E) :[(单位:千美元)](https://github.com/googleapis/python-genai/commit/af2601091e5579fe256c405627afbe82a1d54531))
查看原始来源