返回全部动态
Google Gen AI JavaScript SDK 发布 v2.30.0
原标题:v2.30.0
AI 摘要
Google 发布 Gen AI JavaScript SDK v2.30.0,新增 gemini-4-argon 模型枚举,并修复了自动续写场景下的多个问题,包括续写跳转无候选时清理状态并保留 prompt feedback、修正 generate content 及流式生成中 grounding metadata 的合并逻辑、让续写流重试丢失的跳转并在 prompt_feedback 时停止、以及用公开可导入的名称标注 GeminiNextGen 签名。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
## [2.30.0](https://github.com/googleapis/js-genai/compare/v2.29.1...v2.30.0) (2026-10-14) ### Features * **interactions:** add gemini-4-argon to Model enum ([8a3c307](https://github.com/googleapis/js-genai/commit/8a3c3074a6688cc12c9f30c2366089cd94622fd6)) ### Bug Fixes * clear continuation state and preserve prompt feedback when continuation hop returns no candidates ([e63d1f1](https://github.com/googleapis/js-genai/commit/e63d1f184811ac2ddec2a17e206e5a6c1c79ed6e)) * fix the grounding met
发布时间:2026-10-15 07:48
抓取时间:2026-10-15 08:01
来源机构:Google