fix(opencode): use deepseek flash for code-reviewer agent - #2357
Conversation
|
Warning Indent Zero is shutting down on August 7th. Please migrate over to Indent 2.0 to continue getting PR reviews.
|
|
Warning Review limit reached
Next review available in: 47 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| "code-reviewer": { | ||
| "description": "Reviews code for best practices and potential issues", | ||
| "model": "anthropic/claude-sonnet-4-20250514", | ||
| "model": "shunkakinoki/__DEEPSEEK_FLASH__", |
There was a problem hiding this comment.
Redundant with top-level default: The top-level model at line 3 is already shunkakinoki/__DEEPSEEK_FLASH__, so this per-agent model override resolves to the same value. The code-reviewer agent block only needs to differ from the default via its prompt and tools (which are the meaningful overrides). You can drop this line unless you want to explicitly pin the reviewer's model so it doesn't drift if you change the top-level default later. Same applies to config/opencode/opencode.jsonc:9.
Summary
anthropic/claude-sonnet-4-20250514toshunkakinoki/deepseek-v4-flash__DEEPSEEK_FLASH__placeholder for hydration via models.jsonTest plan
Summary by cubic
Switch the code-reviewer agent to
shunkakinoki/deepseek-v4-flashand introduce__DEEPSEEK_FLASH__in the template for hydration viamodels.json. This avoids Anthropic quota/auth failures that were triggering fallback during reviews.Written for commit 090645b. Summary will update on new commits.