diff --git a/libs/partners/openai/langchain_openai/chat_models/base.py b/libs/partners/openai/langchain_openai/chat_models/base.py index f9a0e9ad5df..31dfa0ea219 100644 --- a/libs/partners/openai/langchain_openai/chat_models/base.py +++ b/libs/partners/openai/langchain_openai/chat_models/base.py @@ -1489,7 +1489,7 @@ class BaseChatOpenAI(BaseChatModel): llm = self.bind(response_format=response_format) else: bind_kwargs = self._filter_disabled_params( - strict=strict, + strict=True, tool_choice=tool_choice, response_format=response_format, )