crosscheck-mcp 0.2.14 → 0.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -436,6 +436,15 @@ interface Provider {
436
436
  readonly name: string;
437
437
  /** Default model for this provider (env-resolved at factory time). */
438
438
  readonly model: string;
439
+ /** Ordered fallback models — "greenlight" candidates to try, in order,
440
+ * when `model` comes back with a model-access failure (the account/
441
+ * project doesn't have it enabled) rather than any other kind of
442
+ * error. Env-resolved at factory time from `<PROVIDER>_MODEL_
443
+ * FALLBACKS`, or set from a user's/org's configured chain. Empty for
444
+ * most providers — a bad key or rate limit isn't fixed by switching
445
+ * models, so this is only ever consulted for that one failure mode
446
+ * (see core/model-fallback.ts). */
447
+ readonly fallbackModels?: readonly string[];
439
448
  /** Make a request and return the parsed result. Throws `ProviderError`
440
449
  * on classified failures (auth, rate_limit, timeout, server, parse,
441
450
  * network, client). */
@@ -436,6 +436,15 @@ interface Provider {
436
436
  readonly name: string;
437
437
  /** Default model for this provider (env-resolved at factory time). */
438
438
  readonly model: string;
439
+ /** Ordered fallback models — "greenlight" candidates to try, in order,
440
+ * when `model` comes back with a model-access failure (the account/
441
+ * project doesn't have it enabled) rather than any other kind of
442
+ * error. Env-resolved at factory time from `<PROVIDER>_MODEL_
443
+ * FALLBACKS`, or set from a user's/org's configured chain. Empty for
444
+ * most providers — a bad key or rate limit isn't fixed by switching
445
+ * models, so this is only ever consulted for that one failure mode
446
+ * (see core/model-fallback.ts). */
447
+ readonly fallbackModels?: readonly string[];
439
448
  /** Make a request and return the parsed result. Throws `ProviderError`
440
449
  * on classified failures (auth, rate_limit, timeout, server, parse,
441
450
  * network, client). */