LLM model to use for orchestration (from the AI library)
Optional
searchDefault search provider to use for search-dependent steps
Optional
toolsMap of tool names to step functions that can be used by the agent
Optional
customCustom prompt for the orchestration agent
Optional
maxMaximum number of iterations
Optional
exitOptional function that determines when to exit orchestration
Optional
includeWhether to include the orchestration results in the final output
Optional
continueWhether to continue if a tool execution fails
Optional
toolCustom tool selection function (if provided, uses this instead of LLM)
Optional
retryRetry configuration
Optional
maxRetries?: numberMaximum number of retries
Optional
baseDelay?: numberBase delay between retries in ms
Options for the orchestration step