diff --git a/backend/onyx/llm/chat_llm.py b/backend/onyx/llm/chat_llm.py index fe131fb62b5c..8a16333acfed 100644 --- a/backend/onyx/llm/chat_llm.py +++ b/backend/onyx/llm/chat_llm.py @@ -434,7 +434,17 @@ class DefaultMultiLLM(LLM): # or else OpenAI throws an error **( {"parallel_tool_calls": False} - if tools and self.config.model_name != "o3-mini" + if tools + and self.config.model_name + not in [ + "o3-mini", + "o3-preview", + "o1", + "o1-preview", + "o1-mini", + "o1-mini-2024-09-12", + "o3-mini-2025-01-31", + ] else {} ), # TODO: remove once LITELLM has patched **(