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

Function resolveModelSelection

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

Source from the content-addressed store, hash-verified

178/** Unknown slugs pass through as a bare `{ id }` so planners can reach
179 * server-side models that aren't in our prescriptive catalog. */
180export function resolveModelSelection(slug: string): ModelSelection {
181 const profile = MODEL_CATALOG.find(m => m.slug === slug);
182 return profile ? profile.selection : { id: slug };
183}
184
185export function renderModelCatalog(): string {
186 const lines: string[] = [];

Callers 3

spawnTaskMethod · 0.90
registerTaskCommandsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected