CustomModel
Wildcard catch-all model for downstream/unregistered providers. The "*"
discriminator lowers to the dispatch decl’s defaultVariant (the fallback
seam) while the known providers stay enumerated variants. A runtime provider
value that is none of the known literals routes here — the downstream-registry
delegation hook.
Class Diagram
Section titled “Class Diagram”---
title: CustomModel
config:
look: handDrawn
theme: colorful
class:
hideEmptyMembersBox: true
---
classDiagram
class Model {
+string id
+string provider
+string apiType
+Connection connection
+ModelOptions options
}
Model <|-- CustomModel
class CustomModel {
+string provider
}
Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| provider | string | The wildcard provider discriminator for any provider not explicitly modeled |