ai-provider-mock
Enterprise Part of the commercial Kumiko Enterprise offering, not in the open framework.
Registers a scriptable in-memory LLM as the "mock" provider in ai-foundation, for use in demos, sample apps, and integration tests that need the full ai-foundation roundtrip without a real API call. Call getMockProvider(tenantId).script(...) to pre-load responses before exercising a feature handler. Not for production, returns a placeholder message when no script is queued.
How it fits
Section titled “How it fits”What this feature needs to run (Requires).
flowchart TB
n_ai_provider_mock["ai-provider-mock"]
subgraph how_reqs["Requires"]
n_ai_foundation["ai-foundation"]
end
n_ai_foundation --> n_ai_provider_mock
Dependencies
Section titled “Dependencies”- Requires:
ai-foundation - Activation: always on (not toggleable)
Extensions & cross-feature APIs
Section titled “Extensions & cross-feature APIs”- Registers extension:
llmProvider→mock