[PR #18095] Allow enterprises to disable Terminal Chat or only enable select LMs #31445

Open
opened 2026-01-31 09:47:20 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/18095

State: closed
Merged: Yes


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

**Original Pull Request:** https://github.com/microsoft/terminal/pull/18095 **State:** closed **Merged:** Yes --- ## 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 - [ ] Tests added/passed - [ ] Documentation updated - If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx - [ ] Schema updated (if necessary)
claunia added the pull-request label 2026-01-31 09:47:20 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#31445