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(socketio): add optional run_mode to ChatStartPayload
Steven Enamakel4108c278a993
diff --git a/crates/openhuman-core/src/core/socketio.rs b/crates/openhuman-core/src/core/socketio.rsindex 2fcc1cdca6..ea43cd454f 100644--- a/crates/openhuman-core/src/core/socketio.rs+++ b/crates/openhuman-core/src/core/socketio.rs@@ -627,6 +627,13 @@ struct ChatStartPayload {locale: Option<String>,#[serde(default)]queue_mode: Option<String>,+ /// Optional `"plan"` | `"build"` — lets the composer start this turn with+ /// the thread already in the requested run mode (e.g. a "Plan" toggle),+ /// rather than a separate `agent.set_run_mode` round-trip racing the+ /// `chat:start` itself. Unrecognized values are ignored (logged), not+ /// rejected — a stale/typo'd client build should not fail the whole turn.+ #[serde(default)]+ run_mode: Option<String>,}#[cfg(feature = "http-server")]