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