Interface ModelTierResolver

All Known Implementing Classes:
ConfigModelTierResolver

public interface ModelTierResolver
Resolves a declared ModelTier to a concrete, versioned model string for a given provider.

Implementations range from a static shipped default map to a context-aware, database-backed resolver. Resolution is provider-scoped because the same tier maps to different model identifiers across providers.

  • Method Summary

    Modifier and Type
    Method
    Description
    resolve(String provider, ModelTier tier)
    Resolves the concrete model string for the given provider and tier.
  • Method Details

    • resolve

      String resolve(String provider, ModelTier tier)
      Resolves the concrete model string for the given provider and tier.
      Parameters:
      provider - the provider name (e.g. "claude"); must not be null
      tier - the requested capability tier; must not be null
      Returns:
      the concrete model string, or null when no mapping exists for this provider/tier combination