Knowledge File / AI技能杠杆
LangChain Core 1.5.5 版本发布
LangChain Core 1.5.5 发布多项修复,涵盖批处理一致性、Pydantic别名验证、chunk合并、异步模型验证等,并新增httpx显式依赖。
SOURCE / AI技能杠杆
MIN / 4
ACCESS / 会员
POST / 2026-08-15 02:56:43
原贴
查看原文原文
Changes since langchain-core==1.5.4 release(core): 1.5.5 ( #39655 ) fix(core): make abatch_iterate consistent with batch_iterate for None and zero size ( #39367 ) fix(core): respect pydantic aliases when validating tool inputs ( #39572 ) fix(core): issues in merging chunks ( #39535 ) fix(core): handle v1 base model validation in async path ( #39576 ) fix(core): handle tool descriptions for infer_schema=False ( #39573 ) fix(core): clear usage metadata callback on exceptions in context manager ( #39616 ) fix(core): handle falsy LLM and chat model caches ( #39283 ) chore(core): add httpx as an explicit dep ( #39612 ) fix(core): preserve non-str/non-dict items in DictPromptTemplate list values ( #39588 ) fix(core): raise ValueError when explicit tool_outputs length mismatches tool_calls in tool_example_to_messages ( #39142 ) fix(core): guard malformed Anthropic content blocks ( #38670 )
中文翻译
自 langchain-core==1.5.4 以来的变更
- 修复(core): 使 abatch_iterate 在 None 和零大小情况下与 batch_iterate 保持一致 (#39367)
- 修复(core): 验证工具输入时尊重 Pydantic 别名 (#39572)
- 修复(core): 合并 chunk 时的问题 (#39535)
- 修复(core): 在异步路径中处理 v1 基础模型验证 (#39576)
- 修复(core): 处理 infer_schema=False 时的工具描述 (#39573)
- 修复(core): 在上下文管理器中的异常情况下清除 usage 元数据回调 (#39616)
- 修复(core): 处理 falsy 的 LLM 和聊天模型缓存 (#39283)
- 重构(core): 添加 httpx 作为显式依赖 (#39612)
- 修复(core): 在 DictPromptTemplate 列表值中保留非字符串/非字典项 (#39588)
- 修复(core): 当显式 tool_outputs 长度与 tool_example_to_messages 中的 tool_calls 不匹配时引发 ValueError (#39142)
- 修复(core): 防御格式错误的 Anthropic content blocks (#38670)
核心信息
LangChain Core 1.5.5 发布多项修复,涵盖批处理一致性、Pydantic别名验证、chunk合并、异步模型验证等,并新增httpx显式依赖。
- LangChain Core 1.5.5 发布多项修复,涵盖批处理一致性、Pydantic别名验证、chunk合并、异步模型验证等,并新增httpx显式依赖。
- 原贴提到:Changes since langchain-core==1.5.4 release(core): 1.5.5 ( #39655 ) fix(
- 来源:github.com
试看内容
成为会员查看完整内容
你已经看到了这篇内容的前置整理,剩余深度部分仅对会员开放。
详细解读
信息差价值
参考来源
成为会员查看完整内容