mirror of
https://github.com/hwchase17/langchain
synced 2024-11-18 09:25:54 +00:00
openai[patch]: temp fix ignore lint (#23290)
This commit is contained in:
parent
efb4c12abe
commit
bcac6c3aff
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user