Skip to content

Conversation

@lramos15
Copy link
Member

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.

@lramos15 lramos15 self-assigned this Apr 21, 2025
@lramos15 lramos15 enabled auto-merge (squash) April 21, 2025 23:05
@lramos15 lramos15 requested a review from roblourens April 21, 2025 23:05
@lramos15 lramos15 added this to the April 2025 milestone Apr 21, 2025
Copy link
Member

@roblourens roblourens left a 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>;
Copy link
Member

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?

@lramos15 lramos15 merged commit e0dc1d7 into main Apr 22, 2025
8 checks passed
@lramos15 lramos15 deleted the lramos15/modelpicker-categories branch April 22, 2025 00:10
}

private handleAndRegisterModelCategories(): void {
chatModelPickerCategoriesExtensionPoint.setHandler((extensions, delta) => {
Copy link
Member

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

sbatten added a commit that referenced this pull request Apr 22, 2025
sbatten added a commit that referenced this pull request Apr 22, 2025
@jrieken
Copy link
Member

jrieken commented Apr 22, 2025

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

AFAIK we totally want to finalise this

lramos15 added a commit that referenced this pull request Apr 22, 2025
lramos15 added a commit that referenced this pull request Apr 22, 2025
* Revert "Revert "Support categories in model picker (#247084)" (#247090)"

This reverts commit 29c0ca5.

* Switch model categories to be part of registration
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Jun 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants