fix: cap context window resolution (#6187) (thanks @iamEvanYT)

This commit is contained in:
Ayaan Zaidi
2026-02-01 19:49:35 +05:30
committed by Ayaan Zaidi
parent 5d3c898a94
commit 0992c5a809
7 changed files with 50 additions and 58 deletions

View File

@@ -124,7 +124,7 @@ export function registerStatusHealthSessionsCommands(program: Command) {
["openclaw sessions --json", "Machine-readable output."],
["openclaw sessions --store ./tmp/sessions.json", "Use a specific session store."],
])}\n\n${theme.muted(
"Shows token usage per session when the agent reports it; set agents.defaults.contextTokens to see % of your model window.",
"Shows token usage per session when the agent reports it; set agents.defaults.contextTokens to cap the window and show %.",
)}`,
)
.addHelpText(