fix(tui): show context window usage in footer (#5679)
* fix(tui): show context window usage in footer * refactor(tui): simplify context footer usage
This commit is contained in:
1 parent
192e2e90dc
commit
5eb9039f0e
4 files changed
+33
-110
No files matched your search
+2
-2
@@ -1914,8 +1914,8 @@ export class NanobotTui {
|
||||
: "ready"
|
||||
if (mode === "ready") {
|
||||
this.meta.content = footerTelemetry(
|
||||
this.lastUsage,
|
||||
this.renderer.width,
|
||||
this.lastUsage?.context_tokens ?? null,
|
||||
this.contextWindowTokens,
|
||||
footerHintTheme(this.palette),
|
||||
)
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user