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(conversations): reorder imports in Conversation and ChatThreadView
Steven Enamakel9711619391d0
diff --git a/app/src/components/ai-elements/Conversation.tsx b/app/src/components/ai-elements/Conversation.tsxindex c85e17dbc7..672acf5f00 100644--- a/app/src/components/ai-elements/Conversation.tsx+++ b/app/src/components/ai-elements/Conversation.tsx@@ -5,8 +5,8 @@* not mount an assistant-ui runtime.**/-import { forwardRef, type HTMLAttributes } from 'react';import { type AssistantState, ThreadPrimitive, useAuiState } from '@assistant-ui/react';+import { forwardRef, type HTMLAttributes } from 'react';import { cn } from '../../lib/cn';diff --git a/app/src/features/conversations/components/ChatThreadView.tsx b/app/src/features/conversations/components/ChatThreadView.tsxindex 6feee66ac0..fe184dd6d8 100644--- a/app/src/features/conversations/components/ChatThreadView.tsx+++ b/app/src/features/conversations/components/ChatThreadView.tsx@@ -1,3 +1,9 @@+import {+ type AssistantState,+ MessagePrimitive,+ ThreadPrimitive,+ useAuiState,+} from '@assistant-ui/react';import {forwardRef,Fragment,@@ -8,12 +14,6 @@ import {useRef,useState,} from 'react';-import {- type AssistantState,- MessagePrimitive,- ThreadPrimitive,- useAuiState,-} from '@assistant-ui/react';import { Conversation, ConversationContent } from '../../../components/ai-elements';import { useStickToBottom } from '../../../hooks/useStickToBottom';@@ -62,7 +62,13 @@ const EMPTY_TRANSCRIPT_ENTRIES: ToolTimelineEntry[] = [];const EMPTY_TOOL_TIMELINE: ToolTimelineEntry[] = [];const EMPTY_PROCESSING: ProcessingTranscriptItem[] = [];-function AssistantMessageScope({ messageId, children }: { messageId: string; children: ReactNode }) {+function AssistantMessageScope({+ messageId,+ children,+}: {+ messageId: string;+ children: ReactNode;+}) {const hasRuntimeMessage = useAuiState(useCallback((state: AssistantState) =>