Companion object providing defaults for ModelRegistryConfig.
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ModelRegistryConfig.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Creates a ModelRegistryConfig; with no arguments, it loads the bundled classpath resource.
Creates a ModelRegistryConfig; with no arguments, it loads the bundled classpath resource.
Value parameters
- filePath
-
filesystem path; overrides
resourcePathwhen set - resourcePath
-
classpath resource path; defaults to DefaultResourcePath
- url
-
HTTP URL; overrides both
resourcePathandfilePathwhen set
Attributes
Concrete fields
Curated llm4s corrections layered on top of the vendored LiteLLM snapshot (see DefaultResourcePath). The snapshot is a verbatim upstream copy and occasionally drops or mis-shapes entries llm4s relies on (e.g. a chat model regressing to an embedding row, or a canonical alias being removed so a substring fallback resolves to a third-party-hosted variant). Entries here take precedence over the snapshot and survive future refreshes of it.
Curated llm4s corrections layered on top of the vendored LiteLLM snapshot (see DefaultResourcePath). The snapshot is a verbatim upstream copy and occasionally drops or mis-shapes entries llm4s relies on (e.g. a chat model regressing to an embedding row, or a canonical alias being removed so a substring fallback resolves to a third-party-hosted variant). Entries here take precedence over the snapshot and survive future refreshes of it.
Only applied when loading the embedded default resource; explicit file/url/resource sources are loaded verbatim with no overlay.
Attributes
Classpath resource path to the bundled LiteLLM model metadata JSON file.
Classpath resource path to the bundled LiteLLM model metadata JSON file.
Attributes
A ModelRegistryConfig that loads from the bundled classpath resource.
A ModelRegistryConfig that loads from the bundled classpath resource.