Skip to content

Commit d7dbc74

Browse files
committed
lint
1 parent 4595df0 commit d7dbc74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dspy/predict/react.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def _copy_tools(self, tools):
175175
else:
176176
try:
177177
results[tool_name] = deepcopy(tool)
178-
except Exception as e:
178+
except Exception:
179179
logger.warning(f"Failed to deepcopy tool: {tool!r}. Consider making your tool deep-copyable "
180180
"if it needs to manage internal state. Error: {e}.")
181181
return results

0 commit comments

Comments
 (0)