ProvidersConfig

org.llm4s.config.ProvidersConfigModel.ProvidersConfig
final case class ProvidersConfig(selectedProvider: Option[ProviderName], namedProviders: Map[ProviderName, NamedProviderConfig])

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

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Returns the name of the default provider or a ConfigurationError if none is selected.

Returns the name of the default provider or a ConfigurationError if none is selected.

Attributes

Returns

Right(ProviderName) when a default is configured, or Left with an error

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product