Expand description
Replay engine.
Given a baseline trace and an LlmBackend, produce a candidate trace
with the same request order but LLM-derived responses freshly generated
by the backend. See SPEC §10 for the algorithm.
Structs§
- Fixed
Clock - A clock that returns a fixed incrementing counter. Used by tests.
Enums§
- Replay
Error - Errors from
run_replay.
Traits§
- Clock
- Clock abstraction so tests can pin timestamps.
Functions§
- run_
replay - Run a replay: walk
baseline, dispatch everychat_requesttobackend, and produce a fresh trace with the same structure.