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 Enamakel0dce0d721230
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsx
index 75e69b9317..b00c4baad6 100644
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@ -393,6 +393,7 @@ const ThreadRoot: FC<{
loadError: string | null;
onEscape?: () => void;
}> = ({ isEmpty, model, onModelChange, loadError, onEscape }) => {
+ const { t } = useT();
const {
Welcome = ThreadWelcome,
Composer: HostComposer,