Skip to content

Commit dcf501f

Browse files
committed
fix: enable model selection dropdown for Fireworks AI provider
- Move Fireworks component rendering to after model dropdown section - This allows users to see all available Fireworks models - Users can now select custom models by typing in the search field - Fixes #6753
1 parent 2b647ed commit dcf501f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -558,10 +558,6 @@ const ApiOptions = ({
558558
</>
559559
)}
560560

561-
{selectedProvider === "fireworks" && (
562-
<Fireworks apiConfiguration={apiConfiguration} setApiConfigurationField={setApiConfigurationField} />
563-
)}
564-
565561
{selectedProviderModels.length > 0 && (
566562
<>
567563
<div>
@@ -609,6 +605,10 @@ const ApiOptions = ({
609605
</>
610606
)}
611607

608+
{selectedProvider === "fireworks" && (
609+
<Fireworks apiConfiguration={apiConfiguration} setApiConfigurationField={setApiConfigurationField} />
610+
)}
611+
612612
<ThinkingBudget
613613
key={`${selectedProvider}-${selectedModelId}`}
614614
apiConfiguration={apiConfiguration}

0 commit comments

Comments
 (0)