langchain.js
    Preparing search index...

    Interface InitializeAgentExecutorOptions

    interface InitializeAgentExecutorOptions {
        agentArgs?:
            | ChatCreatePromptArgs & AgentArgs
            | ChatConversationalCreatePromptArgs & AgentArgs
            | ZeroShotCreatePromptArgs & AgentArgs
            | XMLAgentInput & Pick<AgentArgs, "callbacks">;
        agentType:
            | "xml"
            | "zero-shot-react-description"
            | "chat-zero-shot-react-description"
            | "chat-conversational-react-description";
        callbackManager?: any;
        earlyStoppingMethod?: StoppingMethod;
        handleParsingErrors?: string
        | boolean
        | ((e: any) => string);
        handleToolRuntimeErrors?: (e: Error) => string;
        maxIterations?: number;
        memory?: any;
        returnIntermediateSteps?: boolean;
    }
    Index

    Properties

    agentType:
        | "xml"
        | "zero-shot-react-description"
        | "chat-zero-shot-react-description"
        | "chat-conversational-react-description"
    callbackManager?: any

    Use callbacks instead

    earlyStoppingMethod?: StoppingMethod
    handleParsingErrors?: string | boolean | ((e: any) => string)
    handleToolRuntimeErrors?: (e: Error) => string
    maxIterations?: number
    memory?: any
    returnIntermediateSteps?: boolean