more flickering fixes
This commit is contained in:
parent
e03a41144a
commit
b52b7c6ded
1 changed files with 3 additions and 1 deletions
|
|
@ -1041,7 +1041,9 @@ function AssistantMessage(props: { message: AssistantMessage; parts: Part[]; las
|
||||||
<Match
|
<Match
|
||||||
when={
|
when={
|
||||||
(props.message.time.completed &&
|
(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
|
props.last
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue