OpenRouter Decisions API 支持自动检测智能体死循环
OpenRouter 出了个 Decisions API,能自动发现你的智能体在死循环,到阈值就自动掐掉或提醒,写 Agent 的可以省不少 token 钱。
OpenRouter 的 Decisions API 新增智能体循环检测功能,可在智能体卡死时按用户设定的阈值自动执行 halt(中止)或 nudge(提醒)操作。官方同步发布了配套的 cookbook 文档。该功能面向使用 OpenRouter 路由多模型的智能体开发者,用于降低失控调用的 token 消耗。
Classify: use the Decisions API to automatically detect an agent stuck in a loop, and halt or nudge it on thresholds you set. openrouter.ai/docs/cookbook/… 💬 0 🔄 0 ❤️ 0 👀 182 ⚡