pub fn map_stop_reason(value: &str) -> StopReason
Maps a provider stop-reason string into the unified enum.