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
docs(embed): describe budget hook cap
Steven Enamakel73da18e89147
diff --git a/crates/openhuman-core/src/agent/stop_hooks.rs b/crates/openhuman-core/src/agent/stop_hooks.rsindex b76f7984bc..d98adde600 100644--- a/crates/openhuman-core/src/agent/stop_hooks.rs+++ b/crates/openhuman-core/src/agent/stop_hooks.rs@@ -76,10 +76,12 @@ pub async fn with_stop_hooks<F: std::future::Future>(/// Stop a turn when its cumulative cost reaches the configured USD cap.#[derive(Debug, Clone, Copy)]pub struct BudgetStopHook {+ /// Cumulative USD charge at which the turn pauses.pub max_usd: f64,}impl BudgetStopHook {+ /// Construct a hook that pauses after a turn reaches `max_usd`.pub fn new(max_usd: f64) -> Self {Self { max_usd }}