OptionalcustomCustom system prompt to override the default
OptionalllmLanguage model to use for generating the plan (falls back to state.defaultLLM if not provided)
OptionaltemperatureTemperature setting for the language model (0.0-1.0)
OptionalincludeWhether to include the plan in the final research results
OptionalretryRetry configuration for language model calls Useful for handling transient errors in LLM services
OptionalmaxRetries?: numberMaximum number of retries (default: 2)
OptionalbaseDelay?: numberBase delay between retries in ms (default: 1000)
Configuration options for the research planning step
This interface defines all the configurable aspects of the planning step, including the language model to use, prompt customization, and result handling.
PlanOptions