From bcac6c3affbc015e6fa65383b2d8319b67dc443f Mon Sep 17 00:00:00 2001 From: Bagatur <22008038+baskaryan@users.noreply.github.com> Date: Fri, 21 Jun 2024 16:52:52 -0700 Subject: [PATCH] openai[patch]: temp fix ignore lint (#23290) --- libs/partners/openai/langchain_openai/chat_models/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/partners/openai/langchain_openai/chat_models/base.py b/libs/partners/openai/langchain_openai/chat_models/base.py index 2927427951..bfa293b446 100644 --- a/libs/partners/openai/langchain_openai/chat_models/base.py +++ b/libs/partners/openai/langchain_openai/chat_models/base.py @@ -909,7 +909,8 @@ class BaseChatOpenAI(BaseChatModel): kwargs["tool_choice"] = tool_choice return super().bind(tools=formatted_tools, **kwargs) - @overload + # TODO: Fix typing. + @overload # type: ignore[override] def with_structured_output( self, schema: Optional[_DictOrPydanticClass] = None,