Class ModelTierResolutionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.agentforge4j.llm.api.ModelTierResolutionException
All Implemented Interfaces:
Serializable

public final class ModelTierResolutionException extends RuntimeException
Thrown when a declared ModelTier cannot be resolved to a concrete model string for the selected provider — that is, no mapping exists after shipped defaults and any operator overrides have been applied. Signals a configuration gap rather than a transient failure; the runtime never silently downgrades to a provider default in this case.
See Also:
  • Constructor Details

    • ModelTierResolutionException

      public ModelTierResolutionException(String message)
      Creates a new exception with the given message.
      Parameters:
      message - a description of the unresolved provider/tier combination