Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(assistant-ui): handle empty thread state in thread component

Steven Enamakel3c4f946969ea
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsx
index b30b0b9616..58d0f087fe 100644
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@ -23,8 +23,8 @@ import { Reasoning } from '@/components/assistant-ui/reasoning';
import { TooltipIconButton } from '@/components/assistant-ui/tooltip-icon-button';
import { Button } from '@/components/assistant-ui/ui/button';
import { Skeleton } from '@/components/assistant-ui/ui/skeleton';
-import ModelQualityPill from '@/components/chat/ModelQualityPill';
import { ChatErrorNotice } from '@/features/conversations/aui/ChatErrorNotice';
+import { ChatSettingsPanel } from '@/features/conversations/aui/ChatSettingsPanel';
import { ConnectionStateBanner } from '@/features/conversations/aui/ConnectionStateBanner';
import {
useAuiEditCapabilities,
@@ -1116,7 +1116,7 @@ const ComposerAction: FC<{
<div className="aui-composer-action-wrapper relative flex items-center justify-between">
<div className="flex min-w-0 items-center gap-1">
{HostComposerAddAttachment ? <HostComposerAddAttachment /> : <ComposerAddAttachment />}
- <ModelQualityPill value={model} onValueChange={onModelChange} />
+ <ChatSettingsPanel model={model} onModelChange={onModelChange} />
<ComposerExtrasSlot />
</div>
<div className="flex items-center gap-1.5">