Spring AI 发布 v2.1.0-RC2
原标题:v2.1.0-RC2
AI 摘要
Spring AI 发布 v2.1.0-RC2,新增 DecisionModel API 及基于决策的 RAG 文档后处理器、DecisionToolIndex 工具搜索等能力,并支持 MCP 2026-07-28 协议修订版。该版本还实现了 OllamaDecisionModel 与 SystemOneDecisionModel,支持流式工具调用参数增量,并将 Anthropic Java SDK 升级至 3.4.0。这些更新增强了 Spring 生态中 AI 应用的决策编排、工具调用与 RAG 处理能力。
正文节选
## :star: New Features - Expose the version-checked append on SessionService [#7314](https://github.com/spring-projects/spring-ai/pull/7314) - Add server support for the MCP 2026-07-28 ("modern") protocol revision [#7284](https://github.com/spring-projects/spring-ai/pull/7284) - Implement OllamaDecisionModel [#7261](https://github.com/spring-projects/spring-ai/pull/7261) - Add DecisionToolIndex for tool search [#7253](https://github.com/spring-projects/spring-ai/pull/7253) - Add decision-