Skip to main content

MODE_CONTEXT_KEY

Constant MODE_CONTEXT_KEY 

pub const MODE_CONTEXT_KEY: &'static str;
Expand description

The context key under which a message picks the mode its run works in (agent-mode/v1, ADR 0039 decision 3): {"mode": "<name>"}, one of the modes the agent’s folder declares. It holds for the run until a later message picks another, and a mode only narrows: the tools it does not list are withheld, and the access tier still caps every one it does.