Skip to content

The agent engineering platform.

remove unused e

xzq.xud602141ab166
diff --git a/libs/core/langchain_core/tools/base.py b/libs/core/langchain_core/tools/base.py
index 74476a71a6..e544d367a2 100644
--- a/libs/core/langchain_core/tools/base.py
+++ b/libs/core/langchain_core/tools/base.py
@@ -949,7 +949,7 @@ def _prep_run_args(
if not isinstance(tool_input, str):
try:
tool_input = tool_input.copy()
- except Exception as e:
+ except Exception:
import copy
tool_input = copy.deepcopy(tool_input)