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 Enamakel299dde8624c4
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsx
index 605c241a1b..3effc9969b 100644
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@ -1233,13 +1233,13 @@ const ComposerAction: FC<{
<AuiIf condition={s => s.composer.dictation == null}>
<ComposerPrimitive.Dictate asChild>
<TooltipIconButton
- tooltip="Voice input"
+ tooltip={t('assistantUi.thread.voiceInput', 'Voice input')}
side="bottom"
type="button"
variant="ghost"
size="icon"
className="aui-composer-dictate text-muted-foreground hover:text-foreground size-7 rounded-full"
- aria-label="Start voice input">
+ aria-label={t('assistantUi.thread.startVoiceInput', 'Start voice input')}>
<MicIcon className="aui-composer-dictate-icon size-4" />
</TooltipIconButton>
</ComposerPrimitive.Dictate>