langchain.js
    Preparing search index...

    Interface AgentExecutorInput

    Interface defining the structure of input data for creating an AgentExecutor. It extends ChainInputs and includes additional properties specific to agent execution.

    interface AgentExecutorInput {
        agent: any;
        callbackManager?: any;
        earlyStoppingMethod?: StoppingMethod;
        handleParsingErrors?: string | boolean | ((e: any) => string);
        handleToolRuntimeErrors?: (e: Error) => string;
        maxIterations?: number;
        memory?: any;
        returnIntermediateSteps?: boolean;
        tools: any[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    agent: any
    callbackManager?: any

    Use callbacks instead

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