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
refactor(core): drop unused DispatchCtx parameter from run helpers
Steven Enamakeleb5a5695b05f
diff --git a/crates/openhuman-core/src/lib.rs b/crates/openhuman-core/src/lib.rsindex 8b48bea6b0..682d2b6a38 100644--- a/crates/openhuman-core/src/lib.rs+++ b/crates/openhuman-core/src/lib.rs@@ -41,7 +41,6 @@//! embedding builds use `--no-default-features --features "<list>"`. See the//! `[features]` block in `Cargo.toml` for the full gate list and rationale.-use crate::core::runtime::DispatchCtx;// The RPC dispatch chokepoint wraps each handler future in an ambient// `CoreContext` scope (Phase 2). Combined with the already very deep async type// stacks in the axum routes that fan out into the tinyagents harness, the extra@@ -113,7 +112,7 @@ pub use core::types::HostKind;////// Returns an error if command execution fails.pub fn run_core_from_args(args: &[String]) -> anyhow::Result<()> {- run_core_from_args_with(&ctx, args, None)+ run_core_from_args_with(args, None)}/// [`run_core_from_args`] with a host-supplied boot description.@@ -126,7 +125,7 @@ pub fn run_core_from_args(args: &[String]) -> anyhow::Result<()> {/// # Errors////// Returns an error if command execution fails.-pub fn run_core_from_args_with(ctx: &DispatchCtx,+pub fn run_core_from_args_with(args: &[String],host_boot: Option<core::server_launcher::HostBoot>,) -> anyhow::Result<()> {@@ -139,5 +138,5 @@ pub fn run_core_from_args_with(ctx: &DispatchCtx,{security::secret_storage::init_master_key().map_err(anyhow::Error::msg)?;}- core::cli::run_from_cli_args_with(&ctx, args, host_boot)+ core::cli::run_from_cli_args_with(args, host_boot)}