mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-12 23:01:21 +00:00
fix: Update ApiOptions to handle default model ID for codestral URLs
This commit is contained in:
parent
2fa8dc7291
commit
8842497f20
1 changed files with 2 additions and 2 deletions
|
|
@ -314,7 +314,6 @@ const ApiOptions = ({ apiErrorMessage, modelIdErrorMessage, fromWelcomeView }: A
|
|||
placeholder="Enter API Key...">
|
||||
<span style={{ fontWeight: 500 }}>Mistral API Key</span>
|
||||
</VSCodeTextField>
|
||||
|
||||
<p
|
||||
style={{
|
||||
fontSize: "12px",
|
||||
|
|
@ -335,7 +334,8 @@ const ApiOptions = ({ apiErrorMessage, modelIdErrorMessage, fromWelcomeView }: A
|
|||
)}
|
||||
</p>
|
||||
|
||||
{apiConfiguration?.apiModelId?.startsWith("codestral-") && (
|
||||
{(apiConfiguration?.apiModelId?.startsWith("codestral-") ||
|
||||
(!apiConfiguration?.apiModelId && mistralDefaultModelId.startsWith("codestral-"))) && (
|
||||
<div>
|
||||
<VSCodeTextField
|
||||
value={apiConfiguration?.mistralCodestralUrl || ""}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue