Skip to content

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

test(channels): update remote reset tests

Steven Enamakel036d548b0fa6
diff --git a/crates/openhuman-core/src/channels/routes_remote_reset_tests.rs b/crates/openhuman-core/src/channels/routes_remote_reset_tests.rs
index c10e1a4703..7237126808 100644
--- a/crates/openhuman-core/src/channels/routes_remote_reset_tests.rs
+++ b/crates/openhuman-core/src/channels/routes_remote_reset_tests.rs
@@ -115,6 +115,7 @@ fn tenant_runtime(
slug: "openai".into(),
label: "Reset test provider".into(),
endpoint: "http://127.0.0.1:9/v1".into(),
+ default_model: Some("reset-test-model".into()),
..Default::default()
}];
let core = CoreContext::for_test(DomainSet::none(), Some(workspace.clone())).derive_with(
@@ -194,15 +195,6 @@ async fn remote_clear_resets_only_the_captured_tenant_session() {
2
);
- let direct_reset = crate::channels::runtime::dispatch::reset_durable_channel_session(
- &alice_runtime,
- &reset.message,
- &reset.durable_session_key,
- &reset.history_key,
- )
- .await;
- assert!(direct_reset.is_ok(), "direct reset failure: {direct_reset:#?}");
-
let cleared = crate::channels::host::remote_control::dispatch_callback(
&alice_dispatch,
&alice_runtime,