Google Gen AI SDK v2.32.0
Google Gen AI SDK v2.32.0 adds in-session context updates for the Live API, generation output configuration options, base voice support in PromptedVoice, and fixes for tool response bytes encoding and Any-typed JSON parsing.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Google Gen AI SDK v2.32.0 introduces several new features and bug fixes. Key features include adding base voice to PromptedVoice in GAOS SDK, adding generation output config to GenerateContentConfig, introducing Live API in-session context updates ('send context update') with associated types across SDKs, enabling 'fixes.openSingleValueEnumsOct2026' across all SDKs, and updating the discovery document. Bug fixes resolve an issue by base64-encoding inline bytes in Live send tool response, prevent crashes when parsing responses with JSON objects in Any-typed fields, and synchronize the InteractionSseEventInteractionStatus enum with InteractionStatus. Documentation workflows were also updated to publish API references on release using GitHub Actions.
可执行摘要
Google Gen AI SDK v2.32.0 adds Live API in-session context updates ( send context update ), adds generation output config to GenerateContentConfig , introduces base voice to PromptedVoice , base64-encodes inline bytes in Live tool responses, and fixes response parsing crashes for JSON objects in Any-typed fields.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade to Google Gen AI SDK v2.32.0 to access the new Live API in-session context updates.
- Verify tool response payloads in Live API workflows to ensure compatibility with base64-encoded inline bytes.
- Utilize the new generation output configuration in GenerateContentConfig if customized output parameters are needed.