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",
|
"Content-Type": "application/json",
|
||||||
},
|
},
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
model: this.getModel().id,
|
model: this.getModel().id.split("/")[1],
|
||||||
messages: [{ role: "system", content: systemPrompt }, ...messages],
|
messages: [{ role: "system", content: systemPrompt }, ...messages],
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -599,11 +599,11 @@ export const mistralModels = {
|
|||||||
|
|
||||||
// Unbound Security
|
// Unbound Security
|
||||||
export type UnboundModelId = keyof typeof unboundModels
|
export type UnboundModelId = keyof typeof unboundModels
|
||||||
export const unboundDefaultModelId = "gpt-4o"
|
export const unboundDefaultModelId = "openai/gpt-4o"
|
||||||
export const unboundModels = {
|
export const unboundModels = {
|
||||||
"claude-3-5-sonnet-20241022": anthropicModels["claude-3-5-sonnet-20241022"],
|
"anthropic/claude-3-5-sonnet-20241022": anthropicModels["claude-3-5-sonnet-20241022"],
|
||||||
"gpt-4o": openAiNativeModels["gpt-4o"],
|
"openai/gpt-4o": openAiNativeModels["gpt-4o"],
|
||||||
"deepseek-chat": deepSeekModels["deepseek-chat"],
|
"deepseek/deepseek-chat": deepSeekModels["deepseek-chat"],
|
||||||
"deepseek-reasoner": deepSeekModels["deepseek-reasoner"],
|
"deepseek/deepseek-reasoner": deepSeekModels["deepseek-reasoner"],
|
||||||
"codestral-latest": mistralModels["codestral-latest"],
|
"mistral/codestral-latest": mistralModels["codestral-latest"],
|
||||||
} as const satisfies Record<string, ModelInfo>
|
} as const satisfies Record<string, ModelInfo>
|
||||||
|
|||||||
Reference in New Issue
Block a user