openai[patch]: temp fix ignore lint (#23290)

This commit is contained in:
Bagatur 2024-06-21 16:52:52 -07:00 committed by GitHub
parent efb4c12abe
commit bcac6c3aff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -909,7 +909,8 @@ class BaseChatOpenAI(BaseChatModel):
kwargs["tool_choice"] = tool_choice kwargs["tool_choice"] = tool_choice
return super().bind(tools=formatted_tools, **kwargs) return super().bind(tools=formatted_tools, **kwargs)
@overload # TODO: Fix typing.
@overload # type: ignore[override]
def with_structured_output( def with_structured_output(
self, self,
schema: Optional[_DictOrPydanticClass] = None, schema: Optional[_DictOrPydanticClass] = None,