Uses of Enum Class
com.agentforge4j.runtime.llm.ModelSource
Packages that use ModelSource
-
Uses of ModelSource in com.agentforge4j.runtime.llm
Methods in com.agentforge4j.runtime.llm that return ModelSourceModifier and TypeMethodDescriptionAgentInvocationResult.modelSource()Returns the value of themodelSourcerecord component.LlmCallObserver.LlmCallCompletedPayload.modelSource()Returns the value of themodelSourcerecord component.static ModelSourceReturns the enum constant of this class with the specified name.static ModelSource[]ModelSource.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.agentforge4j.runtime.llm with parameters of type ModelSourceModifier and TypeMethodDescriptionvoidLlmCallObserver.observe(String agentId, String provider, LlmExecutionResponse response, String resolvedModel, ModelSource modelSource, ModelTier requestedModelTier, WorkflowState state, int attempt) Called once for the LLM call whose parsed output the workflow actually uses.voidLlmCallObserver.recordAttempt(String agentId, String provider, LlmExecutionResponse response, String resolvedModel, ModelSource modelSource, ModelTier requestedModelTier, WorkflowState state, int attempt) Records a discarded LLM call attempt for audit/usage purposes only.AgentInvocationResult.Builder.withModelSource(ModelSource modelSource) Sets howresolvedModelwas determined.Constructors in com.agentforge4j.runtime.llm with parameters of type ModelSourceModifierConstructorDescriptionAgentInvocationResult(String rawResponse, List<LlmCommand> commands, String modelUsed, TokenUsageReport tokenUsage, String resolvedModel, ModelSource modelSource, ModelTier requestedModelTier) Creates an instance of aAgentInvocationResultrecord class.LlmCallCompletedPayload(String agentId, String provider, String modelUsed, String resolvedModel, ModelSource modelSource, ModelTier requestedModelTier, Integer inputTokens, Integer outputTokens, Integer totalTokens, Integer cachedTokens, String stepUid, Integer callAttempt) Creates an instance of aLlmCallCompletedPayloadrecord class.