ProvidersConfigModel
Shared model types and configuration data structures for the multi-provider configuration system.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ProvidersConfigModel.type
Members list
Type members
Classlikes
Validated and normalised configuration for a single named provider.
Validated and normalised configuration for a single named provider.
Value parameters
- apiKey
-
provider-dependent credential: an API key for most providers, or a path to a service-account credentials file for VertexAI
- auth
-
the section's workload-identity block, if any: the identity token to exchange and the keys its provider declares in
ProviderConfigSpec.authExtras. Validation guarantees it is never set together withapiKey. Redacted intoString. - baseUrl
-
optional base URL override
- extras
-
the provider-specific keys its descriptor declares in
ProviderConfigSpec.extras, as validation leaves them: required ones present, defaults filled in, deprecated aliases resolved to the current name, and undeclared keys dropped. Values are redacted intoString, since a provider may declare a credential here. Vendor-specific settings live here rather than as fields - Azure'sendpointandapiVersion, OpenAI'sorganization, the genericopenai-compatibleprovider'scontextWindowandreserveCompletion- so that this type does not change as providers come and go. - headers
-
extra HTTP headers sent on every request; read by
openai-compatibleand the OpenAI-format model listers, and ignored by the rest. Values are redacted intoString. - model
-
the model name to use
- provider
-
the resolved
ProviderId - timeouts
-
the section's
timeoutsblock: how long a request and a stream may take. Absent values leave each client on its own default (org.llm4s.llmconnect.config.ProviderTimeouts). Every provider that makes HTTP calls reads it, so it is a built-in field likeheaders, not an extra.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
NamedProviderConfig.type
Validated top-level providers configuration, including all named provider entries.
Validated top-level providers configuration, including all named provider entries.
Value parameters
- namedProviders
-
map of provider name to validated
NamedProviderConfig - selectedProvider
-
the name of the default provider, if configured
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ProvidersConfig.type