llm-provider-testing

Validate LLM provider integrations in AICA with mocked API responses.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/smitkhanparaZuru/AI-Coding-Automation --skill llm-provider-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llm-provider-testing
Source: https://github.com/smitkhanparaZuru/AI-Coding-Automation/tree/main/.github/skills/llm-provider-testing
Command: npx skills add https://github.com/smitkhanparaZuru/AI-Coding-Automation --skill llm-provider-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Comprehensive testing workflow for validating LLM provider integrations in AICA.

Core Features & Use Cases

  • Testing a new LLM provider implementation
  • Validating sync/async/streaming capabilities
  • Debugging provider connection or authentication issues
  • Ensuring retry logic and error handling
  • Verifying provider complies with BaseLLMProvider interface

Quick Start

Run the unit test suite for the chosen provider, using mocks to simulate API responses.

Frequently Asked Questions about llm-provider-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate a new LLM provider integration with unit tests?

To validate LLM provider integrations, run pytest unit tests that mock API responses to exercise generate, stream, async_generate, and async_stream methods. This ensures required files and registrations exist and comply with the BaseLLMProvider interface.

What does end-to-end LLM provider testing cover?

End-to-end LLM provider testing covers unit, integration, and manual tests. It validates streaming capabilities, authentication flows, retry logic, and error handling to ensure the provider functions reliably within the AICA ecosystem.

How do I test async and streaming capabilities for an LLM provider?

You test async and streaming capabilities by running tests that explicitly exercise the async_generate and async_stream methods. This process uses mocked API responses to validate the provider's asynchronous and streaming behaviors without real network calls.

Can I debug LLM provider authentication and retry logic using pytest?

Yes, you can debug LLM provider authentication and retry logic using pytest. The testing workflow applies mocked API responses to simulate connection failures and authentication errors, verifying that the provider's error handling and retry mechanisms work correctly.

What is the best way to ensure an LLM provider complies with the BaseLLMProvider interface?

The best way to ensure BaseLLMProvider interface compliance is to run an automated validation suite that checks for required files, registrations, and the correct implementation of generate, stream, async_generate, and async_stream methods using mocked responses.