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(Conversation): wrap thread viewport in root element
Steven Enamakel08287bac1718
diff --git a/app/src/components/ai-elements/Conversation.tsx b/app/src/components/ai-elements/Conversation.tsxindex 672acf5f00..95c619eca4 100644--- a/app/src/components/ai-elements/Conversation.tsx+++ b/app/src/components/ai-elements/Conversation.tsx@@ -3,7 +3,6 @@* when a runtime is available. The small DOM fallback keeps this shared shell* usable by isolated render tests and non-chat previews that intentionally do* not mount an assistant-ui runtime.- **/import { type AssistantState, ThreadPrimitive, useAuiState } from '@assistant-ui/react';import { forwardRef, type HTMLAttributes } from 'react';@@ -34,7 +33,9 @@ export const Conversation = forwardRef<HTMLDivElement, ConversationProps>(// scroll authority; this viewport supplies assistant-ui's thread context// and future core affordances without competing auto-scroll behavior.return hasThreadRuntime ? (- <ThreadPrimitive.Viewport autoScroll={false} {...viewportProps} />+ <ThreadPrimitive.Root className="contents">+ <ThreadPrimitive.Viewport autoScroll={false} {...viewportProps} />+ </ThreadPrimitive.Root>) : (<div {...viewportProps} />);