ai11y docs
    Preparing search index...

    Interface AgentConfig

    Unified agent configuration combining LLM settings with agent selection options

    interface AgentConfig {
        apiEndpoint?: string;
        forceRuleBased?: boolean;
        mode?: AgentMode;
    }
    Index

    Properties

    apiEndpoint?: string

    API endpoint URL for the LLM agent server (required for "llm" mode)

    forceRuleBased?: boolean

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

    false
    
    mode?: AgentMode

    Agent mode selection strategy

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