-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(auto-edit): fix the cody status bar with new suggestion mode (#6691)
## Context Cody Status bar for `autocomplete` is broken right now with the introduction of new suggestion modes. <img width="777" alt="image" src="https://github.com/user-attachments/assets/9c4dac2b-766a-49c1-8c02-83c5c9a67c56" /> - The PR adds a enum in the quick pick for selecting the suggestion model between `autocomplete`/`off`/`auto-edit` (if applicable). - `Auto-edit` is only shown if the user is eligible for the feature. See in the demo for the free account, we don't show this option. - Closes https://linear.app/sourcegraph/issue/CODY-4713/status-bar-autocomplete-switch-doesnt-work ## Test plan - Switch between different modes in the toggle bar. - Added a demo below https://github.com/user-attachments/assets/a7cbb810-04b0-449e-90d3-8d8aa8211ff5
- Loading branch information
1 parent
1599db7
commit 0fe2fff
Showing
2 changed files
with
163 additions
and
32 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