fix: update README for OpenRouter API compatibility and add tests for LLM configuration

This commit is contained in:
2026-05-12 03:04:12 +00:00
parent f8e24844e8
commit 4b382b4183
3 changed files with 108 additions and 7 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ jobs:
- name: AI Code Review
uses: https://gitea.jsc.idv.tw/jiantw83/code-review@${{ vars.ACTION_CODE_REVIEW_VERSION }}
with:
OPENAI_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENROUTER_API_KEY }} # OpenRouter 使用 OpenAI 相容介面,以 OPENAI_API_KEY 傳入
OPENAI_BASE_URL: https://openrouter.ai/api/v1
permissions:
contents: write