Skip to content

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

fix(session_host): correct summarizer path and resolve effective settings

Steven Enamakel52f200169686
diff --git a/crates/openhuman-core/src/agent/session_host/builder/factory/build_helpers.rs b/crates/openhuman-core/src/agent/session_host/builder/factory/build_helpers.rs
index 8572504447..cccc35c5ad 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/factory/build_helpers.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/factory/build_helpers.rs
@@ -117,7 +117,7 @@ pub(super) fn payload_summarizer(
agent_id: &str,
config: &Config,
) -> Option<std::sync::Arc<crate::agent::tinyagents::payload_summarizer::DynPayloadSummarizer>> {
- if !host_only && super::summarizes_tool_output(agent_id, config) {
+ if !host_only && super::super::summarizes_tool_output(agent_id, config) {
match crate::agent_registry::host_definition::AgentDefinitionRegistry::current() {
Some(reg) => match reg.get("summarizer") {
Some(summarizer_def) => {
diff --git a/crates/openhuman-core/src/agent/session_host/builder/factory/build_session.rs b/crates/openhuman-core/src/agent/session_host/builder/factory/build_session.rs
index d9d6e8f895..699f6ad2e8 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/factory/build_session.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/factory/build_session.rs
@@ -375,6 +375,9 @@ impl OpenHumanSessionHost {
&tools, &delegation_tools, &dispatcher_choice, supports_native, agent_id,
);
+ let (effective_temperature, effective_omit_memory_context, effective_tokenjuice_compression) =
+ helpers::effective_settings(target_def, config);
+
// Stamp the resolved agent definition id onto the OpenHumanSessionHost via the
// builder. Without this call, `agent_definition_name` falls
// back to the legacy `"main"` default (see `SessionHostBuilder::build`)