Skip to content

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

test(subagent_host): adjust prompt assignment in lifecycle tests

Steven Enamakel43153b25032d
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle_storage_adoption_tests.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle_storage_adoption_tests.rs
index 1d62949315..f5c592a0a2 100644
--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle_storage_adoption_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle_storage_adoption_tests.rs
@@ -205,9 +205,8 @@ async fn a_detached_driver_uses_its_carried_actor_for_lifecycle_commits() {
};
let mut definition = crate::agent_registry::host_definition::AgentDefinition::default();
definition.id = "same-agent".into();
- definition.system_prompt = tinyagents_definition::PromptSource::Inline(
- "You are a test worker.".into(),
- );
+ definition.system_prompt =
+ tinyagents_definition::PromptSource::Inline("You are a test worker.".into());
definition.max_iterations = 2;
let parent = RunContext::new(
RunConfig::new("detached-lifecycle-root").with_thread("detached-lifecycle-thread"),