Resolves a ModelProfile for a given provider and model.
Resolution order:
- Registry (models.dev cache) — the single source of truth
- Overlay merge — provider/model-specific fields from
priv/overlays.jsonthat models.dev doesn't carry (thinking_param, preserve_reasoning, provider_routing) - Provider-level default — weakest fallback for local providers not in models.dev (ollama, lmstudio, vllm)
- Global default — unknown everything
Summary
Functions
Returns the profile for a provider kind + model combination.
Functions
@spec resolve(String.t(), String.t()) :: Arcanum.ModelProfile.t()
Returns the profile for a provider kind + model combination.