Converted all external tool calling to async
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user