Skip to content

Commit

Permalink
Save trajectory to workspace/trajectory.json after agent run
Browse files Browse the repository at this point in the history
  • Loading branch information
openhands-agent committed Feb 23, 2025
1 parent 1183dd2 commit e4d870f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/regression/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def cleanup(self):
config.workspace_mount_path = str(temp_path)
config.workspace_mount_path_in_sandbox = '/workspace'
config.sandbox.keep_runtime_alive = False
config.save_trajectory_path = str(temp_path / 'trajectory.json')
initial_user_action = MessageAction(content=task_str)

# Change to temp directory for test execution
Expand Down

0 comments on commit e4d870f

Please sign in to comment.