Skip to content

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

fix(session-host): use harness context config when building sessions

Steven Enamakel4c1d67e4be12
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 1e318bcc20..ac0d5210d3 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
@@ -419,7 +419,7 @@ impl OpenHumanSessionHost {
.tool_dispatcher(tool_dispatcher)
.prompt_builder(prompt_builder)
.config(effective_agent_config)
- .context_config(config.context.clone())
+ .context_config(config.context.harness.clone())
.model_name(model_name)
.model_vision(model_vision)
.temperature(effective_temperature)
diff --git a/crates/openhuman-core/src/config/mod.rs b/crates/openhuman-core/src/config/mod.rs
index 4da322d633..659513f839 100644
--- a/crates/openhuman-core/src/config/mod.rs
+++ b/crates/openhuman-core/src/config/mod.rs
@@ -70,6 +70,7 @@ pub use schema::{
// above stays byte-identical and rustfmt-stable.
pub use schema::RequiredOutputContract;
pub use schema::{InboundDebounceConfig, InboundDebounceOverride};
+pub use schema::{SummarizerSettings, ToolRendering};
pub use schemas::{
all_controller_schemas as all_config_controller_schemas,
all_registered_controllers as all_config_registered_controllers,