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.
Properties
Section titled “Properties”apiKeyEnvironmentVariables
Section titled “apiKeyEnvironmentVariables”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
Section titled “discovery”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
Section titled “preferredModels”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.
requiresExternalAuth?
Section titled “requiresExternalAuth?”
optionalrequiresExternalAuth?: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).