跳到正文
原文
OpenRouter Blog·· 2026-05-08AI 评分40

OpenRouter Agent SDK 新增 human-in-the-loop 工具类型

Human-in-the-Loop Tools for the Agent SDK

AI 导读

OpenRouter 的 Agent SDK 新增第四种工具类型 human-in-the-loop(HITL),通过 onToolCalled 钩子按输入决定自动执行还是暂停等待人工确认,安装命令为 npm install @openrouter/agent。

来源:OpenRouter Blog · openrouter.ai