import type { NameEnum } from './NameEnum'; import type { ScopeC1dEnum } from './ScopeC1dEnum'; /** * Serializer for creating FallbackLLM configuration. */ export type FallbackLLMCreate = { /** * Whether this fallback applies to a specific model or entire provider * * * `model` - Model Specific * * `provider` - Provider Wide */ scope?: ScopeC1dEnum; /** * Tenant key. Leave empty for global configuration. */ tenant_key?: string | null; /** * Source provider name (e.g., 'openai') */ source_provider_name: NameEnum; /** * Source model name (required for model scope) */ source_model_name?: string | null; /** * Fallback provider name */ fallback_provider_name: NameEnum; /** * Fallback model name */ fallback_model_name: string; /** * Whether this fallback configuration is active */ is_enabled?: boolean; };