Constant PROTECTED_CONTEXT_KEYS
pub const PROTECTED_CONTEXT_KEYS: &'static [&'static str];Expand description
The context keys that must survive a context the run drops: the limits on the agent (the
access tier the person picked, the mode it works in, who the message was sent for, the reasoning
effort it activated, and that nobody answers the run,
adam_runtime::UNATTENDED_CONTEXT_KEY) and the interface
language the person is speaking (LOCALE_CONTEXT_KEY). A message always sets them, even
when the rest of its context is over MAX_CONTEXT_BYTES and dropped (otherwise a large
catalog next to a plan tier would lift the limit, or the agent would answer in a language it
picked itself), and a child run starts with the ones its parent has
(ToolCtx::start_child). Each value is at most
MAX_PROTECTED_VALUE_BYTES; a larger one is ignored.