Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions documentation/docs/guides/smart-context-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,22 +141,30 @@ Key information has been preserved while reducing context length.
</Tabs>

### Token usage
After sending your first message, Goose Desktop and Goose CLI display token usage.

<Tabs>
<TabItem value="ui" label="Goose Desktop" default>
After sending your first message to Goose, a colored circle appears next to the model name at the bottom of the session window. The color provides a visual indicator of your token usage for the session.
The Desktop displays a colored circle next to the model name at the bottom of the session window. The color provides a visual indicator of your token usage for the session.
- **Green**: Normal usage - Plenty of context space available
- **Orange**: Warning state - Approaching limit (80% of capacity)
- **Red**: Error state - Context limit reached

Hover over this circle to display:
- the number of tokens used
- the percentage of available tokens used
- the total available tokens
- The number of tokens used
- The percentage of available tokens used
- The total available tokens
- A progress bar showing your current token usage

</TabItem>
<TabItem value="cli" label="Goose CLI">
This functionality is not available in the Goose CLI.
The CLI displays a context label above each command prompt, showing:
- A visual indicator using dots (●○) and colors to represent your token usage:
- **Green**: Below 50% usage
- **Yellow**: Between 50-85% usage
- **Red**: Above 85% usage
- Usage percentage
- Current token count and context limit

</TabItem>
</Tabs>
Loading