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(chat): restore missing ChatRuntimeProvider export
Steven Enamakel462ab9e6f3b3
diff --git a/app/src/providers/ChatRuntimeProvider.tsx b/app/src/providers/ChatRuntimeProvider.tsxindex dc200c1a19..cc5f23a58d 100644--- a/app/src/providers/ChatRuntimeProvider.tsx+++ b/app/src/providers/ChatRuntimeProvider.tsx@@ -253,6 +253,20 @@ function chatDoneExtraMetadata(event: ChatDoneEvent): Record<string, unknown> |return Object.keys(meta).length > 0 ? meta : undefined;}+/**+ * `extraMetadata` for the assistant message a failed turn appends.+ *+ * Stamped for every `error_type` (not just `guardrail`) so `ChatErrorNotice`+ * and any future per-type copy can key off it without a second message shape;+ * only `guardrail` renders the vendored `GuardrailNotice` card today (the+ * card needs a `GuardrailPayload` no other `error_type` carries).+ */+function chatErrorExtraMetadata(event: ChatErrorEvent): Record<string, unknown> {+ return {+ [CHAT_ERROR_METADATA_KEY]: { errorType: event.error_type, guardrail: event.guardrail },+ };+}+/*** Message id for a reply the CORE already persisted before announcing it.*