When an agent makes more LLM calls than the cassette (or MockLLM) has responses for, agentverify raises CassetteMissingRequestError. For newcomers the failure is hard to read because the message does not say how far the run got. Adding the counts ("the agent made request N, but only M responses were recorded/queued") makes the cause obvious.
Acceptance criteria
- The
CassetteMissingRequestError message includes the index of the request that ran out and the total number of responses available.
- Wording works for both the cassette-replay path and the
MockLLM path (or each path passes its own count).
- A test asserts the new message contains both numbers.
- No change to when the error is raised, only to the message.
When an agent makes more LLM calls than the cassette (or
MockLLM) has responses for, agentverify raisesCassetteMissingRequestError. For newcomers the failure is hard to read because the message does not say how far the run got. Adding the counts ("the agent made request N, but only M responses were recorded/queued") makes the cause obvious.Acceptance criteria
CassetteMissingRequestErrormessage includes the index of the request that ran out and the total number of responses available.MockLLMpath (or each path passes its own count).