An inference fallback produced content-bearing synthesis output.

interface FallbackActivatedEvent {
    cause: "timeout" | "unknown" | "provider_error" | "quota_exceeded";
    fallbackType: "unknown" | "fallback" | "system_default";
    model: string;
    provider: string;
    sessionId: string;
    voice: string;
}

Properties

cause: "timeout" | "unknown" | "provider_error" | "quota_exceeded"

Why the previous candidate was abandoned. Values the SDK does not recognize become unknown.

fallbackType: "unknown" | "fallback" | "system_default"

fallback is a model from the caller's fallback list; system_default is the gateway's default. Values the SDK does not recognize become unknown.

model: string

Model now serving synthesis.

provider: string

Provider now serving synthesis.

sessionId: string

Inference gateway session that switched to the fallback.

voice: string

Voice now serving synthesis.