Skip to content

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’s connect() rejected
  • 'connect-timeout' — the provider’s connect() exceeded the chain’s connect timeout
  • 'stream-error' — the provider reported an error mid-session (an error transcription result or a throwing sendAudio())

See

ProviderFallbackInfo for the full notification payload

© 2026 CompositeVoice. All rights reserved.

Font size
Contrast
Motion
Transparency