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:
parent
ba89671d90
commit
d3bdc98457
6 changed files with 49 additions and 14 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue