From 1a289116dd22307d39c1c69ea563d4c5168c1365 Mon Sep 17 00:00:00 2001 From: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com> Date: Thu, 25 Apr 2024 17:52:00 -0700 Subject: [PATCH] update --- libs/core/langchain_core/tools.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/core/langchain_core/tools.py b/libs/core/langchain_core/tools.py index b86df57397..d286a3c794 100644 --- a/libs/core/langchain_core/tools.py +++ b/libs/core/langchain_core/tools.py @@ -165,6 +165,7 @@ def create_schema_from_function( del inferred_model.__fields__["run_manager"] if "callbacks" in inferred_model.__fields__: del inferred_model.__fields__["callbacks"] + breakpoint() # Pydantic adds placeholder virtual fields we need to strip valid_properties = _get_filtered_args(inferred_model, func) # TODO: we could pass through additional metadata here