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.
|
closes the menu without an extra POST.
|
||||||
A second separator + **effort quick-picker** section labelled
|
A second separator + **effort quick-picker** section labelled
|
||||||
`effort` appears when the backend declares effort levels in
|
`effort` appears when the backend declares effort levels in
|
||||||
`state.available_efforts`. One button per level (e.g. `medium`,
|
`state.available_efforts`. One button per level (e.g. `low`,
|
||||||
`high`, `xhigh`); clicking POSTs `/api/effort` (same endpoint as
|
`medium`, `high`, `xhigh`, `max`); clicking POSTs `/api/effort` (same endpoint as
|
||||||
the `/effort <level>` slash command). The active level's button is
|
the `/effort <level>` slash command). The active level's button is
|
||||||
highlighted; `renderEffortChip` keeps the picker in sync with
|
highlighted; `renderEffortChip` keeps the picker in sync with
|
||||||
`StateSnapshot.effort` from the cold-load snapshot.
|
`StateSnapshot.effort` from the cold-load snapshot.
|
||||||
|
|
@ -269,7 +269,7 @@ Slash commands today:
|
||||||
`/state/hyperhive-model` so the override survives harness
|
`/state/hyperhive-model` so the override survives harness
|
||||||
restart / rebuild.
|
restart / rebuild.
|
||||||
- `/effort <level>` — `POST /api/effort` setting the claude effort
|
- `/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
|
turn. The overflow menu surfaces an effort picker that calls the
|
||||||
same endpoint; both stay in sync via `StateSnapshot.effort`.
|
same endpoint; both stay in sync via `StateSnapshot.effort`.
|
||||||
- `/new-session` — `POST /api/new-session` (confirms first).
|
- `/new-session` — `POST /api/new-session` (confirms first).
|
||||||
|
|
@ -310,7 +310,7 @@ shaped).
|
||||||
future turns. `Bus::set_model` emits `ModelChanged`.
|
future turns. `Bus::set_model` emits `ModelChanged`.
|
||||||
- `POST /api/effort` (`effort=<level>`) — switch the claude
|
- `POST /api/effort` (`effort=<level>`) — switch the claude
|
||||||
effort level for future sessions. Validated server-side against
|
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
|
rejected rather than forwarded to `claude --effort`. Persists via
|
||||||
`Bus::set_effort`, which emits `EffortChanged`. Applies on the next
|
`Bus::set_effort`, which emits `EffortChanged`. Applies on the next
|
||||||
session start (no mid-session swap).
|
session start (no mid-session swap).
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue