Package io.jmix.dynmodelai.model
Record Class AgentObservation.ContextCompactionFailed
java.lang.Object
java.lang.Record
io.jmix.dynmodelai.model.AgentObservation.ContextCompactionFailed
- All Implemented Interfaces:
AgentHistoryPayload,AgentObservation
- Enclosing interface:
AgentObservation
public static record AgentObservation.ContextCompactionFailed(String failureType)
extends Record
implements AgentObservation
The candidate summary was discarded; no message boundary was advanced.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.dynmodelai.model.AgentObservation
AgentObservation.ContextCompacted, AgentObservation.ContextCompactionFailed, AgentObservation.GraphStateChanged, AgentObservation.ModelResponseReceived, AgentObservation.ModelSelected, AgentObservation.PlanValidationCompleted, AgentObservation.ReferenceToolCompleted, AgentObservation.ReferenceToolStarted -
Constructor Summary
ConstructorsConstructorDescriptionContextCompactionFailed(String failureType) Creates an instance of aContextCompactionFailedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefailureTyperecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ContextCompactionFailed
Creates an instance of aContextCompactionFailedrecord class.- Parameters:
failureType- the value for thefailureTyperecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
failureType
Returns the value of thefailureTyperecord component.- Returns:
- the value of the
failureTyperecord component
-