-
Notifications
You must be signed in to change notification settings - Fork 2.8k
fix(roo): update default model to anthropic/claude-sonnet-4.5 #11145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The previous default model xai/grok-code-fast-1 is no longer available from the Roo Code Cloud /v1/models endpoint. Updated to anthropic/claude-sonnet-4.5 which is an active, non-deprecated model available through the Vercel provider. Fixes EXT-717
Review complete. No issues found. The changes correctly update the default model ID from the deprecated Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
| contextWindow: 262_144, | ||
| supportsImages: false, | ||
| supportsReasoningEffort: true, // Enable reasoning for tests | ||
| "anthropic/claude-sonnet-4.5": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think opus might be a better choice? Could end up being cheaper than sonnet if you use the full 1M token context window that we normally provide in the Roo Code Router.
| outputPrice: 0, | ||
| inputPrice: 3, | ||
| outputPrice: 15, | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we want to add the cache price too
| owned_by: "anthropic", | ||
| name: "Claude Sonnet 4.5", | ||
| description: "Fast coding model", | ||
| context_window: 262144, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess doesn't matter for a test, but these stats don't match
Related GitHub Issue
Closes: EXT-717 (Linear)
Roo Code Task Context (Optional)
https://app.roocode.com/cloud-jobs/BG8ilA3W?utm_source=github-comment&utm_medium=link&utm_campaign=linear.agent.session
Description
The VS Code extension currently defaults the Roo Code router ("roo" provider) to
xai/grok-code-fast-1, but this model is no longer available from the Roo Code Cloud/v1/modelsendpoint (it has been marked as deprecated with a deprecation message).This PR updates the default model to
anthropic/claude-sonnet-4.5, which is an active, non-deprecated model available through the Vercel provider in Roo Code Cloud.Changes:
rooDefaultModelIdinpackages/types/src/providers/roo.tsfromxai/grok-code-fast-1toanthropic/claude-sonnet-4.5Test Procedure
cd src && npx vitest run api/providers/__tests__/roo.spec.ts- all 40 tests passcd src && npx vitest run api/providers/fetchers/__tests__/roo.spec.ts- all 29 tests passpnpm run lintpnpm run check-typesPre-Submission Checklist
Screenshots / Videos
N/A - no UI changes
Documentation Updates
Additional Notes
The deprecated model
xai/grok-code-fast-1is still supported through OpenRouter as a deprecated model, so users who have explicitly configured it will continue to work with a deprecation warning. This change only affects the default when no model is specified.View task on Roo Code Cloud
Important
Update default model for Roo Code router to
anthropic/claude-sonnet-4.5and adjust tests accordingly.rooDefaultModelIdinroo.tsfromxai/grok-code-fast-1toanthropic/claude-sonnet-4.5.roo.spec.tsandfetchers/roo.spec.tsto useanthropic/claude-sonnet-4.5.This description was created by
for 9ec2738. You can customize this summary. It will automatically update as commits are pushed.