Procházet zdrojové kódy

Fix question display logic when not streaming (#1931)

Matt Rubens před 9 měsíci
rodič
revize
f07c7e6f0c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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