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(agent_runs): clarify context breakdown cache key
Steven Enamakelc851ef41e2ad
diff --git a/crates/openhuman-core/src/agent_runs/context_breakdown.rs b/crates/openhuman-core/src/agent_runs/context_breakdown.rsindex 63180dccd0..1820aeef42 100644--- a/crates/openhuman-core/src/agent_runs/context_breakdown.rs+++ b/crates/openhuman-core/src/agent_runs/context_breakdown.rs@@ -6,10 +6,10 @@//!//! [`PromptSizeReport::build`] is expensive: it rebuilds a real agent through//! `OpenHumanSessionHost::from_config_for_agent` and fetches live Composio-//! connections. This module caches the last report per `agent_id`, keyed-//! additionally on a coarse config-content fingerprint so an edited prompt,-//! model route, or tool config invalidates the cache instead of serving a-//! stale breakdown.+//! connections. This module caches the last report per dispatch tenant and+//! `agent_id`, with workspace and config paths in the cache key. A coarse+//! config-content fingerprint invalidates the entry when an edited prompt,+//! model route, or tool config changes inside that scope.use std::collections::HashMap;use std::sync::Mutex;