From ac57bd0209879a21e9062278d8abc6393e744762 Mon Sep 17 00:00:00 2001 From: daniel-lxs Date: Mon, 3 Nov 2025 11:24:06 -0500 Subject: [PATCH] fix: properly handle streaming state when api_req_started has no cost When api_req_started exists without cost or cancelReason fields, the API request is still in progress and should be treated as streaming. Only return false when cost (completed) or cancelReason (cancelled) are present. --- webview-ui/src/components/chat/ChatView.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx index 0aab84125c..328fb3f7f4 100644 --- a/webview-ui/src/components/chat/ChatView.tsx +++ b/webview-ui/src/components/chat/ChatView.tsx @@ -560,6 +560,9 @@ const ChatViewComponent: React.ForwardRefRenderFunction