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(orchestration): report system turn errors as chat_error events
Steven Enamakel6f7c3550769c
diff --git a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs b/crates/openhuman-core/src/agent/orchestration/background_delivery.rsindex 5fc921fd1e..92252d5052 100644--- a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs+++ b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs@@ -669,14 +669,22 @@ async fn run_system_turn_on_thread(ctx, "system", &thread_id, &run_id, response, None,),Err(error) => {- crate::web_chat::publish_web_channel_event(crate::web_chat::WebChannelEvent {- event: "chat_error".to_string(),- client_id: "system".to_string(),- thread_id: thread_id.clone(),- request_id: run_id.clone(),+ crate::web_chat::publish_web_channel_event(crate::web_chat::WebChannelEvent::ChatError {+ context: crate::web_chat::channel_event::event_context(+ "system",+ thread_id.clone(),+ run_id.clone(),+ ),message: Some(error.clone()),error_type: Some("agent_error".to_string()),- ..Default::default()+ error_source: None,+ error_retryable: None,+ error_retry_after_ms: None,+ error_provider: None,+ error_fallback_available: None,+ copy_key: None,+ copy_params: None,+ guardrail: None,})}},