fix(desktop): show last text part when summarized

This commit is contained in:
Adam 2025-12-20 06:12:54 -06:00
parent fdf5a70a27
commit e4a92f0084
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75

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)}