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
feat: add elapsed_ms and structured fields to chat response events
Steven Enamakel4a20077a2602
diff --git a/crates/openhuman-core/src/channels/proactive.rs b/crates/openhuman-core/src/channels/proactive.rsindex 6dc7de171d..1b9f7441be 100644--- a/crates/openhuman-core/src/channels/proactive.rs+++ b/crates/openhuman-core/src/channels/proactive.rs@@ -219,6 +219,8 @@ impl EventHandler<DomainEvent> for ProactiveMessageSubscriber {subagent: None,tool_display_label: None,tool_display_detail: None,+ elapsed_ms: None,+ structured: None,usage: None,// Proactive delivery is emitted outside the seq-stamping progress// bridge; leave `seq` unset (older clients ignore it).diff --git a/crates/openhuman-core/src/web_chat/presentation.rs b/crates/openhuman-core/src/web_chat/presentation.rsindex 41aef9be92..fe746e10a5 100644--- a/crates/openhuman-core/src/web_chat/presentation.rs+++ b/crates/openhuman-core/src/web_chat/presentation.rs@@ -183,6 +183,8 @@ pub(crate) async fn deliver_response(subagent: None,tool_display_label: None,tool_display_detail: None,+ elapsed_ms: None,+ structured: None,citations: if i == 0 && !citations.is_empty() {Some(serde_json::json!(citations))} else {@@ -224,6 +226,8 @@ pub(crate) async fn deliver_response(subagent: None,tool_display_label: None,tool_display_detail: None,+ elapsed_ms: None,+ structured: None,citations: if citations.is_empty() {None} else {@@ -302,6 +306,8 @@ fn publish_chat_done(subagent: None,tool_display_label: None,tool_display_detail: None,+ elapsed_ms: None,+ structured: None,citations: if citations.is_empty() {None} else {