FallbackStrategy
constFallbackStrategy:object
Defined in: packages/ai.matey.types/src/router.ts:25
Fallback strategies for handling backend failures.
Type Declaration
Section titled “Type Declaration”CUSTOM
Section titled “CUSTOM”
readonlyCUSTOM:"custom"='custom'
Use custom fallback logic.
readonlyNONE:"none"='none'
No fallback - fail immediately if primary backend fails.
PARALLEL
Section titled “PARALLEL”
readonlyPARALLEL:"parallel"='parallel'
Try all backends in parallel, return first success.
SEQUENTIAL
Section titled “SEQUENTIAL”
readonlySEQUENTIAL:"sequential"='sequential'
Try backends sequentially in order until one succeeds.