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:
|
env:
|
||||||
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
|
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
|
||||||
run: |
|
run: |
|
||||||
# deepseek-v4-pro#max: flagship reasoning model at maximum thinking
|
# deepseek-v4-pro: flagship reasoning model at default thinking
|
||||||
# budget. Requires funds on the opencode account.
|
# budget (cheaper than #max, sharper than flash). Requires funds
|
||||||
# Cheaper fallbacks: opencode/deepseek-v4.1-flash, or remove "#max".
|
# on the opencode account.
|
||||||
|
# Cheaper fallbacks: opencode/deepseek-v4.1-flash, or add "#max".
|
||||||
# Output is redirected (not piped through tee): if opencode fails,
|
# Output is redirected (not piped through tee): if opencode fails,
|
||||||
# the job must fail here so the error log is never posted as a
|
# the job must fail here so the error log is never posted as a
|
||||||
# "review" comment.
|
# "review" comment.
|
||||||
opencode run \
|
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
|
"You are a principal engineer performing a rigorous code review on a
|
||||||
pull request. You have tool access: read repo files for context when
|
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.
|
the diff alone is ambiguous, but review ONLY code changed in this PR.
|
||||||
|
|||||||
Reference in new issue
Block a user