Resolves a ModelProfile for a given provider and model.
Resolution order (highest to lowest priority):
- User overrides — caller-provided map of profile fields
- Overlay — provider/model-specific fields from
priv/overlays.json - Registry — models.dev cache (single source of truth for base profiles)
- Provider default — weakest fallback for local providers not in models.dev
- Global default — unknown everything
Summary
Functions
Returns the profile for a provider kind + model combination.
Functions
@spec resolve(String.t(), String.t(), map() | nil) :: Arcanum.ModelProfile.t()
Returns the profile for a provider kind + model combination.
Optional overrides map takes highest priority over all other sources.