refactor(core): let plugins pin small models via catalog draft

Move copilot utility-model preference out of core selection into the
github-copilot plugin by exposing catalog.model.small set/get/remove on
the transform draft.
This commit is contained in:
Aiden Cline 2026-07-12 21:21:41 -05:00
commit d3bdc98457
6 changed files with 49 additions and 14 deletions

View file

@ -23,6 +23,11 @@ export interface CatalogDraft {
get(): { providerID: string; modelID: string } | undefined
set(providerID: string, modelID: string): void
}
readonly small: {
get(providerID: string): string | undefined
set(providerID: string, modelID: string): void
remove(providerID: string): void
}
}
}