产品

LangChain 可为托管深度代理添加自定义中间件

PSA: You can add custom middleware to your Managed Deep Agents. With middleware, you can add behavi...

精选理由

LangChain 新增了自定义中间件功能,能帮你更精细地控制代理的行为,比如在调用模型前做些预处理或后处理,比之前版本更灵活。

LangChain 的托管深度代理现在支持自定义中间件,可以在模型调用、工具调用和代理生命周期等环节添加行为。这能让用户更灵活地控制代理的执行流程。

图片来源 · LangChain
原文 · LangChain

PSA: You can add custom middleware to your Managed Deep Agents. With middleware, you can add behavi...

PSA: You can add custom middleware to your Managed Deep Agents. With middleware, you can add behavior around model calls, tool calls, and the agent lifecycle. Here's a quick demo. Your browser does not support the video tag. 🔗 View on Twitter 💬 1 🔄 1 ❤️ 8 👀 1713 📊 2 ⚡