mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
mistral[patch]: release 0.2.5 (#29463)
This commit is contained in:
@@ -191,7 +191,7 @@ class BookDict(TypedDict):
|
||||
def _check_parsed_result(result: Any, schema: Any) -> None:
|
||||
if schema == Book:
|
||||
assert isinstance(result, Book)
|
||||
elif schema == BookDict:
|
||||
else:
|
||||
assert all(key in ["name", "authors"] for key in result.keys())
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user