The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(cron): add debug logging to headless descendant scheduler test
Steven Enamakel53d442a82936
diff --git a/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rs b/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rsindex f9b7009839..841492b23e 100644--- a/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rs+++ b/crates/openhuman-core/src/cron/scheduler_headless_descendants_tests.rs@@ -102,7 +102,9 @@ async fn dispatch_scheduled_agent(Box::pin(async move {let dispatched = dispatcher.tick(&config).await.expect("scheduler tick");assert_eq!(dispatched, 1, "the persisted due job is dispatched");+ eprintln!("scheduled test job tick returned {dispatched}");dispatcher.drain().await;+ eprintln!("scheduled test job drain returned");}),).await;@@ -124,6 +126,11 @@ impl ChatModel<()> for CronChildModel {_state: &(),request: ModelRequest,) -> tinyinference_llm::Result<ModelResponse> {+ eprintln!(+ "scheduled test model invoked with {} messages and {} tools",+ request.messages.len(),+ request.tools.len(),+ );if request.messages.iter().any(|message| {matches!(message, tinyinference_llm::message::Message::User(_))&& message.text().contains(CHILD_PROMPT)