返回全部动态
Spring AI 2.0.0-M7 发布:引入 ToolSpec API 并默认 Streamable HTTP
原标题:Spring AI 2.0.0-M7
AI 摘要
Spring AI 发布 2.0.0-M7 里程碑版本,引入 ToolSpec 流式 API,并将 ToolCallAdvisor 设为默认工具调用管理选项,同时弃用 SSE 传输,默认采用 Streamable HTTP 协议。该版本还更新了 Gemini 模型和 Google 客户端库,移除了 CosmosDB 相关组件,并修复了多个 bug,如 OpenAI 流式响应元数据丢失、Kotlin 可空字段在工具输入模式中的处理问题等。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
## :star: New Features - Updated Gemini Models and Google Client Library BOM [#6112](https://github.com/spring-projects/spring-ai/pull/6112) - Sanitize Spring Boot related dependencies [#6088](https://github.com/spring-projects/spring-ai/pull/6088) - Introduce `ToolSpec` fluent API [#6085](https://github.com/spring-projects/spring-ai/pull/6085) - Remove CosmosDB related components from Spring AI [#6080](https://github.com/spring-projects/spring-ai/pull/6080) - Remove `spring-ai-spring-clo
发布时间:2026-05-23 01:02
抓取时间:2026-08-02 00:23
来源机构:Spring