Skip to content

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.

What this feature needs to run (Requires, top) and the write commands it provides (Provides, bottom).

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
  • Registers extension: llmProvidermock