-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Context progress bar not resetting after /clear command #5651
Description
Describe the bug
💡 Before filing, please check common issues:
https://block.github.io/goose/docs/troubleshooting
📦 To help us debug faster, attach your diagnostics zip if possible.
👉 How to capture it: https://block.github.io/goose/docs/troubleshooting/diagnostics-and-reporting/
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Start a Goose CLI session
- Send several messages to build up context usage (e.g., ask multiple questions)
- Observe the context progress bar showing token usage (e.g., Context: ●●●●●●●○○○ 70% (189053/272000 tokens))
- Type /clear to clear the chat context
- Observe that the context progress bar still shows the old percentage instead of resetting to 0%
Expected behavior
After running /clear, the context progress bar should reset to show 0% usage with all empty circles:
Context: ○○○○○○○○○○ 0% (0/272000 tokens)
Please provide the following information
- OS & Arch: macOS 26
- Interface: CLI
- Version: 1.13.0
- Extensions enabled: chromedevtools, developer, computercontroller, todo
- Provider & Model: OpenAI – gpt-5
Additional context
Add any other context about the problem here.
