# OpenRouter 教程：如何在 CI 中用 LLM eval 门禁拦截 Pull Request

- 来源：AI HOT · 技巧与观点
- 发布时间：2026-10-01T00:00:00.000Z
- AX AI 日报：https://ai-daily.ax0x.ai/items/fbb7mpef0y6kgl7fjcai3r53w
- 原文：https://openrouter.ai/blog/tutorials/how-to-gate-pull-requests-on-llm-evals-in-ci/

## 摘要

OpenRouter 发布教程，介绍如何用固定 eval 集在 CI 中拦截 Pull Request：把测试用例与提示词放在同一仓库，用脚本调用 OpenRouter 打分，通过率低于阈值时以非零退出码让任务失败。
