mirror of
https://github.com/aljazceru/goose.git
synced 2025-12-17 22:24:21 +01:00
docs: add CLI token usage (#2857)
Co-authored-by: Rizel Scarlett <rizel@squareup.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user