ci: switch AI review to deepseek-v4-pro
PR Check / Dockerfile lint (droast) (pull_request) Skipped
PR Check / ESLint (pull_request) Successful in 34s
PR Check / Typecheck (pull_request) Successful in 37s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 5s
PR Check / Dependency audit (pull_request) Successful in 9s
PR Check / Security scan (Snyk) (pull_request) Failing after 1s
PR Check / AI code review (opencode) (pull_request) Successful in 7s

Replace anthropic/claude-sonnet-4-5 with opencode/deepseek-v4-pro for
a large cost reduction while keeping thorough, high-effort reviews.
Documented cheaper fallback: deepseek-v4.1-flash(-free).
This commit is contained in:
Noel Sabia committed 2026-10-18 15:54:38 +02:00
1 parent 390538f2e8
commit affd17f068
1 file changed
+4 -1
+4 -1
View File
@@ -182,8 +182,11 @@ jobs:
env: env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
run: | run: |
# deepseek-v4-pro: DeepSeek's flagship reasoning model - much
# cheaper than claude-sonnet while still thorough for reviews.
# Cheap alternative: opencode/deepseek-v4.1-flash (or -free)
opencode run \ opencode run \
--model anthropic/claude-sonnet-4-5 \ --model opencode/deepseek-v4-pro \
"You are a strict but pragmatic code reviewer for a pull request. "You are a strict but pragmatic code reviewer for a pull request.
Review ONLY the diff provided in /tmp/pr.diff. Fetch surrounding files Review ONLY the diff provided in /tmp/pr.diff. Fetch surrounding files
if you need context from the repo. if you need context from the repo.