From e71a3c1a9e526287c30d69ad816a804efccfcf78 Mon Sep 17 00:00:00 2001 From: Felarof Date: Wed, 21 Jan 2026 08:04:41 -0800 Subject: [PATCH] fix: disable conversation delete on reset for now (#258) --- .../entrypoints/sidepanel/index/useChatSession.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/agent/entrypoints/sidepanel/index/useChatSession.ts b/apps/agent/entrypoints/sidepanel/index/useChatSession.ts index 377c537e..f85489e6 100644 --- a/apps/agent/entrypoints/sidepanel/index/useChatSession.ts +++ b/apps/agent/entrypoints/sidepanel/index/useChatSession.ts @@ -353,11 +353,11 @@ export const useChatSession = () => { setLiked({}) setDisliked({}) - if (agentServerUrl && oldConversationId) { - fetch(`${agentServerUrl}/chat/${oldConversationId}`, { - method: 'DELETE', - }).catch(() => {}) - } + // if (agentServerUrl && oldConversationId) { + // fetch(`${agentServerUrl}/chat/${oldConversationId}`, { + // method: 'DELETE', + // }).catch(() => {}) + // } } return {