Skip to content

Commit 9f531cc

Browse files
authored
Update error_analysis.py
1 parent 5cb6cc2 commit 9f531cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/agentlab/analyze/error_analysis.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,9 @@ def summarize(
226226
"""Produces, a summary of the effect of an action."""
227227
past_obs_message = self.obs_formatter(past_obs)
228228
current_obs_message = self.obs_formatter(current_obs)
229-
goal = past_obs["goal"]
229+
230+
goal = past_obs["goal"] # Use goal object from agentlab
231+
# Outsource everything to formatter
230232
plan = past_obs["plan"]
231233
if self.use_diff:
232234
current_obs_message = _diff(past_obs_message, current_obs_message)

0 commit comments

Comments
 (0)