Plan or Run, in the composer bar beside the model.
Plan asks what it needs and writes a plan that runs only when you say so; Run starts at once. It is a per-message choice, so it sits where the message is sent rather than in a settings page somebody has to remember to visit before typing.
Each option carries its label as its accessible name and its hint as a title, so the compact, icons-only form still says Plan and Run to a screen reader.
import { ComposerMode } from '@redrob-labs/ui';
| Prop | Type | Notes |
|---|---|---|
value |
string |
|
defaultValue |
string |
|
onChange |
(value: string, option: ComposerModeOption) => void |
|
options |
ComposerModeOption[] |
|
compact |
boolean |
Icons only, labels kept for screen readers. Automatic below 560px. |
label |
string |
|
className |
string |