[控场AI]
概念

HumanInTheLoopMiddleware

LangChain 中用于在 Agent 运行过程中插入人工审批环节的中间件,会在图中添加额外节点

时间轴 (近 90 天)

10月12日

通过 HumanInTheLoopMiddleware 加上审批中间件后,图中会多出第五个节点 HumanInTheLoopMiddleware.after_model。

待验证50%
10月12日

在使用人类审批时,第一次 invoke 会让 agent 暂停,结果中出现 __interrupt__ 键,其 payload 包含 action_requests 和 review_configs。

待验证50%

全部知识事实 (2)

来源文章