Look up the HarnessProfile for a model spec string.
Resolution order:
spec (e.g., "openai:gpt-5.4").:) when spec contains
a colon and both halves are non-empty.undefined when nothing matches.Malformed specs (empty, multiple colons, empty halves) return
undefined without consulting the registry.
getHarnessProfile(spec: string): HarnessProfile | undefined| Name | Type | Description |
|---|---|---|
spec* | string | Model spec in |