diff --git a/src/config/schema.rs b/src/config/schema.rs index ca5230d31..1b1b937c1 100644 --- a/src/config/schema.rs +++ b/src/config/schema.rs @@ -4011,6 +4011,12 @@ pub struct ReliabilityConfig { pub fallback_providers: Vec, /// Optional per-fallback provider API keys keyed by fallback entry name. /// This allows distinct credentials for multiple `custom:` endpoints. + /// + /// Contract: + /// - Default/omitted (`{}` via `#[serde(default)]`): no per-entry override is used. + /// - Compatibility: additive and non-breaking for existing configs that omit this field. + /// - Rollback/migration: remove this map (or specific entries) to revert to provider/env-based + /// credential resolution. #[serde(default)] pub fallback_api_keys: std::collections::HashMap, /// Additional API keys for round-robin rotation on rate-limit (429) errors.