mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-28 15:00:23 +00:00
remove print
This commit is contained in:
@@ -740,7 +740,6 @@ def _handle_tool_error(
|
||||
flag: Optional[Union[Literal[True], str, Callable[[ToolException], str]]],
|
||||
) -> str:
|
||||
if isinstance(flag, bool):
|
||||
print(e.args)
|
||||
if e.args:
|
||||
content = e.args[0]
|
||||
else:
|
||||
|
Reference in New Issue
Block a user