返回全部动态

Google Gen AI Python SDK v2.21.0 发布

原标题:v2.21.0

Google Gen AI Python SDK Releases一手来源API 更新质量 72

AI 摘要

Google 发布了 Gen AI Python SDK 的 v2.21.0 版本,新增了文件下载到磁盘或文件类对象的目标参数、支持 audio/webm MIME 类型、为 GEAP 添加翻译配置支持,以及为 Interactions API 添加视频理解支持。同时修复了 Interactions SDK 中 ProcessingCallStep 和 ProcessingResultStep 的暴露问题。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

## [2.21.0](https://github.com/googleapis/python-genai/compare/v2.20.0...v2.21.0) (2026-08-31) ### Features * Add destination parameter to client.files.download to support streaming downloads to disk or file-like objects ([fcf9e3f](https://github.com/googleapis/python-genai/commit/fcf9e3fe8bdf9cc18a09a7fff3d65742913a6b06)) * Add support for the audio/webm MIME type. ([67ec3d7](https://github.com/googleapis/python-genai/commit/67ec3d75df7ee1bf984e7ae8a6d45894579375d1)) * Add translation_config


发布时间:2026-09-01 05:07
抓取时间:2026-09-01 05:08
来源机构:Google
阅读原文github.com