mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Adds provider names to dropdown
This commit is contained in:
parent
aed51a2bc5
commit
31ec687768
2 changed files with 7 additions and 7 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue