Skip to content

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

refactor(session-host): use imported Message path and lower layout limit

Steven Enamakeld0b371194681
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session.rs b/crates/openhuman-core/src/agent/session_host/runtime_session.rs
index 267a04dd72..13d48982e8 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session.rs
@@ -262,7 +262,7 @@ impl OpenHumanTurnPrelude {
tiered
.system_messages()
.into_iter()
- .map(tinyinference_llm::message::Message::system)
+ .map(Message::system)
.collect(),
))
} else {
diff --git a/scripts/ci/check-openhuman-rust-layout.mjs b/scripts/ci/check-openhuman-rust-layout.mjs
index b38f603aa6..dde858c719 100644
--- a/scripts/ci/check-openhuman-rust-layout.mjs
+++ b/scripts/ci/check-openhuman-rust-layout.mjs
@@ -34,7 +34,7 @@ const LEGACY_LIMIT_ENTRIES = [
// a follow-up without reintroducing an old harness/session exception.
["crates/openhuman-core/src/agent/session_host/builder/factory.rs", 964],
["crates/openhuman-core/src/agent/subagent_host/lifecycle.rs", 1235],
- ["crates/openhuman-core/src/agent/subagent_host/ops/runner.rs", 1045],
+ ["crates/openhuman-core/src/agent/subagent_host/ops/runner.rs", 1042],
["crates/openhuman-core/src/web_chat/progress_bridge.rs", 1171],
// These established external test modules grew with upstream coverage. Pin
// their current sizes while follow-up work separates their test concerns.