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<string | BaseMessage<MessageStructure<MessageToolSet>, MessageType>, string, RunnableConfig<Record<string, any>>>[]
): RunnableWithFallbacks<string | BaseMessage<MessageStructure<MessageToolSet>, MessageType>, string>| Name | Type | Description |
|---|---|---|
fields* | __type | Runnable<string | BaseMessage<MessageStructure<MessageToolSet>, MessageType>, string, RunnableConfig<Record<string, any>>>[] |