Expand description
Strict terminal-output parsing for the GPT-OSS Harmony wire protocol.
This intentionally supports only Ferrum’s first product slice: a direct final answer, one analysis message followed by a final answer, or one analysis message followed by a function call on the commentary channel.
Structs§
- Harmony
Tool Call - A validated function call emitted through the Harmony commentary channel.
- Parsed
Harmony Response - Product-facing terminal result of a complete Harmony model output.
Functions§
- parse_
harmony_ response - Parse one complete decoded GPT-OSS Harmony response.
- parse_
length_ truncated_ harmony_ response - Parse a Harmony response that the engine stopped at its token limit.