-
Notifications
You must be signed in to change notification settings - Fork 37.2k
Support categories in model picker #247084
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine to me. Some questions
- Do we ever plan to finalize the language model API, or we just expect that you get CAPI models and BYOK managed by us, and that's it? If we don't expect to finalize it then these other Qs don't matter so much right now, ship it.
- Would we want these to be hierarchical so it can be broken down by BYOK > Anthropic, eg?
- I wonder what @jrieken thinks of having static categories when the models are dynamic
| /** | ||
| * An event that fires when the registered categories change | ||
| */ | ||
| readonly onDidChangeCategories: Event<void>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if you need this event?
| } | ||
|
|
||
| private handleAndRegisterModelCategories(): void { | ||
| chatModelPickerCategoriesExtensionPoint.setHandler((extensions, delta) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚨 Please add an API proposal check here so that other extensions can't use this contribution point
AFAIK we totally want to finalise this |
Introduces a contribution point which allows contributing categories to the model picker. Models can then register to a category to be grouped in a logical way.