返回全部动态

langchain-core 1.5.4 发布:多项修复与兼容性更新

原标题:langchain-core==1.5.4

LangChain Releases一手来源产品发布质量 69

AI 摘要

LangChain 发布了 langchain-core 1.5.4 版本,包含多项修复和兼容性更新。主要修复包括与 pydantic 2.14 的兼容性、StructuredPrompt 不再修改调用方 kwargs、保留 RootModel runnables 的扁平工具参数模式、关闭流式追踪器中内部创建的事件循环,以及处理 BaseTool 子类的注入参数等。此外,还增加了对 OpenAI 文件块的保留、工具参数名称的文档说明,并修复了流式回调选项的编辑问题。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

Changes since langchain-core==1.5.3 release(core): 1.5.4 (#39592) fix(core): compat with pydantic 2.14 (#39328) fix(core): stop StructuredPrompt from mutating caller kwargs (#39174) fix(core): preserve flat tool args schema for `RootModel` runnables (#39307) fix(core): close internally created event loops in streaming tracers (#39222) chore: bump the minor-and-patch group across 3 directories with 7 updates (#39187) fix(core): preserve OpenAI file blocks (#39205) fix(core): document reserved ar


发布时间:2026-08-12 02:03
抓取时间:2026-08-12 02:06
来源机构:LangChain
阅读原文github.com