Skip to content

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

refactor(context): remove unused tool result budget constants

Steven Enamakelf5de24a396af
diff --git a/crates/openhuman-core/src/agent/context/mod.rs b/crates/openhuman-core/src/agent/context/mod.rs
index 1024a1eb71..3c5bbe4fc5 100644
--- a/crates/openhuman-core/src/agent/context/mod.rs
+++ b/crates/openhuman-core/src/agent/context/mod.rs
@@ -23,15 +23,6 @@ pub mod manager;
pub mod stats;
pub use manager::{ContextManager, ContextStats};
-/// Default per-tool-result budget. The live TinyAgents tool-output middleware
-/// and action-workspace artifact previews enforce this outside the legacy
-/// context reducer modules.
-pub const DEFAULT_TOOL_RESULT_BUDGET_BYTES: usize = 16 * 1024;
-
-/// Placeholder used by the TinyAgents microcompact middleware when it clears
-/// older tool-result bodies.
-pub const CLEARED_PLACEHOLDER: &str = "[Old tool result content cleared]";
-
/// Default number of most-recent tool-result envelopes the TinyAgents
/// microcompact middleware leaves intact.
pub const DEFAULT_KEEP_RECENT_TOOL_RESULTS: usize = 5;