You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add when clause support to languageModelChatProviders contribution (microsoft#272299)
* Initial plan
* Add when clause support to languageModelChatProviders contribution
Co-authored-by: lramos15 <4544166+lramos15@users.noreply.github.com>
* Use contextMatchesRules instead of evaluate for when clause evaluation
Co-authored-by: lramos15 <4544166+lramos15@users.noreply.github.com>
* Fix test failure by using separate test suite with proper lifecycle
Co-authored-by: lramos15 <4544166+lramos15@users.noreply.github.com>
* Fix when clause evaluation in tests by implementing contextMatchesRules
Co-authored-by: lramos15 <4544166+lramos15@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: lramos15 <4544166+lramos15@users.noreply.github.com>
Co-authored-by: Logan Ramos <lramos15@gmail.com>
description: localize('vscode.extension.contributes.languageModels.managementCommand',"A command to manage the language model chat provider, e.g. 'Manage Copilot models'. This is used in the chat model picker. If not provided, a gear icon is not rendered during vendor selection.")
282
+
},
283
+
when: {
284
+
type: 'string',
285
+
description: localize('vscode.extension.contributes.languageModels.when',"Condition which must be true to show this language model chat provider in the Manage Models list.")
0 commit comments