fix: use Runner env vars for LLM config instead of secrets
This commit is contained in:
parent
c17de1d21a
commit
3f16fbe8e3
@ -157,11 +157,8 @@ jobs:
|
||||
|
||||
- name: Grade REPORT.md
|
||||
working-directory: ${{ github.workspace }}
|
||||
env:
|
||||
LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
|
||||
LLM_API_URL: ${{ secrets.LLM_API_URL }}
|
||||
LLM_MODEL: ${{ secrets.LLM_MODEL }}
|
||||
run: |
|
||||
# LLM env vars are injected by Runner config (LLM_API_KEY, LLM_API_URL, LLM_MODEL)
|
||||
if [ -f REPORT.md ] && [ -f .llm_rubrics/rubric_report.json ]; then
|
||||
python3 ./.autograde/llm_grade.py \
|
||||
--question "请评估这份后端与系统设计报告" \
|
||||
@ -177,11 +174,8 @@ jobs:
|
||||
|
||||
- name: Grade FRONTEND.md
|
||||
working-directory: ${{ github.workspace }}
|
||||
env:
|
||||
LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
|
||||
LLM_API_URL: ${{ secrets.LLM_API_URL }}
|
||||
LLM_MODEL: ${{ secrets.LLM_MODEL }}
|
||||
run: |
|
||||
# LLM env vars are injected by Runner config (LLM_API_KEY, LLM_API_URL, LLM_MODEL)
|
||||
if [ -f FRONTEND.md ] && [ -f .llm_rubrics/rubric_frontend.json ]; then
|
||||
python3 ./.autograde/llm_grade.py \
|
||||
--question "请评估这份前端界面与交互设计报告" \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user