docs(agent-ui): update effort levels to include low and max
Three references to the effort level set in docs/web-ui/agent.md still listed the old three-item set (medium/high/xhigh). Update all three to match the expanded set added by PR 2221: low/medium/high/xhigh/max. Closes #2220 (docs side).
This commit is contained in:
parent
40bd868f65
commit
99347a24d9
1 changed files with 4 additions and 4 deletions
|
|
@ -96,8 +96,8 @@ through. Three flex columns:
|
|||
closes the menu without an extra POST.
|
||||
A second separator + **effort quick-picker** section labelled
|
||||
`effort` appears when the backend declares effort levels in
|
||||
`state.available_efforts`. One button per level (e.g. `medium`,
|
||||
`high`, `xhigh`); clicking POSTs `/api/effort` (same endpoint as
|
||||
`state.available_efforts`. One button per level (e.g. `low`,
|
||||
`medium`, `high`, `xhigh`, `max`); clicking POSTs `/api/effort` (same endpoint as
|
||||
the `/effort <level>` slash command). The active level's button is
|
||||
highlighted; `renderEffortChip` keeps the picker in sync with
|
||||
`StateSnapshot.effort` from the cold-load snapshot.
|
||||
|
|
@ -269,7 +269,7 @@ Slash commands today:
|
|||
`/state/hyperhive-model` so the override survives harness
|
||||
restart / rebuild.
|
||||
- `/effort <level>` — `POST /api/effort` setting the claude effort
|
||||
level (`medium` / `high` / `xhigh`). Takes effect on the next
|
||||
level (`low` / `medium` / `high` / `xhigh` / `max`). Takes effect on the next
|
||||
turn. The overflow menu surfaces an effort picker that calls the
|
||||
same endpoint; both stay in sync via `StateSnapshot.effort`.
|
||||
- `/new-session` — `POST /api/new-session` (confirms first).
|
||||
|
|
@ -310,7 +310,7 @@ shaped).
|
|||
future turns. `Bus::set_model` emits `ModelChanged`.
|
||||
- `POST /api/effort` (`effort=<level>`) — switch the claude
|
||||
effort level for future sessions. Validated server-side against
|
||||
`EFFORT_LEVELS` (`medium`/`high`/`xhigh`) — unknown values are
|
||||
`EFFORT_LEVELS` (`low`/`medium`/`high`/`xhigh`/`max`) — unknown values are
|
||||
rejected rather than forwarded to `claude --effort`. Persists via
|
||||
`Bus::set_effort`, which emits `EffortChanged`. Applies on the next
|
||||
session start (no mid-session swap).
|
||||
|
|
|
|||
Loading…
Reference in a new issue