From fe8f6d7a3eef34e932bd43d244460d417865de88 Mon Sep 17 00:00:00 2001
From: Adam <2363879+adamdotdevin@users.noreply.github.com>
Date: Fri, 24 Oct 2025 08:26:17 -0500
Subject: wip: desktop work

---
 packages/desktop/src/context/local.tsx | 6 ------
 1 file changed, 6 deletions(-)

(limited to 'packages/desktop/src/context/local.tsx')

diff --git a/packages/desktop/src/context/local.tsx b/packages/desktop/src/context/local.tsx
index 981039bb6..6ed8ec17b 100644
--- a/packages/desktop/src/context/local.tsx
+++ b/packages/desktop/src/context/local.tsx
@@ -467,11 +467,6 @@ export const { use: useLocal, provider: LocalProvider } = createSimpleContext({
         )
       })
 
-      const activeAssistantMessagesWithText = createMemo(() => {
-        if (!store.active || !activeAssistantMessages()) return []
-        return activeAssistantMessages()?.filter((m) => sync.data.part[m.id].find((p) => p.type === "text"))
-      })
-
       const model = createMemo(() => {
         if (!last()) return
         const model = sync.data.provider.find((x) => x.id === last().providerID)?.models[last().modelID]
@@ -510,7 +505,6 @@ export const { use: useLocal, provider: LocalProvider } = createSimpleContext({
         active,
         activeMessage,
         activeAssistantMessages,
-        activeAssistantMessagesWithText,
         lastUserMessage,
         cost,
         last,
-- 
cgit v1.2.3

