ci: use deepseek-v4-pro at default thinking budget
PR Check / Dockerfile lint (droast) (pull_request) Skipped
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / ESLint (pull_request) Successful in 34s
PR Check / Typecheck (pull_request) Successful in 39s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 5s
PR Check / Dependency audit (pull_request) Successful in 9s
PR Check / AI code review (opencode) (pull_request) Failing after 1m20s
PR Check / Dockerfile lint (droast) (pull_request) Skipped
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / ESLint (pull_request) Successful in 34s
PR Check / Typecheck (pull_request) Successful in 39s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 5s
PR Check / Dependency audit (pull_request) Successful in 9s
PR Check / AI code review (opencode) (pull_request) Failing after 1m20s
#max exceeded the available opencode account funds; the default thinking budget keeps the flagship model at lower cost. #max remains available by re-adding the variant.
This commit is contained in:
1 parent
85c03600ae
commit
7d508a5d9a
1 file changed
+5
-4
@@ -204,14 +204,15 @@ jobs:
|
||||
env:
|
||||
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
|
||||
run: |
|
||||
# deepseek-v4-pro#max: flagship reasoning model at maximum thinking
|
||||
# budget. Requires funds on the opencode account.
|
||||
# Cheaper fallbacks: opencode/deepseek-v4.1-flash, or remove "#max".
|
||||
# deepseek-v4-pro: flagship reasoning model at default thinking
|
||||
# budget (cheaper than #max, sharper than flash). Requires funds
|
||||
# on the opencode account.
|
||||
# Cheaper fallbacks: opencode/deepseek-v4.1-flash, or add "#max".
|
||||
# Output is redirected (not piped through tee): if opencode fails,
|
||||
# the job must fail here so the error log is never posted as a
|
||||
# "review" comment.
|
||||
opencode run \
|
||||
--model opencode/deepseek-v4-pro#max \
|
||||
--model opencode/deepseek-v4-pro \
|
||||
"You are a principal engineer performing a rigorous code review on a
|
||||
pull request. You have tool access: read repo files for context when
|
||||
the diff alone is ambiguous, but review ONLY code changed in this PR.
|
||||
|
||||
Reference in new issue
Block a user