Skip to content

Commit 3589dcd

Browse files
committed
docs(docs/configuration/budget/index.md): updating up the budget docs
1 parent f02c703 commit 3589dcd

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

docs/configuration/budget/index.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,17 +110,16 @@ Unlike [`max_iterations`](../agents/index.md), a budget stop is **terminal** —
110110

111111
## Tracking spend in the TUI
112112

113-
The sidebar's Token Usage panel lists every active budget by name, with consumption against each ceiling it declares. Where more than one agent draws on a budget, it breaks the total down per agent — biggest spender first — with that agent's cost, tokens, and active time:
113+
The sidebar's Token Usage panel lists every active budget by name, with consumption against each ceiling it declares:
114114

115115
```text
116116
run $0.12/$0.50 · 12.3K/100.0K · 2m14s/10m
117-
developer $0.09 · 8.0K · 1m12s
118-
root $0.03 · 4.3K · 1m02s
119117
shell-work $0.09/$0.10 · 4.3K/20.0K
120-
developer $0.09 · 4.3K · 1m12s
121118
```
122119

123-
Only the ceilings you configured appear, and a budget drawn on by a single agent omits the breakdown. Each reading warns once it passes 80% of its limit, so a run about to be stopped is visible before it stops.
120+
Only the ceilings you configured appear. Each reading is colored by the sidebar's shared gauge bands — the same ones a context gauge uses as it nears compaction — so a budget turns amber well before its ceiling and red just short of it, and a run about to be stopped is visible before it stops.
121+
122+
For a per-agent view of who spent what, set **Sidebar info mode** to `Detailed` in `/settings` → Appearance: the Agents section then reports each agent's cost alongside its effort and context. The budget line deliberately does not repeat that breakdown — the same numbers twice would crowd the sidebar's narrowest column. The per-agent split is still carried on the `budget_usage` event for programmatic consumers, and `/cost` has a **By Agent** section.
124123

125124
## Limits and caveats
126125

0 commit comments

Comments
 (0)