Record Class AgentExecutor

java.lang.Object
java.lang.Record
dev.langchain4j.agentic.internal.AgentExecutor
All Implemented Interfaces:
InternalAgent, AgentInstance

public record AgentExecutor(AgentInvoker agentInvoker, Object agent) extends Record implements AgentInstance, InternalAgent
  • Constructor Details

    • AgentExecutor

      public AgentExecutor(AgentInvoker agentInvoker, Object agent)
      Creates an instance of a AgentExecutor record class.
      Parameters:
      agentInvoker - the value for the agentInvoker record component
      agent - the value for the agent record component
  • Method Details