MCPcopy Create free account
hub / github.com/cursor/plugins / isKnownModel

Function isKnownModel

orchestrate/skills/orchestrate/scripts/models.ts:174–176  ·  view source on GitHub ↗
(slug: string)

Source from the content-addressed store, hash-verified

172}
173
174export function isKnownModel(slug: string): boolean {
175 return MODEL_CATALOG.some(m => m.slug === slug);
176}
177
178/** Unknown slugs pass through as a bare `{ id }` so planners can reach
179 * server-side models that aren't in our prescriptive catalog. */

Callers 2

spawnTaskMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected