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
style: format working folder validation changes
Steven Enamakelbd5c50d6f949
diff --git a/crates/openhuman-core/src/config/ops/model.rs b/crates/openhuman-core/src/config/ops/model.rsindex 9a2bdb0343..ea0dc09c6f 100644--- a/crates/openhuman-core/src/config/ops/model.rs+++ b/crates/openhuman-core/src/config/ops/model.rs@@ -473,10 +473,7 @@ pub async fn apply_runtime_settings(.ok_or_else(|| format!("unknown reasoning_effort '{effort}'"))?;Some(parsed.as_str().to_string())};- let model = update- .reasoning_effort_model- .as_deref()- .map(str::trim);+ let model = update.reasoning_effort_model.as_deref().map(str::trim);if model == Some("") {return Err("reasoning_effort_model must not be empty".into());}diff --git a/crates/openhuman-core/src/web_chat/run_task.rs b/crates/openhuman-core/src/web_chat/run_task.rsindex 6458db94e7..56487aae19 100644--- a/crates/openhuman-core/src/web_chat/run_task.rs+++ b/crates/openhuman-core/src/web_chat/run_task.rs@@ -102,11 +102,8 @@ pub(crate) async fn run_chat_task(// `action_dir`. Applied before checkout so the session agent, its security// policy (which grants `action_dir` as a trusted root) and its tools are// all built on the thread's folder.- if let Some(dir) = crate::threads::ops::thread_working_dir(- config.workspace_dir.clone(),- thread_id,- )- .await?+ if let Some(dir) =+ crate::threads::ops::thread_working_dir(config.workspace_dir.clone(), thread_id).await?{log::debug!("[web-channel] thread working folder applied thread_id={thread_id}");config.action_dir = dir;