Skip to content

Commit 1f716ca

Browse files
committed
Fix ApiOptions to include selectedModelId check for codestral model
1 parent c04aac7 commit 1f716ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webview-ui/src/components/settings/ApiOptions.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,8 @@ const ApiOptions = ({
461461
</p>
462462

463463
{(apiConfiguration?.apiModelId?.startsWith("codestral-") ||
464-
(!apiConfiguration?.apiModelId && mistralDefaultModelId.startsWith("codestral-"))) && (
464+
(!apiConfiguration?.apiModelId && mistralDefaultModelId.startsWith("codestral-")) ||
465+
selectedModelId?.startsWith("codestral-")) && (
465466
<div>
466467
<VSCodeTextField
467468
value={apiConfiguration?.mistralCodestralUrl || ""}

0 commit comments

Comments
 (0)