Expand description
Separating a model’s “thinking” spans (delimited by tags like
<think>…</think>) from its visible text as the stream arrives.
Structs§
- TagPair
- A matching pair of open/close thinking delimiters.
- Think
Splitter - A streaming splitter that separates thinking spans from visible text.
Enums§
- Piece
- A run of separated output: either visible text or hidden thinking.
Functions§
- default_
pairs - The default thinking delimiters recognized.
- has_
visible_ tags - Whether
textcontains any default thinking delimiter.