Skip to content

ProviderDescriptor

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/providers/modelDiscovery.ts:93

Static description of a provider: how to detect its key, how to discover its live models, and which models we recommend. Used to build DetectedProviders.

apiKeyEnvironmentVariables: string[]

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/providers/modelDiscovery.ts:103

Environment variables that, when set to a non-empty value, indicate this provider has a usable API key. Checked in order; the first match wins. Empty for providers that don’t authenticate via an env var (vertexai, which uses gcloud ADC, and ollama, which is local).


discovery: DiscoveryConfig

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/providers/modelDiscovery.ts:111

Live-discovery adapter for this provider.


id: ProviderId

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/providers/modelDiscovery.ts:94


label: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/providers/modelDiscovery.ts:96

Human-friendly name for dialogs.


preferredModels: string[]

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/providers/modelDiscovery.ts:109

Curated ⭐ “preferred” / tested models for this provider, most-recommended first. Used as the ⭐ ranking overlay over live-discovered ids and as the fallback catalog when live discovery is unavailable.


optional requiresExternalAuth?: boolean

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/providers/modelDiscovery.ts:119

True when usability cannot be determined from an env var alone. vertexai relies on gcloud Application Default Credentials and ollama on a running local daemon, so both are reported as available: false by env inspection (ollama is then confirmed by a live probe in detectProviders).