We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a5563b commit 2fa8dc7Copy full SHA for 2fa8dc7
src/api/providers/mistral.ts
@@ -35,7 +35,7 @@ export class MistralHandler implements ApiHandler {
35
}
36
37
private getBaseUrl(): string {
38
- const modelId = this.options.apiModelId
+ const modelId = this.options.apiModelId ?? mistralDefaultModelId
39
if (modelId?.startsWith("codestral-")) {
40
return this.options.mistralCodestralUrl || "https://codestral.mistral.ai"
41
0 commit comments