Skip to content

Commit b52b7c6

Browse files
committed
more flickering fixes
1 parent e03a411 commit b52b7c6

File tree

1 file changed

+3
-1
lines changed
  • packages/opencode/src/cli/cmd/tui/routes/session

1 file changed

+3
-1
lines changed

packages/opencode/src/cli/cmd/tui/routes/session/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,9 @@ function AssistantMessage(props: { message: AssistantMessage; parts: Part[]; las
10411041
<Match
10421042
when={
10431043
(props.message.time.completed &&
1044-
props.parts.some((item) => item.type === "step-finish" && item.reason !== "tool-calls")) ||
1044+
props.parts.some(
1045+
(item) => item.type === "step-finish" && !["tool-calls", "unknown"].includes(item.reason),
1046+
)) ||
10451047
props.last
10461048
}
10471049
>

0 commit comments

Comments
 (0)