Skip to content

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

fix(conversations): handle empty conversation list gracefully

Steven Enamakele848d31f9b54
diff --git a/app/src/features/conversations/Conversations.tsx b/app/src/features/conversations/Conversations.tsx
index 950fcfb084..65ce97a150 100644
--- a/app/src/features/conversations/Conversations.tsx
+++ b/app/src/features/conversations/Conversations.tsx
@@ -53,7 +53,6 @@ import {
useChatMascotSendBinding,
} from '../../features/human/chatMascot';
import MicComposer from '../../features/human/MicComposer';
-import { registerChatSurface } from '../../providers/chatSurfaceHandlers';
import { useFlowApprovalRequests } from '../../hooks/useFlowApprovalRequests';
import { useUsageState } from '../../hooks/useUsageState';
import {
@@ -66,6 +65,7 @@ import {
validateAndReadFile,
} from '../../lib/attachments';
import { useT } from '../../lib/i18n/I18nContext';
+import { registerChatSurface } from '../../providers/chatSurfaceHandlers';
import { applyOpenRouterFreeModels } from '../../services/api/openrouterFreeModels';
import { threadApi } from '../../services/api/threadApi';
import { fetchThreadTokenUsage } from '../../services/api/threadUsageApi';