mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-12 23:01:21 +00:00
parent
07684c017d
commit
ac4eda9450
2 changed files with 12 additions and 3 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import type { ModelInfo } from "../model.js"
|
||||
|
||||
// Roo provider with single model
|
||||
export type RooModelId = "xai/grok-code-fast-1"
|
||||
export type RooModelId = "xai/grok-code-fast-1" | "roo/code-supernova"
|
||||
|
||||
export const rooDefaultModelId: RooModelId = "xai/grok-code-fast-1"
|
||||
|
||||
|
|
@ -16,4 +15,14 @@ export const rooModels = {
|
|||
description:
|
||||
"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.)",
|
||||
},
|
||||
"roo/code-supernova": {
|
||||
maxTokens: 16_384,
|
||||
contextWindow: 200_000,
|
||||
supportsImages: true,
|
||||
supportsPromptCache: true,
|
||||
inputPrice: 0,
|
||||
outputPrice: 0,
|
||||
description:
|
||||
"A versatile agentic coding stealth model that supports image inputs, accessible for free through Roo Code Cloud for a limited time. (Note: the free prompts and completions are logged by the model provider and used to improve the model.)",
|
||||
},
|
||||
} as const satisfies Record<string, ModelInfo>
|
||||
|
|
|
|||
|
|
@ -10,5 +10,5 @@
|
|||
* @returns true if the model should use single file reads
|
||||
*/
|
||||
export function shouldUseSingleFileRead(modelId: string): boolean {
|
||||
return modelId.includes("grok-code-fast-1")
|
||||
return modelId.includes("grok-code-fast-1") || modelId.includes("code-supernova")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue