primaryReason
Returns the value of the
primaryReason record component.- Returns:
- the value of the
primaryReasonrecord component
PromptCacheBreakEventPromptCacheBreakEvent.PromptCacheBreakEventData(String primaryReason,
List<String> contributingReasons,
Object beforeRequest,
Object afterRequest,
Long survivedTokens,
Long frontierTokens,
Long shortfallTokens,
Double retentionRatio,
String modelFrom,
String modelTo,
List<String> toolsAdded,
List<String> toolsRemoved,
List<String> toolsRedefined,
List<String> toolsAddedRaw,
List<String> toolsRemovedRaw,
List<String> toolsRedefinedRaw,
List<String> toolsRedefinedParts,
Boolean toolsReordered,
List<String> systemSegmentsChanged,
List<String> cacheConfigChangedFields,
Long rewriteMessageIndex,
String rewriteShape,
List<String> rewriteSource,
String agentName) PromptCacheBreakEventData record class.afterRequest record component.agentName record component.beforeRequest record component.cacheConfigChangedFields record component.contributingReasons record component.final booleanfrontierTokens record component.final inthashCode()modelFrom record component.modelTo()modelTo record component.primaryReason record component.retentionRatio record component.rewriteMessageIndex record component.rewriteShape record component.rewriteSource record component.shortfallTokens record component.survivedTokens record component.systemSegmentsChanged record component.toolsAdded record component.toolsAddedRaw record component.toolsRedefined record component.toolsRedefinedParts record component.toolsRedefinedRaw record component.toolsRemoved record component.toolsRemovedRaw record component.toolsReordered record component.final StringtoString()PromptCacheBreakEventData record class.primaryReason - the value for the primaryReason record componentcontributingReasons - the value for the contributingReasons record componentbeforeRequest - the value for the beforeRequest record componentafterRequest - the value for the afterRequest record componentsurvivedTokens - the value for the survivedTokens record componentfrontierTokens - the value for the frontierTokens record componentshortfallTokens - the value for the shortfallTokens record componentretentionRatio - the value for the retentionRatio record componentmodelFrom - the value for the modelFrom record componentmodelTo - the value for the modelTo record componenttoolsAdded - the value for the toolsAdded record componenttoolsRemoved - the value for the toolsRemoved record componenttoolsRedefined - the value for the toolsRedefined record componenttoolsAddedRaw - the value for the toolsAddedRaw record componenttoolsRemovedRaw - the value for the toolsRemovedRaw record componenttoolsRedefinedRaw - the value for the toolsRedefinedRaw record componenttoolsRedefinedParts - the value for the toolsRedefinedParts record componenttoolsReordered - the value for the toolsReordered record componentsystemSegmentsChanged - the value for the systemSegmentsChanged record componentcacheConfigChangedFields - the value for the cacheConfigChangedFields record componentrewriteMessageIndex - the value for the rewriteMessageIndex record componentrewriteShape - the value for the rewriteShape record componentrewriteSource - the value for the rewriteSource record componentagentName - the value for the agentName record componentObjects::equals(Object,Object).primaryReason record component.primaryReason record componentbeforeRequest record component.beforeRequest record componentafterRequest record component.afterRequest record componentsurvivedTokens record component.survivedTokens record componentfrontierTokens record component.frontierTokens record componentshortfallTokens record component.shortfallTokens record componentretentionRatio record component.retentionRatio record componentmodelFrom record component.modelFrom record componentmodelTo record component.modelTo record componenttoolsReordered record component.toolsReordered record componentrewriteMessageIndex record component.rewriteMessageIndex record componentrewriteShape record component.rewriteShape record componentagentName record component.agentName record component