Skip to content

Commit 92bec72

Browse files
committed
fix: restore roo/sonic model definition
1 parent fb262d5 commit 92bec72

File tree

1 file changed

+14
-1
lines changed
  • packages/types/src/providers

1 file changed

+14
-1
lines changed

packages/types/src/providers/roo.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,17 @@ export type RooModelId = "roo/sonic"
55

66
export const rooDefaultModelId: RooModelId = "roo/sonic"
77

8-
export const rooModels = {} as const satisfies Record<string, ModelInfo>
8+
export const rooModels = {
9+
"roo/sonic": {
10+
contextWindow: 200000,
11+
supportsPromptCache: true,
12+
supportsImages: true,
13+
supportsComputerUse: true,
14+
inputPrice: 3.0,
15+
outputPrice: 15.0,
16+
cacheWritesPrice: 3.75,
17+
cacheReadsPrice: 0.3,
18+
description:
19+
"Roo Sonic is a blazing-fast model optimized for coding tasks, offering 200K context, prompt caching, and vision capabilities.",
20+
},
21+
} as const satisfies Record<RooModelId, ModelInfo>

0 commit comments

Comments
 (0)