@plust/datasleuth - v0.2.0
    Preparing search index...

    Interface PlanOptions

    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

    interface PlanOptions {
        customPrompt?: string;
        llm?: LanguageModelV1;
        temperature?: number;
        includeInResults?: boolean;
        retry?: { maxRetries?: number; baseDelay?: number };
    }
    Index

    Properties

    customPrompt?: string

    Custom system prompt to override the default

    llm?: LanguageModelV1

    Language model to use for generating the plan (falls back to state.defaultLLM if not provided)

    temperature?: number

    Temperature setting for the language model (0.0-1.0)

    includeInResults?: boolean

    Whether to include the plan in the final research results

    retry?: { maxRetries?: number; baseDelay?: number }

    Retry configuration for language model calls Useful for handling transient errors in LLM services

    Type declaration

    • OptionalmaxRetries?: number

      Maximum number of retries (default: 2)

    • OptionalbaseDelay?: number

      Base delay between retries in ms (default: 1000)