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 Enamakeleb79bdcf6da6
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsx
index e50cf42a03..217b5cb566 100644
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@ -1571,6 +1571,7 @@ const AssistantMessage: FC = () => {
};
const AssistantActionBar: FC = () => {
+ const { t } = useT();
// assistant-ui's own disabled predicate for Reload is
// `isRunning || isDisabled || role !== 'assistant'` — it never consults
// `capabilities.reload`, so the button ships enabled on every settled