mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: Set default model ID in MistralHandler if not provided
This commit is contained in:
parent
8a5563b520
commit
2fa8dc7291
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ export class MistralHandler implements ApiHandler {
|
|||
}
|
||||
|
||||
private getBaseUrl(): string {
|
||||
const modelId = this.options.apiModelId
|
||||
const modelId = this.options.apiModelId ?? mistralDefaultModelId
|
||||
if (modelId?.startsWith("codestral-")) {
|
||||
return this.options.mistralCodestralUrl || "https://codestral.mistral.ai"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue