style(tui): simplify runtime header controls

This commit is contained in:
chengyongru authored and chengyongru committed 2026-08-31 17:03:24 +08:00
1 parent e69159cdae
commit 6d6d58d329
3 files changed
+20 -70

No files matched your search

+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()