Record Class AfterAgentToolExecution
java.lang.Object
java.lang.Record
dev.langchain4j.agentic.observability.AfterAgentToolExecution
public record AfterAgentToolExecution(AgentInstance agentInstance, ToolExecution toolExecution)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAfterAgentToolExecution(AgentInstance agentInstance, ToolExecution toolExecution) Creates an instance of aAfterAgentToolExecutionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theagentInstancerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thetoolExecutionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AfterAgentToolExecution
Creates an instance of aAfterAgentToolExecutionrecord class.- Parameters:
agentInstance- the value for theagentInstancerecord componenttoolExecution- the value for thetoolExecutionrecord component
-
-
Method Details
-
agenticScope
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
agentInstance
Returns the value of theagentInstancerecord component.- Returns:
- the value of the
agentInstancerecord component
-
toolExecution
Returns the value of thetoolExecutionrecord component.- Returns:
- the value of the
toolExecutionrecord component
-