-
Couldn't load subscription status.
- Fork 2.4k
Sonic -> Grok Code Fast #7426
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
Sonic -> Grok Code Fast #7426
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,19 @@ | ||
| import type { ModelInfo } from "../model.js" | ||
|
|
||
| // Roo provider with single model | ||
| export type RooModelId = "roo/sonic" | ||
| export type RooModelId = "xai/grok-code-fast-1" | ||
|
|
||
| export const rooDefaultModelId: RooModelId = "roo/sonic" | ||
| export const rooDefaultModelId: RooModelId = "xai/grok-code-fast-1" | ||
|
|
||
| export const rooModels = { | ||
| "roo/sonic": { | ||
| "xai/grok-code-fast-1": { | ||
| maxTokens: 16_384, | ||
| contextWindow: 262_144, | ||
| supportsImages: false, | ||
| supportsPromptCache: true, | ||
| inputPrice: 0, | ||
| outputPrice: 0, | ||
| description: | ||
| "A stealth reasoning model that is blazing fast and excels at agentic coding, accessible for free through Roo Code Cloud for a limited time. (Note: prompts and completions are logged by the model creator and used to improve the model.)", | ||
| "A reasoning model that is blazing fast and excels at agentic coding, accessible for free through Roo Code Cloud for a limited time. (Note: the free prompts and completions are logged by xAI and used to improve the model.)", | ||
| }, | ||
| } as const satisfies Record<string, ModelInfo> | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.