Skip to main content

Module registry

Module registry 

Source
Expand description

Provider registry — catalog of known OpenAI-compatible endpoints.

Connection/credential metadata (base URLs, key discovery) is broker-owned (agent_core::auth::static_providers / agent_core::auth::broker). This module keeps the engine-side model catalog and produces credential-free routing data: no function here returns or accepts an API key.

Structs§

ProviderModelInfo
ProviderSpec

Functions§

configured_providers
Find all providers with a broker-available credential.
fetch_provider_models
list_models
List models for a provider.
list_providers
List all providers with (non-secret) 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. Returns routing data only when the broker reports a credential is available; the key itself never leaves the broker.
resolve_provider_model
Resolve a provider + specific model to credential-free routing data.
resolve_shorthand
Resolve "provider/model" shorthand.