Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(agent-harness): release cached session defaults between turns

Steven Enamakel185051f694ce
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index a26f4aff5f..a6a6fa094e 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -1198,6 +1198,7 @@ async fn run_managed_capture_turn(
// Session transcript stores and their SQLite backend are also cached by
// workspace path; release them before the next repetition removes it.
openhuman_core::storage::sessions::release_workspace(&workspace_dir);
+ openhuman_core::storage::sessions::release_workspace_defaults();
with_captured_proxy_requests(|requests| requests.clone())
}