Skip to main content

MODEL_CONTEXT_KEY

Constant MODEL_CONTEXT_KEY 

pub const MODEL_CONTEXT_KEY: &'static str;
Expand description

The context key under which a message names the model its run is asked of: {"model": "<alias>"}, an alias the agent was given a profile for (LlmAgentBuilder::model_choices); the engine’s Say::model sets it. It holds for the run until a later message names another. Not a protected key, and ignored by an agent given no choices (ADR 0064, amended 2026-11-23).