/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { LLMModelRegistryMinimal } from './LLMModelRegistryMinimal'; import type { LLMProviderMinimal } from './LLMProviderMinimal'; import type { ScopeC1dEnum } from './ScopeC1dEnum'; /** * Serializer for FallbackLLM configuration. */ export type FallbackLLM = { readonly id: number; /** * Whether this fallback applies to a specific model or entire provider * * * `model` - Model Specific * * `provider` - Provider Wide */ scope?: ScopeC1dEnum; /** * The provider whose models this fallback applies to */ source_provider: number; readonly source_provider_detail: LLMProviderMinimal; /** * Specific model this fallback applies to (only for model scope) */ source_model: number | null; readonly source_model_detail: LLMModelRegistryMinimal; /** * The provider to use as fallback */ fallback_provider: number; readonly fallback_provider_detail: LLMProviderMinimal; /** * The model to use as fallback */ fallback_model: number; readonly fallback_model_detail: LLMModelRegistryMinimal; /** * Tenant this config applies to. Null means global. */ tenant: number | null; readonly tenant_key: string; /** * Whether this fallback configuration is active */ is_enabled?: boolean; readonly created_at: string; readonly updated_at: string; };