lc_testkit/lib.rs
1//! lc-testkit — a record/replay harness for the framework.
2//!
3//! Lets the framework self-test without an API key:
4//! - [`RecordingProvider`]: wraps any `BaseChatModel`, makes one real call, then appends the
5//! request/response pair to a JSONL file.
6//! - [`ReplayProvider`]: replays from the recording file in FIFO order, zero network.
7//!
8//! Data format and usage are described in `docs/internal/v0.16.0/HARNESS_DESIGN.md` Part A.
9
10mod error;
11mod recording;
12mod replay;
13
14pub use error::TestkitError;
15pub use recording::{RecordedExchange, Recorder, RecordingProvider};
16pub use replay::{ReplayProvider, ReplayStrategy};