mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Adds unbound provider to roo cline
This commit is contained in:
committed by
Vignesh Subbiah
parent
db0ec64d1c
commit
62dcfbe549
@@ -14,6 +14,7 @@ export type ApiProvider =
|
||||
| "deepseek"
|
||||
| "vscode-lm"
|
||||
| "mistral"
|
||||
| "unbound"
|
||||
|
||||
export interface ApiHandlerOptions {
|
||||
apiModelId?: string
|
||||
@@ -57,6 +58,8 @@ export interface ApiHandlerOptions {
|
||||
deepSeekBaseUrl?: string
|
||||
deepSeekApiKey?: string
|
||||
includeMaxTokens?: boolean
|
||||
unboundApiKey?: string
|
||||
unboundModelId?: string
|
||||
}
|
||||
|
||||
export type ApiConfiguration = ApiHandlerOptions & {
|
||||
@@ -593,3 +596,11 @@ export const mistralModels = {
|
||||
outputPrice: 0.9,
|
||||
},
|
||||
} as const satisfies Record<string, ModelInfo>
|
||||
|
||||
// Unbound Security
|
||||
export type UnboundModelId = keyof typeof unboundModels
|
||||
export const unboundDefaultModelId = "gpt-4o"
|
||||
export const unboundModels = {
|
||||
"gpt-4o": openAiNativeModels["gpt-4o"],
|
||||
"claude-3-5-sonnet-20241022": anthropicModels["claude-3-5-sonnet-20241022"],
|
||||
} as const satisfies Record<string, ModelInfo>
|
||||
|
||||
Reference in New Issue
Block a user