Skip to main content

build_transcript_compile_request

Function build_transcript_compile_request 

Source
pub fn build_transcript_compile_request(
    input: TranscriptCompileInput,
) -> Result<(CompileRequest, SegmentationReport), MemoryError>
Expand description

Segment input.transcript and assemble the CompileRequest a binding then hands to compile_context, plus the SegmentationReport it returns next to the compiled context.

§Errors

MemoryError::SegmentationError for an empty transcript — mirroring the MCP tool’s own guard, since segment_transcript has none of its own (an empty string is a valid, if useless, zero-turn input to it) — or whatever segment_transcript itself returns: a genuine budget/cap breach, or a forced-format parse failure.