We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cb07b9 commit 0a82629Copy full SHA for 0a82629
libs/core/langchain_core/utils/function_calling.py
@@ -244,7 +244,7 @@ def _convert_any_typed_dicts_to_pydantic(
244
else:
245
inner_arg_type = arg_type
246
247
- if get_origin(inner_arg_type) is Annotated: # type: ignore[comparison-overlap]
+ if get_origin(inner_arg_type) is Annotated:
248
annotated_args = get_args(inner_arg_type)
249
new_arg_type = _convert_any_typed_dicts_to_pydantic(
250
annotated_args[0], depth=depth + 1, visited=visited
0 commit comments