Skip to content

TargetModelIssue

PromptScript API


TargetModelIssue = "unknown-model" | "unsupported-provider" | "invalid-name"

Defined in: core/src/model-catalog.ts:586

Why a model reference was omitted or written unchanged.

  • unknown-model: the catalog has no model with this name, so it is written as-is
  • unsupported-provider: the target does not run the model’s provider, so it is omitted
  • invalid-name: the name, or the name the profile gives the target, has a line break or control character, so it is omitted