- All Implemented Interfaces:
Serializable,Comparable<ModelSource>,Constable
How the concrete model for an LLM call was determined, recorded as audit metadata on
AgentInvocationResult and the LLM_CALL_COMPLETED event.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA raw model pin on the selectedProviderPreferencewas used verbatim.Neither a pin nor a tier applied; the request carried no model and the provider's own default was used.A declared capability tier was resolved to a concrete model via the configuredModelTierResolver. -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelSourceReturns the enum constant of this class with the specified name.static ModelSource[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PIN
A raw model pin on the selectedProviderPreferencewas used verbatim. Pins always win over tiers. -
TIER
A declared capability tier was resolved to a concrete model via the configuredModelTierResolver. -
PROVIDER_DEFAULT
Neither a pin nor a tier applied; the request carried no model and the provider's own default was used.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-