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
This commit is contained in:
Roo Code 2025-08-06 16:45:04 +00:00
parent 2b647ed9a1
commit dcf501f13e

View file

@ -558,10 +558,6 @@ const ApiOptions = ({
</>
)}
{selectedProvider === "fireworks" && (
<Fireworks apiConfiguration={apiConfiguration} setApiConfigurationField={setApiConfigurationField} />
)}
{selectedProviderModels.length > 0 && (
<>
<div>
@ -609,6 +605,10 @@ const ApiOptions = ({
</>
)}
{selectedProvider === "fireworks" && (
<Fireworks apiConfiguration={apiConfiguration} setApiConfigurationField={setApiConfigurationField} />
)}
<ThinkingBudget
key={`${selectedProvider}-${selectedModelId}`}
apiConfiguration={apiConfiguration}