Gemini API Changelog·· 2026-05-06AI 评分46
Gemini API 将迎破坏性变更:Interactions API 请求响应结构与输出格式调整
May 6, 2026
AI 导读
Gemini API 的 Interactions API 将发生破坏性变更,请求与响应结构由 outputs 改为 steps,输出格式配置 response_format 同步调整。新结构于 5 月 26 日成为默认,旧结构于 6 月 8 日移除,官方已提供迁移指南。
正文
- Upcoming breaking change: The Interactions API
request and response schema (
outputs→steps) and output format configuration (response_format) are changing. The new schema becomes the default on May 26 and the legacy schema will be removed on June 8. See the migration guide for details.
来源:Gemini API Changelog · ai.google.dev