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 Enamakel6ea234a4fc3e
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsx
index a1c0919824..605c241a1b 100644
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@ -1207,13 +1207,13 @@ const ComposerAction: FC<{
{ComposerRightExtras ? <ComposerRightExtras /> : null}
{onSwitchToMicCloud && (
<TooltipIconButton
- tooltip="Voice mode"
+ tooltip={t('composer.voiceMode', 'Voice mode')}
side="bottom"
type="button"
variant="ghost"
size="icon"
className="aui-composer-voice-mode text-muted-foreground hover:text-foreground size-7 rounded-full"
- aria-label="Voice mode"
+ aria-label={t('composer.voiceMode', 'Voice mode')}
disabled={isRunning}
onClick={onSwitchToMicCloud}>
<MicIcon className="size-4" />