mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
Model name now shows when message completes
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
This commit is contained in:
parent
028840517b
commit
c30c0b29f5
1 changed files with 1 additions and 4 deletions
|
|
@ -953,10 +953,7 @@ function AssistantMessage(props: { message: AssistantMessage; parts: Part[]; las
|
|||
</box>
|
||||
</Show>
|
||||
<Show
|
||||
when={
|
||||
props.message.time.completed &&
|
||||
props.parts.some((item) => item.type === "step-finish" && item.reason !== "tool-calls")
|
||||
}
|
||||
when={props.message.time.completed}
|
||||
>
|
||||
<box paddingLeft={3}>
|
||||
<text marginTop={1}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue