Răsfoiți Sursa

fix(desktop): show last text part when summarized

Adam 3 luni în urmă
părinte
comite
e4a92f0084
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      packages/ui/src/components/session-turn.tsx

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