TypeScript module exporting inferred router configuration types for LLM/TTS/ASR services.
// Source: https://github.com/moeru-ai/airi | License: MIT | Copyright 2024-PRESENT Neko Ayaka
// Provided via justclaw.it.com; keep this notice with the code.
import type { InferOutput } from 'valibot'
import type { GenerationProtocol } from '../../../schemas/generation-protocol'
// NOTICE:
// The Valibot schemas in `services/adapters/config-kv/definitions.ts` are the single source of
// truth for the router config tree. We re-export inferred types so downstream
// modules don't redeclare the shape. New fields belong in that file, not
// here.
// Source: server/apps/api/src/services/adapters/config-kv/definitions.ts (llmRouterConfigSchema).
import type {
asrModelSchema,
asrUpstreamSchema,
fallbackTriggersSchema,
keyEntrySchema,
llmModelSchema,
llmRouterConfigSchema,
llmRout
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key