diff --git a/litellm/llms/fireworks_ai.py b/litellm/llms/fireworks_ai.py index 7c2d3b72ad..e9caf887ad 100644 --- a/litellm/llms/fireworks_ai.py +++ b/litellm/llms/fireworks_ai.py @@ -99,7 +99,9 @@ class FireworksAIConfig: if value == "required": # relevant issue: https://github.com/BerriAI/litellm/issues/4416 optional_params["tool_choice"] = "any" - + else: + # pass through the value of tool choice + optional_params["tool_choice"] = value elif param in supported_openai_params: if value is not None: optional_params[param] = value