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): handle missing runtime provider gracefully
Steven Enamakele101e0e34e20
diff --git a/app/src/providers/ChatRuntimeProvider.tsx b/app/src/providers/ChatRuntimeProvider.tsxindex a9816283a8..87b97da7af 100644--- a/app/src/providers/ChatRuntimeProvider.tsx+++ b/app/src/providers/ChatRuntimeProvider.tsx@@ -78,6 +78,7 @@ import {setSelectedThread,} from '../store/threadSlice';import { DERIVED_TRANSCRIPT_ENABLED, IS_PROD } from '../utils/config';+import { AssistantUiRuntimeProvider } from './AssistantUiRuntimeProvider';import { isProactiveConversationSurface, proactiveThreadPins } from './proactiveThreadPins';const logChatRuntime = debug('openhuman:chat-runtime');@@ -1408,7 +1409,11 @@ const ChatRuntimeProvider = ({ children }: { children: React.ReactNode }) => {}}, [socketStatus, dispatch]);- return <>{children}</>;+ // assistant-ui's runtime is mounted here, INSIDE the subscription provider,+ // so it sits above every chat surface and below the Redux store this file+ // already feeds. It is additive: it publishes the runtime context without+ // taking ownership of any state. See `AssistantUiRuntimeProvider`.+ return <AssistantUiRuntimeProvider>{children}</AssistantUiRuntimeProvider>;};export default ChatRuntimeProvider;