Skip to content

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

test(web_chat): populate workspace_dir in session fingerprint fixtures

Steven Enamakel166cf6f95f63
diff --git a/crates/openhuman-core/src/web_chat/session_checkout_tests.rs b/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
index 782219d9c2..767b6a5dee 100644
--- a/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
+++ b/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
@@ -378,6 +378,7 @@ fn sample_fingerprint() -> SessionCacheFingerprint {
provider_binding: "openhuman".to_string(),
autonomy_signature: r#"{"approval_required":true,"action_dir":"/home/u/w"}"#.to_string(),
model_registry_signature: r#"[{"id":"m","provider":"p","vision":false}]"#.to_string(),
+ workspace_dir: std::path::PathBuf::from("/ws/a"),
}
}
diff --git a/crates/openhuman-core/src/web_chat/web_tests.rs b/crates/openhuman-core/src/web_chat/web_tests.rs
index 0e23843dcb..38742a45f9 100644
--- a/crates/openhuman-core/src/web_chat/web_tests.rs
+++ b/crates/openhuman-core/src/web_chat/web_tests.rs
@@ -66,6 +66,7 @@ fn fp(
provider_binding: provider_binding.to_string(),
autonomy_signature: "sig-default".to_string(),
model_registry_signature: "registry-default".to_string(),
+ workspace_dir: std::path::PathBuf::from("/ws/a"),
}
}