Member Junction
    Preparing search index...

    Configuration for failover behavior when primary model fails.

    Exported because it is the return type of AIPromptRunner.getFailoverConfiguration, a protected method documented as an override point — a subclass cannot name its own return type otherwise, which made the documented extension point unusable from outside this package.

    interface FailoverConfiguration {
        delaySeconds: number;
        errorScope?: "All" | "NetworkOnly" | "RateLimitOnly" | "ServiceErrorOnly";
        maxAttempts: number;
        modelStrategy?:
            | "PreferSameModel"
            | "PreferDifferentModel"
            | "RequireSameModel";
        strategy: | "None"
        | "SameModelDifferentVendor"
        | "NextBestModel"
        | "PowerRank";
    }
    Index

    Properties

    delaySeconds: number
    errorScope?: "All" | "NetworkOnly" | "RateLimitOnly" | "ServiceErrorOnly"
    maxAttempts: number
    modelStrategy?: "PreferSameModel" | "PreferDifferentModel" | "RequireSameModel"
    strategy: "None" | "SameModelDifferentVendor" | "NextBestModel" | "PowerRank"