Skip to main content

split_reasoning

Function split_reasoning 

Source
pub fn split_reasoning(text: &str) -> (String, String)
Expand description

Format-aware reasoning split: channel-marker output (E2B/gpt-oss <|channel>thought…<channel|>) goes through split_channels, everything else through split_think. THE one entry point for “what part of this reply was reasoning” — history stripping and batch consumers use this.