Skip to content

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

test(orchestration): update steering message assertion

Steven Enamakel5452ce21dc1c
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents_steering_tests.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents_steering_tests.rs
index 8999ce22b5..127666628f 100644
--- a/crates/openhuman-core/src/agent/orchestration/running_subagents_steering_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents_steering_tests.rs
@@ -64,7 +64,12 @@ async fn steer_prefers_registered_tinyagents_handle() {
assert_eq!(commands.len(), 1);
match &commands[0] {
SteeringCommand::InjectMessage(message) => {
- assert_eq!(message.text(), "[User steering message]: refocus");
+ assert_eq!(
+ message.text(),
+ r#"[Steering message from the parent agent, not the user]: <parent_agent_message>
+"refocus"
+</parent_agent_message>"#
+ );
}
other => panic!("expected injected steering message, got {other:?}"),
}