Skip to main content

Module registry

Module registry 

Source
Expand description

Provider registry — catalog of known OpenAI-compatible endpoints.

Ported from openai-runtime::registry, extended to accept a config map override for API keys (checked before env vars).

Structs§

ProviderModelInfo
ProviderSpec

Functions§

configured_providers
Find all providers with a resolvable API key.
fetch_provider_models
list_models
List models for a provider.
list_providers
List all providers with key status.
parse_provider_models_response
providers
resolve_codex_shorthand
Resolve "openai-codex/model" shorthand if Codex OAuth is configured.
resolve_provider
Look up a provider by key and resolve its API key (config override first, then env vars).
resolve_provider_model
Resolve a provider + specific model.
resolve_shorthand
Resolve "provider/model" shorthand.