Skip to content

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

refactor(web_chat): extract budget correlation into its own module

Steven Enamakel0fc3052dec55
diff --git a/crates/openhuman-core/src/web_chat/ops/budget_correlation.rs b/crates/openhuman-core/src/web_chat/ops/budget_correlation.rs
index 2874774d45..701270be2f 100644
--- a/crates/openhuman-core/src/web_chat/ops/budget_correlation.rs
+++ b/crates/openhuman-core/src/web_chat/ops/budget_correlation.rs
@@ -11,6 +11,8 @@ use std::time::{Duration, Instant};
use tokio::sync::Mutex;
+use crate::core::runtime::DispatchCtx;
+
use super::state::key_for;
/// A recorded budget-exhausted signal: when it happened, and which provider