Skip to content

ProviderFallbackInfo

Notification payload emitted when a fallback chain swaps the active provider.

Defined in: src/core/types/providers.ts:674

Notification payload emitted when a fallback chain swaps the active provider.

Remarks

Delivered to callbacks registered via onFallback, and re-emitted by CompositeVoice as the 'provider.fallback' SDK event.

See

ProviderFallbackReason for the possible reasons

Properties

PropertyTypeDescriptionDefined in
errorErrorThe error that triggered the swap.src/core/types/providers.ts:688
fromstringClass name of the provider that failed (e.g. 'DeepgramSTT').src/core/types/providers.ts:679
reasonProviderFallbackReasonWhy the swap happened.src/core/types/providers.ts:685
roleProviderRoleThe pipeline role the swap occurred in (currently always 'stt').src/core/types/providers.ts:676
tostringClass name of the provider now active (e.g. 'AssemblyAISTT').src/core/types/providers.ts:682

© 2026 CompositeVoice. All rights reserved.

Font size
Contrast
Motion
Transparency