Skip to content

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

feat(cli): add process dispatch context to CLI entry point

Steven Enamakel16381979c230
diff --git a/crates/openhuman-core/src/core/cli.rs b/crates/openhuman-core/src/core/cli.rs
index c20ba86d78..e99a96080e 100644
--- a/crates/openhuman-core/src/core/cli.rs
+++ b/crates/openhuman-core/src/core/cli.rs
@@ -83,6 +83,8 @@ pub fn run_from_cli_args_with(
host_boot: Option<crate::core::server_launcher::HostBoot>,
) -> Result<()> {
load_dotenv_for_cli()?;
+ // The CLI is the host: its commands run under the one process context.
+ let ctx = DispatchCtx::process_default();
let launch = parse_launch_options(args)?;
crate::config::set_cli_inference_overrides(launch.provider.as_deref(), launch.model.as_deref());