summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-12-20 06:12:54 -0600
committerAdam <[email protected]>2025-12-20 06:12:58 -0600
commite4a92f00843995deb7b5488ac137b2aa730b907e (patch)
tree499c92670917833b3b8dfd05a3e75ff08a15e2a6 /packages/ui/src
parentfdf5a70a2794493df0973bd0c4464bfd2e5065cf (diff)
downloadopencode-e4a92f00843995deb7b5488ac137b2aa730b907e.tar.gz
opencode-e4a92f00843995deb7b5488ac137b2aa730b907e.zip
fix(desktop): show last text part when summarized
Diffstat (limited to 'packages/ui/src')
-rw-r--r--packages/ui/src/components/session-turn.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/ui/src/components/session-turn.tsx b/packages/ui/src/components/session-turn.tsx
index bd65ffdc1..71e6689f6 100644
--- a/packages/ui/src/components/session-turn.tsx
+++ b/packages/ui/src/components/session-turn.tsx
@@ -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)}