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(web_chat): return static event name from ScopedWebEvent
Steven Enamakelc0d78c766135
diff --git a/crates/openhuman-core/src/web_chat/channel_event.rs b/crates/openhuman-core/src/web_chat/channel_event.rsindex 92867cb38f..c32ce3d097 100644--- a/crates/openhuman-core/src/web_chat/channel_event.rs+++ b/crates/openhuman-core/src/web_chat/channel_event.rs@@ -63,11 +63,8 @@ impl ScopedWebEvent {}/// Historical Socket.IO discriminator for this canonical event.- pub fn event_name(&self) -> String {- serde_json::to_value(&self.event)- .ok()- .and_then(|value| value.get("event").and_then(serde_json::Value::as_str).map(str::to_owned))- .expect("typed web events always serialize an event discriminator")+ pub fn event_name(&self) -> &'static str {+ self.event.event_name()}/// Stamp routing metadata from the host execution context.