Create a new runnable from the current one that will try invoking other passed fallback runnables if the initial invocation fails.
withFallbacks(
fields: __type | Runnable<RunInput, Record<string, any>, RunnableConfig<Record<string, any>>>[]
): RunnableWithFallbacks<RunInput, Record<string, any>>| Name | Type | Description |
|---|---|---|
fields* | __type | Runnable<RunInput, Record<string, any>, RunnableConfig<Record<string, any>>>[] |