OpenRouter更新Auto Router功能

Each run calls Auto Router with openrouter/auto, and every result keeps completion.model, so you can...

精选理由

OpenRouter更新了Auto Router,能显示每个提示使用的具体模型,但要注意重试可能重复计费。

AI 摘要

OpenRouter更新了Auto Router功能,每次调用都会使用openrouter/auto路由器。系统会保留completion.model字段,用户可以查看OpenRouter为每个提示选择的模型。开发者需要注意,如果首次请求成功但任务在返回前失败,重试可能会产生重复计费。在生产环境中应添加幂等性处理。

原文 · OpenRouter

Each run calls Auto Router with openrouter/auto, and every result keeps completion.model, so you can...

Each run calls Auto Router with openrouter/auto, and every result keeps completion.model, so you can see which model OpenRouter picked for each prompt. One caveat worth knowing: a retry can repeat a billable call if the first request succeeded but the task failed before returning, so add idempotency for production side effects. 💬 1 🔄 0 ❤️ 0 👀 900 📊 1 ⚡