langchain==1.5.0
LangChain 1.5.0 drops support for Python 3.10, raising the minimum requirement to Python 3.11 and langchain-core to 1.8.0, alongside adding model router and auto mode middleware.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
LangChain release 1.5.0 has officially dropped support for Python 3.10 following its end-of-life status. Environments running Python 3.10 will remain on langchain 1.4.x. In addition, the minimum required version of langchain-core has been raised to 1.8.0. Feature additions include the introduction of model router and auto mode middleware, with ModelRouterMiddleware flagged as beta. Documentation has also been updated regarding the Baseten minimum version.
可执行摘要
LangChain 1.5.0 introduces breaking changes: Python 3.10 support is dropped (minimum is now Python 3.11) and minimum langchain-core is bumped to 1.8.0. It also adds ModelRouterMiddleware (marked as beta) and auto mode middleware.
- Agent 实用度
- 94/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade Python environments to at least version 3.11 before upgrading to langchain 1.5.0.
- Update langchain-core dependency to version 1.8.0 or higher.
- Verify compatibility if integrating the newly added ModelRouterMiddleware, noting its beta status.