LangChain4j 1.19.0 发布:支持 MCP 更新、Milvus V2 及 Anthropic 批量模型
原标题:1.19.0 and 1.19.0-beta29
AI 摘要
LangChain4j 发布了 1.19.0 和 1.19.0-beta29 版本,主要更新包括:MCP 客户端更新至 2026-07-28 规范,支持 Milvus V2 服务及混合搜索,新增工具操作补偿机制,以及 AnthropicBatchChatModel 支持 Anthropic Message Batches API。此外,还增加了 watsonx.ai Model Gateway 支持和 google-genai 的思考能力。这些改进增强了框架的集成能力和智能体系统的稳定性。
正文节选
# Notable Changes * MCP client according to 2026-07-28 by @jmartisk in https://github.com/langchain4j/langchain4j/pull/5881 * Update milvus to V2 service & support hybrid search by @yangzho12138 in https://github.com/langchain4j/langchain4j/pull/3311 * Add tool actions compensation at agentic system level by @mariofusco in https://github.com/langchain4j/langchain4j/pull/5823 * Add `AnthropicBatchChatModel` for the Anthropic Message Batches API by @subhashpolisetti in https://github.com/langc