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 on initial render

Steven Enamakel6bc75ae47fc0
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsx
index 3effc9969b..7c9c24d699 100644
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@ -1247,13 +1247,13 @@ const ComposerAction: FC<{
<AuiIf condition={s => s.composer.dictation != null}>
<ComposerPrimitive.StopDictation asChild>
<TooltipIconButton
- tooltip="Stop dictation"
+ tooltip={t('assistantUi.thread.stopDictation', 'Stop dictation')}
side="bottom"
type="button"
variant="ghost"
size="icon"
className="aui-composer-stop-dictation text-destructive size-7 rounded-full"
- aria-label="Stop voice input">
+ aria-label={t('assistantUi.thread.stopVoiceInput', 'Stop voice input')}>
<SquareIcon className="aui-composer-stop-dictation-icon size-3.5 animate-pulse fill-current" />
</TooltipIconButton>
</ComposerPrimitive.StopDictation>