more flickering fixes
parent
e03a41144a
commit
b52b7c6ded
|
|
@ -1041,7 +1041,9 @@ function AssistantMessage(props: { message: AssistantMessage; parts: Part[]; las
|
|||
<Match
|
||||
when={
|
||||
(props.message.time.completed &&
|
||||
props.parts.some((item) => item.type === "step-finish" && item.reason !== "tool-calls")) ||
|
||||
props.parts.some(
|
||||
(item) => item.type === "step-finish" && !["tool-calls", "unknown"].includes(item.reason),
|
||||
)) ||
|
||||
props.last
|
||||
}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in New Issue