The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(session_host): add runtime session turn adapter
Steven Enamakel85a4e1844c39
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs b/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rsindex 791f3a015c..df29c34eb6 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs@@ -422,6 +422,7 @@ async fn runtime_adapter_passes_host_context_commits_before_finalize_and_emits_ocancellation: cancellation.clone(),run_context: context.into_tinyagents(tinyagents_harness::context::RunConfig::new("adapter-turn")),+ controls: Default::default(),},).awaitdiff --git a/crates/openhuman-core/src/agent/session_host/runtime_session_turn.rs b/crates/openhuman-core/src/agent/session_host/runtime_session_turn.rsindex 4d8c5a2ab4..c234e7b2ea 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_session_turn.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_session_turn.rs@@ -40,6 +40,7 @@ impl OpenHumanSessionHost {resume: self.turn_resume_mode(),cancellation,run_context: context.into_tinyagents(root_config),+ controls: Default::default(),};// Load persisted state before the normal turn lifecycle so the host// can read native recorded declarations for both bound sessions anddiff --git a/crates/openhuman-core/src/agent/session_host/session_api.rs b/crates/openhuman-core/src/agent/session_host/session_api.rsindex 7dbf7cd2cc..7ddb4b8257 100644--- a/crates/openhuman-core/src/agent/session_host/session_api.rs+++ b/crates/openhuman-core/src/agent/session_host/session_api.rs@@ -43,6 +43,7 @@ impl OpenHumanSessionHost {resume: ResumeMode::Session,cancellation,run_context: context.into_tinyagents(root_config),+ controls: Default::default(),};let resumed = self.runtime_session