From 604dbd7bb0826357d9bd84780089338b179cd3ed Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Sun, 26 Oct 2025 09:43:01 -0700 Subject: [PATCH] fix: error_retry message breaking browser session row flow (#7106) --- webview-ui/src/components/chat/BrowserSessionRow.tsx | 4 +++- .../src/components/chat/chat-view/utils/messageUtils.ts | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/webview-ui/src/components/chat/BrowserSessionRow.tsx b/webview-ui/src/components/chat/BrowserSessionRow.tsx index e71643c2..0e48888c 100644 --- a/webview-ui/src/components/chat/BrowserSessionRow.tsx +++ b/webview-ui/src/components/chat/BrowserSessionRow.tsx @@ -198,7 +198,8 @@ const BrowserSessionRow = memo((props: BrowserSessionRowProps) => { message.say === "api_req_started" || message.say === "text" || message.say === "reasoning" || - message.say === "browser_action" + message.say === "browser_action" || + message.say === "error_retry" ) { // These messages lead to the next result, so they should always go in nextActionMessages nextActionMessages.push(message) @@ -539,6 +540,7 @@ const BrowserSessionRowContent = memo( case "api_req_started": case "text": case "reasoning": + case "error_retry": return (