LangChain发布langchain-anthropic 1.7.6,模型配置中声明支持对话中途插入消息
该版本在model profiles中为中转对话能力增加声明,并刷新模型配置数据、升级langgraph-sdk与urllib3依赖。
AI解读:langchain-anthropic 1.7.6是一个补丁版本,主要变化集中在模型配置文件而非接口层。
版本说明称core、anthropic、openai三处共同在model profiles中声明mid-conversation支持,意味着依赖方可通过该配置了解模型是否支持对话中途插入新消息。
依赖升级包括langgraph-sdk从 0.4.2 升至 0.4.4、再升至 0.4.6,以及urllib3从 2.7.0 升至 2.8.0。
版本说明未给出功能效果数据或接口变更示例,mid-conversation的具体行为需以模型配置内容和各模型实际支持为准。
LangChain发布langchain-anthropic 1.7.6,这是 1.7.5 之后的补丁版本。该版本由仓库自动发布记录列出变更,其中一项为在core、anthropic、openai的model profiles中声明mid-conversation支持。
1.7.6 中的功能声明与配置刷新
版本记录显示,本版包含一项功能变更:feat(core,anthropic,openai): declare mid-conversation support in model profiles(#41180)。按该描述,core、anthropic、openai三个位置共同在model profiles中声明对mid-conversation的支持。
另有chore(model-profiles): refresh model profile data(#41145),表示模型配置数据在本次发布中被刷新。
- 声明字段位于model profiles,而不是对话接口本身。
- 涉及范围包括core、anthropic、openai三处。
- 版本记录没有说明mid-conversation在运行时的具体行为或限制。
依赖版本升级
依赖项有三次升级:langgraph-sdk在 /libs/partners/anthropic下从 0.4.2 升到 0.4.4(#41080),随后从 0.4.4 升到 0.4.6(#41101);urllib3从 2.7.0 升到 2.8.0(#40964)。
- langgraph-sdk 0.4.2→0.4.4,0.4.4→0.4.6
- urllib3 2.7.0→2.8.0