hotfix(ci): compact ai review comments and switch to glm-5-turbo

This commit is contained in:
Tam Nhu Tran committed 2026-04-02 01:07:03 -04:00
1 parent f6779a503a
commit 25dddf4707
6 files changed
+160 -93

No files matched your search

+2 -1
View File
@@ -56,7 +56,8 @@ Use only the review contract in this file plus the generated scope and packet fi
- Use `approved_with_notes` when only non-blocking follow-ups remain.
- Use `changes_requested` when any blocking issue remains.
- Fill the structured fields only. The renderer owns the markdown layout.
- Keep `summary` to plain prose only. Do not include the PR title, a separate verdict line, markdown tables, file inventories, or custom section headings there.
- Keep `summary` to plain prose only, ideally 2-4 sentences. Do not include the PR title, a separate verdict line, markdown tables, file inventories, or custom section headings there.
- Keep `overallRationale` to 1 sentence.
- Keep `what`, `why`, and `fix` concise plain text. Do not emit headings, tables, or fenced code blocks inside those fields.
- Use `snippets` only when a short literal excerpt materially clarifies a finding. Keep each snippet under 20 lines, and do not include markdown fences in `code`.
- Use `securityChecklist` for concise review rows about security-sensitive checks. Provide at least 1 row, and use 2-5 when possible. `status` = `pass` | `fail` | `na`.
+5 -5
View File
@@ -196,12 +196,12 @@ jobs:
# GLM API environment for model routing
env:
ANTHROPIC_BASE_URL: https://api.z.ai/api/anthropic
REVIEW_MODEL: glm-5.1
REVIEW_MODEL: glm-5-turbo
ANTHROPIC_AUTH_TOKEN: ${{ secrets.GLM_API_KEY }}
ANTHROPIC_MODEL: glm-5.1
ANTHROPIC_DEFAULT_OPUS_MODEL: glm-5.1
ANTHROPIC_DEFAULT_SONNET_MODEL: glm-5.1
ANTHROPIC_DEFAULT_HAIKU_MODEL: GLM-4.7-FlashX
ANTHROPIC_MODEL: glm-5-turbo
ANTHROPIC_DEFAULT_OPUS_MODEL: glm-5-turbo
ANTHROPIC_DEFAULT_SONNET_MODEL: glm-5-turbo
ANTHROPIC_DEFAULT_HAIKU_MODEL: glm-5-turbo
DISABLE_BUG_COMMAND: '1'
DISABLE_ERROR_REPORTING: '1'
DISABLE_TELEMETRY: '1'