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
LlmBackendtrait — onecompletecall maps achat_requestpayload to achat_responsepayload. - engine
- Replay engine.
- mock
MockLlm— deterministic backend that replays recorded responses.