Resolve a provider specification into a full provider config.
Accepts:
- Atoms (e.g.
:openai,:anthropic) — looked up from presets - Maps with
:dialectand:base_url— used as-is - Modules implementing
LLM.Providerbehaviour
Summary
Functions
@spec resolve(atom() | map() | module() | nil) :: LLM.Provider.config()