Skip to content

TUI footer shows 0/200k tokens instead of configured contextTokens (1M) #11067

@m1-2260

Description

@m1-2260

Bug

The TUI footer displays 0/200k token usage, ignoring the contextTokens: 1000000 value set in config.

Expected

Footer should show 0/1000k (or 0/1M) to reflect the configured context window.

Config

"agents": {
  "defaults": {
    "model": { "primary": "anthropic/claude-opus-4-6" },
    "contextTokens": 1000000
  }
}

Environment

  • OpenClaw version: 2026.2.6-3
  • Model: anthropic/claude-opus-4-6
  • OS: macOS (Apple Silicon)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions