Expand description
Test doubles for the Agent seams: a scripted ChatModel that replays a
queue of responses and records every request it received.
Structs§
- Scripted
Model - Replays queued responses in order and streams each response’s text as one
delta. An exhausted script fails the request with a decode-style
LlmErrorso a test never hangs on a missing response.