Skip to content
Prompty

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.

---
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
    }
Name Type Description
provider string The wildcard provider discriminator for any provider not explicitly modeled