@@ -500,6 +500,15 @@ func getProviderOptions(model Model, providerCfg config.ProviderConfig) fantasy.
500 "type": "disabled",
500 "type": "disabled",
503+ case string(catwalk.InferenceProviderFireworks):
504+ // NOTE: Fireworks break if we set both `reasoning_effort` and `thinking`.
505+ if model.ModelCfg.ReasoningEffort == "" {
506+ if model.ModelCfg.Think {
507+ extraBody["thinking"] = map[string]any{"type": "enabled"}
509+ extraBody["thinking"] = map[string]any{"type": "disabled"}
503 case string(catwalk.InferenceProviderAlibabaSingapore):
512 case string(catwalk.InferenceProviderAlibabaSingapore):
504 if model.CatwalkCfg.CanReason {
513 if model.CatwalkCfg.CanReason {
505 extraBody["enable_thinking"] = model.ModelCfg.Think
514 extraBody["enable_thinking"] = model.ModelCfg.Think