refine(tui): clarify model telemetry

This commit is contained in:
Xubin Ren
2026-08-17 20:56:10 +08:00
parent f1ebd8c4c6
commit c65127f791
3 changed files with 39 additions and 19 deletions
+3 -2
View File
@@ -1381,8 +1381,9 @@ describe("NanobotTui layout", () => {
const footer = setup.captureCharFrame().split("\n").find((line) => line.includes("Ready · 1.7s")) || ""
expect(footer).toContain("Ready · 1.7s")
expect(footer).toContain("50 tok/s")
expect(footer).toContain("cache 75%")
expect(footer).toContain("↑1.2k ↓80")
expect(footer).toContain("1.2K in · 80 out")
expect(footer).toContain("75% cached")
expect(footer).not.toContain("TTFT")
expect(footer).not.toContain("enter send")
app.accept({ event: "reasoning_delta", chat_id: "chat", text: "hidden" })