Adds unbound provider to roo cline

This commit is contained in:
Pugazhendhi
2025-01-22 16:15:25 +05:30
committed by Vignesh Subbiah
parent db0ec64d1c
commit 62dcfbe549
5 changed files with 118 additions and 0 deletions

View File

@@ -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>