Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(thread): remove duplicate welcome message in assistant thread

Steven Enamakel5ded34990ae0
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsx
index 8f385cd8dc..e50cf42a03 100644
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@ -1336,6 +1336,7 @@ const ComposerAction: FC<{
* must not offer Reload even when the runtime supports it for settled replies.
*/
const MessageError: FC = () => {
+ const { t } = useT();
const error = useMessageError();
if (error === undefined) return null;
const detail = typeof error === 'string' ? error : JSON.stringify(error);
@@ -1343,7 +1344,7 @@ const MessageError: FC = () => {
<MessagePrimitive.Error>
<ErrorState
className="aui-message-error-root mt-2"
- title="Something went wrong"
+ title={t('misc.somethingWentWrong', 'Something went wrong')}
detail={detail}
retrying={false}
/>