From 4e355d944502aefe54edfdb348d35973a0e7e0f6 Mon Sep 17 00:00:00 2001 From: Michael Neale Date: Thu, 12 Mar 2026 19:10:17 +1100 Subject: [PATCH] fixes re-posting bug --- ui/desktop/src/hooks/useChatStream.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/desktop/src/hooks/useChatStream.ts b/ui/desktop/src/hooks/useChatStream.ts index c4732fbec0..f416584829 100644 --- a/ui/desktop/src/hooks/useChatStream.ts +++ b/ui/desktop/src/hooks/useChatStream.ts @@ -593,6 +593,7 @@ export function useChatStream({ }, throwOnError: true, signal: abortControllerRef.current.signal, + sseMaxRetryAttempts: 1, }); await streamFromResponse(stream, currentMessages, dispatch, onFinish, sessionId); @@ -634,6 +635,7 @@ export function useChatStream({ }, throwOnError: true, signal: abortControllerRef.current.signal, + sseMaxRetryAttempts: 1, }); await streamFromResponse(stream, currentMessages, dispatch, onFinish, sessionId); @@ -773,6 +775,7 @@ export function useChatStream({ }, throwOnError: true, signal: abortControllerRef.current.signal, + sseMaxRetryAttempts: 1, }); await streamFromResponse(stream, messagesForUI, dispatch, onFinish, targetSessionId);