Skip to content

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

fix(config): remove unused context schema module

Steven Enamakel74f65bb3a5c7
diff --git a/crates/openhuman-core/src/config/schema/context.rs b/crates/openhuman-core/src/config/schema/context.rs
index 5d0aadd5fa..d7d9a9b597 100644
--- a/crates/openhuman-core/src/config/schema/context.rs
+++ b/crates/openhuman-core/src/config/schema/context.rs
@@ -1,12 +1,10 @@
//! Context management configuration.
//!
//! Knobs for the global `crates/openhuman-core/src/agent/context/` module — budget
-//! thresholds, summarization trigger percentages, microcompact behavior,
-//! and the session-memory extraction cadence. Wired into the root
+//! thresholds, summarization trigger percentages and microcompact behavior. Wired into the root
//! [`super::Config`] as the `context` section; env overrides live in
//! [`super::load`].
-use crate::agent::context::session_memory::SessionMemoryConfig;
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
@@ -81,10 +79,6 @@ pub struct ContextConfig {
)]
pub summarizer_max_payload_tokens: usize,
- /// Session-memory extraction thresholds.
- #[serde(default)]
- pub session_memory: SessionMemoryConfig,
-
/// Override for the model used by the summarizer when autocompaction
/// fires. `None` (the default) means "use the caller's current
/// model"; set this to a cheaper/faster model to reduce the cost of
@@ -164,7 +158,6 @@ impl Default for ContextConfig {
tool_result_budget_bytes: default_tool_result_budget_bytes(),
summarizer_payload_threshold_tokens: default_summarizer_payload_threshold_tokens(),
summarizer_max_payload_tokens: default_summarizer_max_payload_tokens(),
- session_memory: SessionMemoryConfig::default(),
summarizer_model: None,
prefer_markdown_tool_output: default_true(),
compaction_enabled: default_true(),