Skip to content

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

chore: files changed crates/openhuman-core/src/cron/tools/collapsed_tests.rs

Steven Enamakelc57ef006f39c
diff --git a/crates/openhuman-core/src/cron/tools/collapsed_tests.rs b/crates/openhuman-core/src/cron/tools/collapsed_tests.rs
index c19a8f2079..2e86927485 100644
--- a/crates/openhuman-core/src/cron/tools/collapsed_tests.rs
+++ b/crates/openhuman-core/src/cron/tools/collapsed_tests.rs
@@ -164,10 +164,9 @@ async fn add_uses_the_explicit_channel_origin_without_ambient_turn_state() {
message_id: "message-1".into(),
history_key: Some("telegram-alice-42".into()),
};
- let context = execution_context(OpenHumanRunContext {
- origin: Some(origin),
- ..OpenHumanRunContext::new()
- });
+ let mut run = OpenHumanRunContext::new();
+ run.origin = Some(origin);
+ let context = execution_context(run);
let cron = CronTool::new(config.clone(), Arc::new(SecurityPolicy::default()));
let result = cron