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?: "force" | "generate";
    handleParsingErrors?: string | boolean | ((e) => string);
    maxIterations?: number;
    memory?: any;
    returnIntermediateSteps?: boolean;
}

Hierarchy (view full)

Properties

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

⚠️ Deprecated ⚠️

Use callbacks instead

This feature is deprecated and will be removed in the future.

It is not recommended for use.

earlyStoppingMethod?: "force" | "generate"
handleParsingErrors?: string | boolean | ((e) => string)

Type declaration

    • (e): string
    • Parameters

      • e: any

      Returns string

maxIterations?: number
memory?: any
returnIntermediateSteps?: boolean

Generated using TypeDoc