feat(ai-code-review): 支援 Antigravity CLI
CI / Release Tag Version (pull_request) Successful in 4s
CI / AI Code Review (pull_request) Failing after 17s

This commit is contained in:
2026-06-27 13:47:44 +00:00
parent 5457e68065
commit 6f997083ef
8 changed files with 60 additions and 12 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ export async function verifyCommentToken(token = GITEA_COMMENT_TOKEN) {
*/
export async function verifyLLM() {
const { provider, command, model } = getLLMConfig();
if (!provider || !command) return { ok: false, error: '未偵測到可用 AI 助理 CLI,請安裝 codex、claude 或 opencode' };
if (!provider || !command) return { ok: false, error: '未偵測到可用 AI 助理 CLI,請安裝 codex、claude、antigravity 或 opencode' };
if (!model) return { ok: false, provider, error: '未設定 MODEL' };
return { ok: true, provider, command, model };
}