ai11y docs
    Preparing search index...

    Interface AgentAdapterConfig

    Configuration for agent selection

    interface AgentAdapterConfig {
        forceRuleBased?: boolean;
        llmConfig?: LLMAgentConfig | null;
        mode?: AgentMode;
    }
    Index

    Properties

    forceRuleBased?: boolean

    Force rule-based mode (skip LLM even if config is available)

    false
    
    llmConfig?: LLMAgentConfig | null

    LLM configuration (required for "llm" mode, optional for "auto")

    mode?: AgentMode

    Agent mode selection strategy

    • "llm": Always use LLM agent (requires llmConfig)
    • "rule-based": Always use rule-based agent
    • "auto": Use LLM if configured, fallback to rule-based on error or when offline
    "auto"