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
fix(rpc): pass host context when setting run mode
Steven Enamakelcdfdedc92802
diff --git a/crates/openhuman-rpc/src/server/socketio.rs b/crates/openhuman-rpc/src/server/socketio.rsindex f193fba05c..74dfb8db60 100644--- a/crates/openhuman-rpc/src/server/socketio.rs+++ b/crates/openhuman-rpc/src/server/socketio.rs@@ -407,7 +407,7 @@ pub fn attach_socketio() -> (socketioxide::layer::SocketIoLayer, SocketIo) {if let Some(run_mode) = payload.run_mode.as_deref() {match crate::core_host::agent::tinyagents::run_mode::parse_mode_label(run_mode) {Some(mode) => {- crate::core_host::agent::tinyagents::run_mode::set_mode(&thread_id, mode);+ crate::core_host::agent::tinyagents::run_mode::set_mode(&DispatchCtx::host_default(), &thread_id, mode);}None => log::warn!("[socketio] chat:start thread_id={thread_id} ignoring unrecognized run_mode={run_mode}"