mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-09-04 10:11:46 +03:00
style(tui): simplify runtime header controls
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user