Class DecisionAgentInvocationHandler

java.lang.Object
dev.langchain4j.agentic.agent.DecisionAgentInvocationHandler
All Implemented Interfaces:
InternalAgent, AgentInstance, InvocationHandler

public class DecisionAgentInvocationHandler extends Object implements InvocationHandler, InternalAgent
The invocation handler of the proxy of a decision agent: it implements the agent method with a call to the decision model, hands the response of the model to the AgentModelResponse of the invocation for the listeners, and answers the AgentInstance methods.