mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
Adds provider names to dropdown
This commit is contained in:
committed by
Vignesh Subbiah
parent
aed51a2bc5
commit
31ec687768
@@ -20,7 +20,7 @@ export class UnboundHandler implements ApiHandler {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
body: JSON.stringify({
|
||||
model: this.getModel().id,
|
||||
model: this.getModel().id.split("/")[1],
|
||||
messages: [{ role: "system", content: systemPrompt }, ...messages],
|
||||
}),
|
||||
})
|
||||
|
||||
@@ -599,11 +599,11 @@ export const mistralModels = {
|
||||
|
||||
// Unbound Security
|
||||
export type UnboundModelId = keyof typeof unboundModels
|
||||
export const unboundDefaultModelId = "gpt-4o"
|
||||
export const unboundDefaultModelId = "openai/gpt-4o"
|
||||
export const unboundModels = {
|
||||
"claude-3-5-sonnet-20241022": anthropicModels["claude-3-5-sonnet-20241022"],
|
||||
"gpt-4o": openAiNativeModels["gpt-4o"],
|
||||
"deepseek-chat": deepSeekModels["deepseek-chat"],
|
||||
"deepseek-reasoner": deepSeekModels["deepseek-reasoner"],
|
||||
"codestral-latest": mistralModels["codestral-latest"],
|
||||
"anthropic/claude-3-5-sonnet-20241022": anthropicModels["claude-3-5-sonnet-20241022"],
|
||||
"openai/gpt-4o": openAiNativeModels["gpt-4o"],
|
||||
"deepseek/deepseek-chat": deepSeekModels["deepseek-chat"],
|
||||
"deepseek/deepseek-reasoner": deepSeekModels["deepseek-reasoner"],
|
||||
"mistral/codestral-latest": mistralModels["codestral-latest"],
|
||||
} as const satisfies Record<string, ModelInfo>
|
||||
|
||||
Reference in New Issue
Block a user