fix(tui): remove redundant launch header details

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-29 14:34:01 +08:00
1 parent 509304f9bb
commit 3cf6ed60ce
3 files changed
+25 -11

No files matched your search

+1 -3
View File
@@ -911,7 +911,7 @@ export class NanobotTui {
this.renderer.console.onCopySelection = (text) => void this.copySelection(text)
this.handleResize()
this.composer.focus()
this.transcript.header(options)
this.transcript.header({ workspace: options.workspace, version: options.version })
}
static async create(options: AppOptions): Promise<NanobotTui> {
@@ -1435,10 +1435,8 @@ export class NanobotTui {
this.historyHasMore = false
this.historyLoadingOlder = false
this.transcript.reset({
model: this.modelName || this.modelPreset,
workspace: this.options.workspace,
version: this.options.version,
access: this.options.access,
})
}
if (restoring || (!this.historyLoaded && this.options.chatId)) {