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