Skip to content

Commit f4190e1

Browse files
committed
ruff
1 parent b287864 commit f4190e1

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
@@ -97,7 +97,7 @@ def act(self, output, hop):
9797
# Handle the case where 'passages' attribute is missing
9898
output[f"Observation_{hop+1}"] = getattr(result, "passages", result)
9999

100-
except Exception as e:
100+
except Exception:
101101
output[f"Observation_{hop+1}"] = (
102102
"Failed to parse action. Bad formatting or incorrect action name."
103103
)

0 commit comments

Comments
 (0)