LangChain发布langchain-anthropic 1.7.4:支持对话中通过SystemMessage更换工具
该版本在anthropic与openai集成中新增“对话中途更换工具”能力,并为Opus 5.5和GPT-6增加profile增强,同时修复了集成测试磁带。
AI解读:这次更新最值得注意的是“对话中途换工具”:在anthropic和openai两个集成里,可以通过SystemMessage在对话进行中改变可用工具,而不必每条消息都固定同一套工具。
另一个变化是为Opus 5.5和GPT-6增加了profile增强,说明LangChain正在跟进这两个新模型的参数或能力配置。此外版本还修复了集成测试磁带,属于维护性改动。
LangChain发布了langchain-anthropic==1.7.4。
根据发布说明,该版本在anthropic和openai集成中新增了“对话中途更换工具”的能力,通过SystemMessage实现。
同一版本还为Opus 5.5和GPT-6增加了profile增强,并修复了集成测试磁带。
1.7.4 相比 1.7.3 的具体改动
发布说明列出的变更包括:chore(anthropic): fix integration test cassette(#40790);release(anthropic): 1.7.4(#40786);fix(anthropic): add Opus 5.5 and GPT-6 profile augmentations(#40785);feat(anthropic,openai): mid-conversation tool changes on SystemMessage(#40758)。
- feat(anthropic,openai): mid-conversation tool changes on `SystemMessage`(#40758)
- fix(anthropic): add Opus 5.5 and GPT-6 profile augmentations(#40785)
- chore(anthropic): fix integration test cassette(#40790)
- release(anthropic): 1.7.4(#40786)