Sets a single response that will be returned for all calls
Sets multiple responses that will be returned in sequence
Gets the call history for assertions
Gets the last call made to the provider
Gets the number of calls made
Clears all responses and call history
Implements chat method
Implements streamChat method
Implements embeddings method
Mock LLM Provider for testing AI agents without making actual API calls.
Example