Replace editor::CycleCopilotSuggestions with copilot::NextSuggestion

This commit is contained in:
Antonio Scandurra 2023-03-27 11:00:36 +02:00 committed by Mikayla Maki
parent 2f95510a2e
commit 093e0a30e9
3 changed files with 5 additions and 9 deletions

View file

@ -19,7 +19,7 @@ use util::{
fs::remove_matching, github::latest_github_release, http::HttpClient, paths, ResultExt,
};
actions!(copilot, [SignIn, SignOut]);
actions!(copilot, [SignIn, SignOut, NextSuggestion]);
pub fn init(client: Arc<Client>, cx: &mut MutableAppContext) {
let copilot = cx.add_model(|cx| Copilot::start(client.http_client(), cx));