Skip to main content

REASONING_EFFORT_KEY

Constant REASONING_EFFORT_KEY 

Source
pub(crate) const REASONING_EFFORT_KEY: &str = "reasoning_effort";
Expand description

Wire key for InferenceConfig::reasoning_effort.

Named rather than spelled twice because the body cleanup in request_pipeline::sampling deletes this exact key when the reader refuses a level, and a typo there would be a silent no-op — nothing else in the system would notice a reasoning_effort that was never removed.