Files
pipecat/changelog
kollaikal-rupesh 80bd935c19 Add ServiceSwitcherStrategyFailover for automatic failover on service errors (#3870)
* Add ServiceSwitcherStrategyFailover for automatic error-based service switching

Introduce a strategy hierarchy: ServiceSwitcherStrategy (base) →
ServiceSwitcherStrategyManual (handles ManuallySwitchServiceFrame) →
ServiceSwitcherStrategyFailover (adds error-based failover). ServiceSwitcher
now defaults to ServiceSwitcherStrategyManual with strategy_type optional.
Non-fatal ErrorFrames are forwarded to the strategy via handle_error().

* Move metadata request into _set_active_if_available

Requesting metadata is part of making a service active, so it belongs
alongside setting _active_service and firing on_service_switched. This
removes the duplicate queue_frame calls from ServiceSwitcher push_frame
and process_frame.
2026-03-10 15:37:30 -04:00
..
2026-03-02 11:22:33 -03:00
2026-03-03 20:09:26 -05:00
2026-03-04 09:42:01 -05:00
2026-03-04 16:58:28 -06:00
2026-03-04 17:37:32 -08:00
2026-03-04 17:37:32 -08:00
2026-03-05 16:16:41 -08:00
2026-03-07 07:42:42 -05:00
2026-03-08 19:02:51 -07:00
2026-03-08 10:44:45 -04:00
2026-03-10 11:34:03 -04:00
2026-03-10 11:34:03 -04:00
2026-03-10 13:36:15 +01:00
2026-03-09 15:05:20 -04:00
2026-03-09 20:47:42 -07:00
2026-03-10 19:29:47 +09:00
2026-03-10 07:48:02 -04:00
2026-03-10 09:26:26 -07:00