ProviderFallbackReason
Why a fallback chain swapped to another provider.
type ProviderFallbackReason = "init-error" | "connect-error" | "connect-timeout" | "stream-error";
Defined in: src/core/types/providers.ts:658
Why a fallback chain swapped to another provider.
Remarks
'init-error'— the provider failed to initialize during agent startup'connect-error'— the provider’sconnect()rejected'connect-timeout'— the provider’sconnect()exceeded the chain’s connect timeout'stream-error'— the provider reported an error mid-session (an error transcription result or a throwingsendAudio())
See
ProviderFallbackInfo for the full notification payload