mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
multiple: support strict and method in with_structured_output (#30385)
This commit is contained in:
@@ -945,6 +945,7 @@ class ChatMistralAI(BaseChatModel):
|
||||
# }
|
||||
|
||||
""" # noqa: E501
|
||||
_ = kwargs.pop("strict", None)
|
||||
if kwargs:
|
||||
raise ValueError(f"Received unsupported arguments {kwargs}")
|
||||
is_pydantic_schema = isinstance(schema, type) and is_basemodel_subclass(schema)
|
||||
|
||||
Reference in New Issue
Block a user