mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
style(fireworks_ai): format capability fallback
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
2f1da035ae
commit
dad1b13225
1 changed files with 3 additions and 3 deletions
|
|
@ -278,9 +278,9 @@ class FireworksAIConfig(FireworksAIMixin, OpenAIGPTConfig):
|
|||
supported_params.append("tool_choice")
|
||||
|
||||
# Only add reasoning params for models that support it
|
||||
if self._get_model_cost_capability_exact(
|
||||
model=model, capability="supports_reasoning"
|
||||
) or supports_reasoning(model=model, custom_llm_provider="fireworks_ai"):
|
||||
if self._get_model_cost_capability_exact(model=model, capability="supports_reasoning") or supports_reasoning(
|
||||
model=model, custom_llm_provider="fireworks_ai"
|
||||
):
|
||||
supported_params.append("reasoning_effort")
|
||||
supported_params.append("reasoning_history")
|
||||
supported_params.append("thinking")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue