mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
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
|
||||
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…
Add table
Add a link
Reference in a new issue