Skip to content

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

test(dispatch): add sender_name to host agent test fixtures

Steven Enamakela288c9cb4a87
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/host_agent/dispatch_tests.rs b/crates/openhuman-core/src/channels/runtime/dispatch/host_agent/dispatch_tests.rs
index 4e09672c41..cfd6abbf0e 100644
--- a/crates/openhuman-core/src/channels/runtime/dispatch/host_agent/dispatch_tests.rs
+++ b/crates/openhuman-core/src/channels/runtime/dispatch/host_agent/dispatch_tests.rs
@@ -69,6 +69,7 @@ fn message(text: &str) -> traits::ChannelMessage {
traits::ChannelMessage {
id: "m1".into(),
sender: "alice".into(),
+ sender_name: None,
reply_target: "42".into(),
content: text.into(),
channel: "telegram".into(),
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/host_agent/posture_tests.rs b/crates/openhuman-core/src/channels/runtime/dispatch/host_agent/posture_tests.rs
index 5e7cf618d9..a7df3a5833 100644
--- a/crates/openhuman-core/src/channels/runtime/dispatch/host_agent/posture_tests.rs
+++ b/crates/openhuman-core/src/channels/runtime/dispatch/host_agent/posture_tests.rs
@@ -9,6 +9,7 @@ fn external() -> AgentTurnOrigin {
AgentTurnOrigin::ExternalChannel {
channel: "telegram".into(),
sender: Some("alice".into()),
+ sender_name: None,
reply_target: "42".into(),
message_id: "m1".into(),
history_key: Some("telegram_alice".into()),