mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix(desktop): show last text part when summarized
This commit is contained in:
parent
fdf5a70a27
commit
e4a92f0084
1 changed files with 1 additions and 1 deletions
|
|
@ -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)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue