tools pydan tic root remove

pull/207/head
evelynmitchell 1 year ago
parent aa88b11d3f
commit 6c3582570c

@ -268,7 +268,7 @@ class ChildTool(BaseTool):
} }
return tool_input return tool_input
@root_validator() @model_validator(mode="after")
def raise_deprecation(cls, values: Dict) -> Dict: def raise_deprecation(cls, values: Dict) -> Dict:
"""Raise deprecation warning if callback_manager is used.""" """Raise deprecation warning if callback_manager is used."""
if values.get("callback_manager") is not None: if values.get("callback_manager") is not None:

Loading…
Cancel
Save