fix(tui): remove encrypted label from thought header (#43588)

This commit is contained in:
Aiden Cline
2026-08-20 00:46:39 -05:00
committed by GitHub
parent f715478a13
commit f4a89683da
+1 -1
View File
@@ -1663,7 +1663,7 @@ function ReasoningHeader(props: {
? RGBA.fromValues(theme.warning.r, theme.warning.g, theme.warning.b, theme.thinkingOpacity)
: theme.warning
const completed = () => {
if (props.encrypted) return `Thought (encrypted)${props.duration ? ` · ${props.duration}` : ""}`
if (props.encrypted) return `Thought${props.duration ? ` · ${props.duration}` : ""}`
const detail = [props.title, props.duration].filter(Boolean).join(" · ")
return `${props.toggleable ? (props.open ? "- " : "+ ") : ""}Thought${detail ? `: ${detail}` : ""}`
}