ProviderModelTypes
Type-safe identifier types for the multi-provider configuration system.
Each identifier is an opaque type over String, giving distinct compile-time types to values that are otherwise interchangeable raw strings. This makes it a compile error to pass, for example, an ApiKey where a ModelName is expected, at zero runtime cost.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ProviderModelTypes.type
Members list
Type members
Classlikes
Enumeration of all supported LLM provider kinds.
Enumeration of all supported LLM provider kinds.
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Companion object with lookup utilities for ProviderKind.
Companion object with lookup utilities for ProviderKind.
Attributes
- Companion
- enum
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ProviderKind.type
Companion for the ProviderName opaque type.
Companion for the ProviderName opaque type.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ProviderName.type
Types
A secret key used to authenticate with a provider.
A secret key used to authenticate with a provider.
Attributes
The base URL of a provider's API endpoint, e.g. "https://api.openai.com/v1".
The base URL of a provider's API endpoint, e.g. "https://api.openai.com/v1".
Attributes
A model identifier, e.g. "gpt-4o" or "claude-sonnet-4-5".
A model identifier, e.g. "gpt-4o" or "claude-sonnet-4-5".
Attributes
A provider identifier, e.g. "openai" or "anthropic".
A provider identifier, e.g. "openai" or "anthropic".
Attributes
Extensions
Extensions
Returns the canonical lowercase name string for this ProviderKind.
Returns the canonical lowercase name string for this ProviderKind.
Attributes
- Returns
-
The provider name string (e.g.
"openai","anthropic").
Returns the underlying model name string.
Returns the underlying model name string.
Attributes
Returns the underlying base URL string.
Returns the underlying base URL string.
Attributes
Returns the underlying key string.
Returns the underlying key string.
Attributes
Returns the underlying provider name string.
Returns the underlying provider name string.