Converted all external tool calling to async

This commit is contained in:
Timmy
2026-06-29 16:59:54 +01:00
parent 75f41088b1
commit feb35ddd10
49 changed files with 482 additions and 496 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ pub(crate) fn spawn_tick_loop(
// timeout window). A `TransitionFired` subscriber cannot observe the
// absence of events, so this must remain on a periodic tick.
if tick_count.is_multiple_of(30) {
let found = agents.run_watchdog_pass(root.as_deref());
let found = agents.run_watchdog_pass(root.as_deref()).await;
if found > 0 {
crate::slog!(
"[tick] {found} orphaned agent(s) detected; triggering auto-assign."