Skip to main content

Module replay

Module replay 

Source
Expand description

Replay engine and the LlmBackend trait.

See SPEC.md §10 for the lifecycle and SPEC §10 for the algorithm.

Re-exports§

pub use backend::LlmBackend;
pub use backend::LlmError;
pub use engine::run_replay;
pub use engine::Clock;
pub use engine::FixedClock;
pub use engine::ReplayError;
pub use mock::MockLlm;

Modules§

backend
The LlmBackend trait — one complete call maps a chat_request payload to a chat_response payload.
engine
Replay engine.
mock
MockLlm — deterministic backend that replays recorded responses.