withFallbacks(
fields: __type | Runnable<StructuredToolCallInput<ZodObject<__type, "strip", ZodTypeAny, | Name | Type | Description |
|---|---|---|
fields* | __type | Runnable<StructuredToolCallInput<ZodObject<__type, "strip", ZodTypeAny, __type, __type>, __type>, any, 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.