model_intent

Function model_intent 

Source
pub fn model_intent(turn: &Value) -> Option<String>
Expand description

2026-09-26: The model’s intent code: the explicit intent: I123 form, searched over reasoning_content then content (the explicit pass covers both fields before the fallback runs over either), then the last bare I123 token as fallback. The explicit form is case-insensitive and upper-cased; the bare fallback is case-sensitive, as the fixture "maybe i123" pins.