Skip to content

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

test(json_rpc_threads): set chat agent id in transcript pagination test

Steven Enamakel6afe9a99b0e5
diff --git a/tests/json_rpc_threads_e2e.rs b/tests/json_rpc_threads_e2e.rs
index 533c600ea1..647ad38460 100644
--- a/tests/json_rpc_threads_e2e.rs
+++ b/tests/json_rpc_threads_e2e.rs
@@ -1071,6 +1071,9 @@ async fn json_rpc_threads_transcript_get_projects_and_paginates() {
.await
.expect("load test config");
assert_eq!(config.workspace_dir, workspace);
+ let mut config = config;
+ config.agent.chat_agent_id = Some("orchestrator".into());
+ config.save().await.expect("save test chat agent");
openhuman_core::agent_registry::host_definition::AgentDefinitionRegistry::init_global_builtins()
.expect("initialize built-in agent definitions");
let backend = openhuman_core::storage::local::backend_for(&config.workspace_dir)