Docs Index
ai providers.md

Proof Card: AI Providers (OpenAI, Claude, OpenRouter, LMStudio)

Status: production Last verified: 2026-04-28 · git sha 562e3ab4

Claim

Four AI providers are wired against real LLM APIs:

Each provider extends a common AIProvider interface with chat(), generateMappingSuggestions(), and assessQuality() methods. They are not mocks of each other or wrappers around a fixture proxy — each issues fetch() directly against its provider's REST endpoint with the right auth header.

Source

Tests

Live vs Fixture

Known Gaps

Verification (60-second AI-reviewer recipe)

npm test -- tests/unit/services/ai/providers/ProviderFactories.test.ts
grep -n "api.openai.com\|api.anthropic.com\|openrouter.ai" src/services/ai/providers/*.ts
grep -n "global.fetch\|fetch(" src/services/ai/providers/OpenAIProvider.ts src/services/ai/providers/ClaudeProvider.ts | head -10

The first grep proves the three cloud hosts are real string literals in the source. The second grep proves the providers call the global fetch API directly — they aren't routing through a mock layer.