You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(gemini-review): parametrize model (--model) + adversarial mode (--adversarial) (#29)
liteLLM is provider-agnostic, but the one-shot worker hardcoded
gemini/gemini-3.5-flash + GEMINI_API_KEY. Make the model a flag and route the
required API-key env by provider prefix. Add --adversarial: a devil's-advocate
rubric that challenges design / assumptions / trade-offs instead of approving.
This is the cross-provider + adversarial premise of OpenAI's codex-plugin-cc,
reusing the existing liteLLM architecture — no Codex CLI dependency, no new runtime.
- scripts/gemini-code-review.sh: --model, --adversarial, provider->KEY_ENV map
(gemini/*->GEMINI, openai|gpt*->OPENAI, anthropic|claude-*->ANTHROPIC); proxy
api_key + startup/saved log lines use $MODEL.
- commands/gemini-code-review.md: document the flags + when to use each.
Tested: provider routing (openai model demands OPENAI_API_KEY even with GEMINI
staged), --adversarial end-to-end on a live PR.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: commands/gemini-code-review.md
+21-9Lines changed: 21 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
description: Cheap first-pass code review on Gemini 3.5 Flash (one-shot via liteLLM), curated by the orchestrator against the local repo's CLAUDE.md. Design B — no nested agent.
description: Cheap first-pass code review (one-shot via liteLLM) on a parametrizable model — Gemini 3.5 Flash by default, or any provider via --model; supports --adversarial. Curated by the orchestrator against the local repo's CLAUDE.md. Design B — no nested agent.
0 commit comments