From e4d870f9edf360cd7bf5029d0fb823f058a0a8c9 Mon Sep 17 00:00:00 2001 From: openhands Date: Sun, 23 Feb 2025 01:19:05 +0000 Subject: [PATCH] Save trajectory to workspace/trajectory.json after agent run --- tests/regression/run.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/regression/run.py b/tests/regression/run.py index c16bfbf00783..4f2af4c0bb79 100644 --- a/tests/regression/run.py +++ b/tests/regression/run.py @@ -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