-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow enterprises to disable Terminal Chat or specific LMs (#18095)
## Summary of the Pull Request Adds registry keys to allow enterprises to disable Terminal Chat or only enable certain LMs Notes: - If the policy is not set at all, all LM providers are allowed - If the policy is set, we look at the provided allow list to determine which LMs (if any) should be allowed - Only the allowed LMs show up in the AI Settings page to allow for configuration - If no LMs are allowed, the Terminal Chat action is not shown in the new tab dropdown nor the command palette and existing keybindings to open Terminal Chat are not handled - Regardless of the policy, any keybindings/modifications to a user's toggle terminal chat action are preserved ## Validation Steps Performed Toggling the policy/updating the allow list updates the settings page, dropdown and command palette appropriately ## PR Checklist - [x] Closes #16401 Co-authored-by: Heiko <[email protected]>
- Loading branch information
1 parent
b2524f9
commit 438621f
Showing
14 changed files
with
341 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.