Skip to content

Finalize language model provider API #250007

Open
@lramos15

Description

@lramos15

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
  • OS Version:

Summarizing some discussions surrounding the language model provider API and efforts to finalize it

The idea is to accomplish the following goals

  1. Allow extensions to contribute language models
  2. Allow users to manage which models appear in the model picker
  3. Allow extensions to have custom flows for auth and additioanl model configuration such as Azure Open AI

To complete finalization we should modify the contribution point from

		"languageModels": [
			{
				"vendor": "gemini"
			},
		]

To something like

		"languageModels": [
			{
				"vendor": "gemini",
                                 "displayName": "Google Gemini"
			},
		]

Additionally, we need a way to have a sort of provider provider for the language model lists. The current suggested shape is to follow CallHierarchyProvider and expose a list of language model items that then get passed back to the provide response function

cc @sbatten

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions