Skip to content

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

refactor(agent): remove unused tokenjuice compression accessor

Steven Enamakel373295a6b648
diff --git a/crates/openhuman-core/src/agent/harness/host_definition.rs b/crates/openhuman-core/src/agent/harness/host_definition.rs
index 7d661cb492..9d879e45cf 100644
--- a/crates/openhuman-core/src/agent/harness/host_definition.rs
+++ b/crates/openhuman-core/src/agent/harness/host_definition.rs
@@ -115,11 +115,6 @@ pub trait AgentDefinitionExt {
}
impl AgentDefinitionExt for AgentDefinition {
- fn effective_tokenjuice_compression(&self) -> AgentTokenjuiceCompression {
- self.extensions
- .effective_tokenjuice_compression(&self.model)
- }
-
fn prompt_fn(&self) -> Result<PromptBuilder> {
self.extensions.prompt_builder.ok_or_else(|| {
anyhow::anyhow!(