Uses of Record Class
com.agentforge4j.llm.api.TokenUsageReport
Packages that use TokenUsageReport
Package
Description
Public LLM invocation contract shared by runtime callers and provider adapters.
-
Uses of TokenUsageReport in com.agentforge4j.llm.api
Methods in com.agentforge4j.llm.api that return TokenUsageReportModifier and TypeMethodDescriptionLlmExecutionResponse.tokenUsage()Returns the value of thetokenUsagerecord component.Constructors in com.agentforge4j.llm.api with parameters of type TokenUsageReportModifierConstructorDescriptionLlmExecutionResponse(String text, String modelUsed, TokenUsageReport tokenUsage) Validates thattextis non-null. -
Uses of TokenUsageReport in com.agentforge4j.runtime.llm
Methods in com.agentforge4j.runtime.llm that return TokenUsageReportModifier and TypeMethodDescriptionAgentInvocationResult.tokenUsage()Returns the value of thetokenUsagerecord component.Methods in com.agentforge4j.runtime.llm with parameters of type TokenUsageReportModifier and TypeMethodDescriptionAgentInvocationResult.Builder.withTokenUsage(TokenUsageReport tokenUsage) Sets the token counts for this invocation.Constructors in com.agentforge4j.runtime.llm with parameters of type TokenUsageReportModifierConstructorDescriptionAgentInvocationResult(String rawResponse, List<LlmCommand> commands, String modelUsed, TokenUsageReport tokenUsage, String resolvedModel, ModelSource modelSource, ModelTier requestedModelTier) Creates an instance of aAgentInvocationResultrecord class.