fix(desktop): show last text part when summarized

This commit is contained in:
Adam
2025-12-20 06:12:54 -06:00
committed by Aiden Cline
parent 2912ba9526
commit 6e5d7fcae3

View File

@@ -499,7 +499,7 @@ export function SessionTurn(
)
return (
<Switch>
<Match when={response() && lastTextPart()?.id === last()?.id}>
<Match when={!summary() && response() && lastTextPart()?.id === last()?.id}>
<Message
message={assistantMessage}
parts={parts().filter((p) => p?.id !== last()?.id)}