mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
chore: cleanup
This commit is contained in:
parent
ce2763720e
commit
58ad4359da
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ function partState(part: PartType, showReasoningSummaries: boolean) {
|
|||
}
|
||||
if (part.type === "text") return part.text?.trim() ? ("visible" as const) : undefined
|
||||
if (part.type === "reasoning") {
|
||||
if (showReasoningSummaries) return "visible" as const
|
||||
if (showReasoningSummaries && part.text?.trim()) return "visible" as const
|
||||
return
|
||||
}
|
||||
if (PART_MAPPING[part.type]) return "visible" as const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue