Explorar o código

fix(desktop): show last text part when summarized

Adam hai 8 meses
pai
achega
e4a92f0084
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)}