Google Gen AI JS SDK v2.16.0 发布,支持 Gemini Robotics ER 2 预览模型
原标题:v2.16.0
AI 摘要
Google 发布了 Gen AI JavaScript SDK 的 v2.16.0 版本,新增了 Gemini Robotics ER 2 Preview 模型支持,并在 FinishReason 枚举中增加了 TOO_MANY_TOOL_CALLS 值。此外,该版本为 Interaction 资源添加了顶层 errors 数组,并将 HttpOptions.timeout 改为每次尝试的截止时间。同时修复了 Dotnet SDK 中 ResponseSchema 和 ResponseJsonSchema 的 propertyOrdering 自动填充问题。
正文节选
## [2.16.0](https://github.com/googleapis/js-genai/compare/v2.15.0...v2.16.0) (2026-08-06) ### Features * Add the Gemini Robotics ER 2 Preview model ([5647ced](https://github.com/googleapis/js-genai/commit/5647cedfcf3fc5f862b01fb908d6aae267d8bb91)) * Add TOO_MANY_TOOL_CALLS to FinishReason enum. ([a7fa568](https://github.com/googleapis/js-genai/commit/a7fa5683bc86a3edce347f6259fca8face0df3a4)) * Add top-level errors array to Interaction resource (iAPI) ([b9dfd81](https://github.com/googleapis