Skip to content

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

chore: files changed tests/memory_v2_e2e.rs

Steven Enamakel99f345905453
diff --git a/tests/memory_v2_e2e.rs b/tests/memory_v2_e2e.rs
index ee04b59491..005627484a 100644
--- a/tests/memory_v2_e2e.rs
+++ b/tests/memory_v2_e2e.rs
@@ -1259,16 +1259,13 @@ async fn wait_for_request(f: &Fixture, what: &str, found: impl Fn(&str, &str) ->
#[tokio::test]
async fn a_chat_turn_carries_its_pack_and_is_logged() {
+ // Chat sessions resolve their hosted authority from the agent definition
+ // registry, which the full runtime initialises at startup.
+ openhuman_core::agent::harness::definition::AgentDefinitionRegistry::init_global_builtins()
+ .expect("builtin agent definitions");
let f = Fixture::new(true).await;
f.learn("The user prefers launch events in Lisbon").await;
- let direct = f
- .call(
- "openhuman.inference_agent_chat",
- json!({ "message": "Where should the launch event be held?", "thread_id": "probe-thread" }),
- )
- .await;
- eprintln!("DIRECT: {direct}");
let accepted = f
.ok(
"openhuman.channel_web_chat",