mod codec#

module codec#

LLM codec types, traits, and built-in implementations.

This module provides the type system and traits for bidirectional request codecs (traits::LlmCodec / request::AnnotatedLlmRequest), the decode-only response codec (traits::LlmResponseCodec / response::AnnotatedLlmResponse), and the streaming response codec (streaming::StreamingCodec) used with the managed streaming LLM execution pipeline.

Modules