Browse Source

Fix question display logic when not streaming (#1931)

Matt Rubens 11 months ago
parent
commit
f07c7e6f0c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      webview-ui/src/components/chat/ChatRow.tsx

+ 1 - 1
webview-ui/src/components/chat/ChatRow.tsx

@@ -252,7 +252,7 @@ export const ChatRowContent = ({
 	}, [message.ask, message.say, message.text])
 
 	const followUpData = useMemo(() => {
-		if (message.type === "ask" && message.ask === "followup" && message.partial === false) {
+		if (message.type === "ask" && message.ask === "followup" && !message.partial) {
 			return JSON.parse(message.text || "{}")
 		}
 		return null