Agent SDK:在 OpenRouter 上构建多轮智能体工作流
Agent SDK: Building Multi-turn Agent Workflows on OpenRouter
AI 导读OpenRouter 发布 Agent SDK,其核心是 callModel 函数。该函数可将一次聊天完成转化为具备工具调用、停止条件与成本追踪功能的多步骤智能体工作流。这一工具兼容平台上的 300 多个模型,使开发者能够便捷地构建复杂的多轮交互智能体应用。
来源:OpenRouter:Announcements · openrouter.ai