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;
    tools: any[];
    callbackManager?: any;
    earlyStoppingMethod?: StoppingMethod;
    handleParsingErrors?: string | boolean | ((e: any) => string);
    maxIterations?: number;
    memory?: any;
    returnIntermediateSteps?: boolean;
}

Hierarchy (view full)

Properties

agent: any
tools: any[]
callbackManager?: any

Use callbacks instead

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