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
docs(conversations): clarify assistant-ui runtime ownership comments
Steven Enamakelb0502720606b
diff --git a/app/src/features/conversations/components/AssistantUiChat.tsx b/app/src/features/conversations/components/AssistantUiChat.tsxindex c7d3850ad6..6015c689a8 100644--- a/app/src/features/conversations/components/AssistantUiChat.tsx+++ b/app/src/features/conversations/components/AssistantUiChat.tsx@@ -99,8 +99,8 @@ export function ComposerTextBridge({/*** The assistant-ui `Thread`, projected from OpenHuman's Redux transcript.*- * The runtime is a read-only projection; Redux and the core remain authoritative- * for messages, streaming and persistence. Composer sends are forwarded through+ * The library runtime manages UI interaction; Redux and the core remain+ * authoritative for messages, streaming and persistence. Composer sends go through* the chat-surface registration owned by `Conversations`, so this uses the same* send/cancel path as the legacy composer.*/diff --git a/app/src/providers/AssistantUiRuntimeProvider.tsx b/app/src/providers/AssistantUiRuntimeProvider.tsxindex 0a9892b76f..b5888448d1 100644--- a/app/src/providers/AssistantUiRuntimeProvider.tsx+++ b/app/src/providers/AssistantUiRuntimeProvider.tsx@@ -18,9 +18,9 @@ const AuiThreadIdContext = createContext<string | null>(null);/*** The OpenHuman thread this assistant-ui runtime represents.*- * assistant-ui's own context carries its internal thread identity, not ours, so- * a component rendered *inside* the transcript (a tool part, say) has no other- * way to name the thread it belongs to. Reading `selectedThreadId` from Redux+ * The runtime adapter carries this identity into assistant-ui. This context+ * also preserves the host's nullable identity for tool parts and surfaces that+ * have not created a conversation yet. Reading `selectedThreadId` from Redux* instead would be wrong on any surface whose thread is not the selected one —* the Workflow Copilot mounts a runtime on its own builder thread — which is* the same trap {@link AssistantUiRuntimeProvider} documents for messages.