[PR #12236] fix(opencode): align TUI context tokens with session totals #14130

Open
opened 2026-02-16 18:18:56 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12236

State: open
Merged: No


Fixes #3322

What does this PR do?

Aligns TUI token totals with session-wide assistant token aggregation (matching web), while keeping the context percentage based on the last assistant message.

How did you verify your code works?

Ran the TUI and web to confirm the displayed token totals match.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12236 **State:** open **Merged:** No --- Fixes #3322 ### What does this PR do? Aligns TUI token totals with session-wide assistant token aggregation (matching web), while keeping the context percentage based on the last assistant message. ### How did you verify your code works? Ran the TUI and web to confirm the displayed token totals match.
yindo added the pull-request label 2026-02-16 18:18:56 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14130