Skip to content

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

fix(orchestration): annotate router pool closure parameter type

Steven Enamakel0692c611e357
diff --git a/crates/openhuman-core/src/agent/orchestration/background_completions.rs b/crates/openhuman-core/src/agent/orchestration/background_completions.rs
index 1603d4b7dc..5c6c208fad 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_completions.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_completions.rs
@@ -173,7 +173,7 @@ fn with_storage_context<R>(
pub(super) fn router_pool() -> &'static CompletionRouterPool<RouterScope> {
static POOL: OnceLock<CompletionRouterPool<RouterScope>> = OnceLock::new();
POOL.get_or_init(|| {
- CompletionRouterPool::new(|scope| {
+ CompletionRouterPool::new(|scope: &RouterScope| {
#[cfg(test)]
if let Some(store) = test_store_overrides()
.lock()