OpenRouter· @OpenRouter · X·· 2 小时前AI 评分42
OpenRouter 用 agent 测试新模型
AI 导读
想知道新模型是否适合你的任务,最好的办法就是在你的任务上实际测试它们。 这里有一个简单的方法,让你的 agent 在 OpenRouter 上通过 generation/content 端点完成这件事。 这个示例使用了特定的 generation id,但你可以用自己选择的日志/追踪方法,轻松地在多个 generation 上运行同样的流程。 注意,你需要在 OpenRouter 设置中开启输入与输出日志记录,这才能生效。
正文 · 原文
The best way to know if you new models will work well for your tasks is to actually test them on your tasks.
Here's an easy way to have your agent do that on OpenRouter with the generation/content endpoint.
This example uses a specific generation id but you can easily run this same process on multiple generations using your logging/tracing method of choice.
Note that you need Input & Output Logging turned on in your OpenRouter settings for this to work.
来源:OpenRouter · x.com