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 Enamakelf19456b4b83d
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsx
index b00c4baad6..b9ada73b35 100644
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@ -439,7 +439,9 @@ const ThreadRoot: FC<{
)}>
{loadError ? (
<div className="flex flex-1 flex-col items-center justify-center gap-2 text-center">
- <p className="text-sm font-medium text-destructive">Failed to load messages</p>
+ <p className="text-sm font-medium text-destructive">
+ {t('chat.failedToLoadMessages', 'Failed to load messages')}
+ </p>
<p className="text-muted-foreground max-w-md text-xs">{loadError}</p>
</div>
) : (