Explorar o código

Fix question display logic when not streaming (#1931)

Matt Rubens hai 11 meses
pai
achega
f07c7e6f0c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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])
 	}, [message.ask, message.say, message.text])
 
 
 	const followUpData = useMemo(() => {
 	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 JSON.parse(message.text || "{}")
 		}
 		}
 		return null
 		return null