Structs§
- Assistant
Text Chunk - Assistant
Text Stream Parser - Parses assistant text streaming markup in one pass:
- Citation
Stream Parser - Stream parser for
<oai-mem-citation>...</oai-mem-citation>tags. - Extracted
Inline Tag - One hidden inline tag extracted by
InlineHiddenTagParser. - Inline
Hidden TagParser - Generic streaming parser that hides configured inline tags and extracts their contents.
- Inline
TagSpec - Literal tag specification used by
InlineHiddenTagParser. - Proposed
Plan Parser - Parser for
<proposed_plan>blocks emitted in plan mode. - Stream
Text Chunk - Incremental parser result for one pushed chunk (or final flush).
- Utf8
Stream Parser - Wraps a
StreamTextParserand accepts raw bytes, buffering partial UTF-8 code points.
Enums§
- Proposed
Plan Segment - Utf8
Stream Parser Error - Error returned by
Utf8StreamParserwhen streamed bytes are not valid UTF-8.
Traits§
- Stream
Text Parser - Trait for parsers that consume streamed text and emit visible text plus extracted payloads.
Functions§
- extract_
proposed_ plan_ text - strip_
citations - Strip citation tags from a complete string and return
(visible_text, citations). - strip_
proposed_ plan_ blocks