Procházet zdrojové kódy

fix(desktop): show last text part when summarized

Adam před 8 měsíci
rodič
revize
e4a92f0084
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)}