Skip to main content

split_thinking

Function split_thinking 

Source
pub fn split_thinking(text: &str) -> (Option<String>, String)
Expand description

Format <think>...</think> blocks as separate sections for display. Returns the thinking text and the final answer as a tuple.