style(tui): simplify runtime header controls

This commit is contained in:
chengyongru
2026-08-31 17:03:24 +08:00
committed by chengyongru
parent e69159cdae
commit 6d6d58d329
3 changed files with 20 additions and 70 deletions
+1 -4
View File
@@ -309,10 +309,7 @@ export class RuntimeControls {
}
private render(): void {
const runtime = this.modelPreset !== "default"
? [this.modelPreset, this.model].filter(Boolean).join(" ")
: this.model
this.modelText.content = ` ${runtime}`
this.modelText.content = `${this.modelPreset}`
const access = this.scope.access_mode === "full" ? "full access" : "workspace access"
this.accessText.content = ` ${access}`
this.renderColors()