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(threads): correct parallel turn handling for empty thread state
Steven Enamakel8a3dc4f0d9e0
diff --git a/crates/openhuman-core/src/threads/schemas_tests.rs b/crates/openhuman-core/src/threads/schemas_tests.rsindex 0052e51553..871548689e 100644--- a/crates/openhuman-core/src/threads/schemas_tests.rs+++ b/crates/openhuman-core/src/threads/schemas_tests.rs@@ -20,6 +20,8 @@ const ALL_FUNCTIONS: &[&str] = &["turn_state_clear","token_usage","transcript_get",+ "goal_get",+ "todos_get",];#[test]diff --git a/crates/openhuman-core/src/web_chat/ops/parallel_turn.rs b/crates/openhuman-core/src/web_chat/ops/parallel_turn.rsindex 1f9bdb0934..4688f22ab8 100644--- a/crates/openhuman-core/src/web_chat/ops/parallel_turn.rs+++ b/crates/openhuman-core/src/web_chat/ops/parallel_turn.rs@@ -52,6 +52,7 @@ pub(crate) async fn spawn_parallel_turn(let approval_ctx = crate::security::approval::ApprovalChatContext {thread_id: thread_id_task.clone(),client_id: client_id_task.clone(),+ request_id: Some(request_id_task.clone()),};let origin = crate::agent::turn_origin::AgentTurnOrigin::WebChat {thread_id: thread_id_task.clone(),