跳到主内容
@wquguru
精选85Google GenAI SDK Python(GitHub Releases)AI 编程与模型

Google GenAI Python SDK v2.34.0:弃用 Python 3.10

v2.34.0

原文
发到 X
推荐理由

Python 开发者必读:v2.34.0 移除了对 Python 3.10 的支持,依赖该版本的存量项目必须升级 Python 环境或锁定旧版 SDK,否则将无法安装或运行。

2.34.0 (2026-10-29)

Features

功能特性

  • Add support for continuation_token and requires_continuation status (daac53e)
  • Add support for Python 3.15. (cb1408b)
  • Add video upscale task parameter (0456043)
  • Drop support for Python 3.10 (2677298)
  • interactions: Add automatic_continuation to interactions.create in the Python SDK (c85d5ae)
  • interactions: Declare continuation_ids on Interaction (4bdde3a)
  • Support base_url, api_version and headers in LiveConnectConfig.http_options (c0e9c54)
  • Support video understanding in Gemini Developer API (34b58fd)
  • 添加对 continuation_token 和 requires_continuation 状态的支持 (daac53e)
  • 添加对 Python 3.15 的支持。(cb1408b)
  • 添加视频超分辨率任务参数 (0456043)
  • 放弃对 Python 3.10 的支持 (2677298)
  • interactions:在 Python SDK 的 interactions.create 中添加 automatic_continuation (c85d5ae)
  • interactions:在 Interaction 上声明 continuation_ids (4bdde3a)
  • 在 LiveConnectConfig.http_options 中支持 base_url、api_version 和 headers (c0e9c54)
  • 在 Gemini Developer API 中支持视频理解 (34b58fd)

Bug Fixes

错误修复

  • interactions: Align SDK User-Agent and x-goog-api-client headers (358d249)
  • Resolve PEP 563 string annotations when invoking AFC tools (4650ea1), refs #3156
  • Stop per-request Authorization and X-Server-Timeout from leaking into client default headers (0584c96), refs #3158
  • interactions:对齐 SDK User-Agent 和 x-goog-api-client 标头 (358d249)
  • 调用 AFC 工具时解析 PEP 563 字符串注解 (4650ea1),引用 #3156
  • 防止每个请求的 Authorization 和 X-Server-Timeout 泄露到客户端默认标头中 (0584c96),引用 #3158

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件