From 2887816cf040da0e66801ba453b080f453b9cffe Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 31 Mar 2025 11:21:36 +1300 Subject: [PATCH] remove copilot --- HISTORY.md | 1 - aider/resources/model-settings.yml | 121 ----------------------------- aider/website/docs/llms/copilot.md | 24 ------ 3 files changed, 146 deletions(-) delete mode 100644 aider/website/docs/llms/copilot.md diff --git a/HISTORY.md b/HISTORY.md index 28536465a..990b5d9ca 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -15,7 +15,6 @@ - Add `Ctrl-X Ctrl-E` keybinding to edit the current input buffer in an external editor, by Matteo Landi. - Fix linting errors for filepaths containing shell metacharacters, by Mir Adnan ALI. - Add repomap support for the Scala language, by Vasil Markoukin. -- Add support for GitHub Copilot models, by Son H. Nguyen. - Fixed bug in `/run` that was preventing auto-testing. - Fix completion menu current item color styling, by Andrey Ivanov. - Aider wrote 82% of the code in this release. diff --git a/aider/resources/model-settings.yml b/aider/resources/model-settings.yml index 1d92e7a08..d26bf5229 100644 --- a/aider/resources/model-settings.yml +++ b/aider/resources/model-settings.yml @@ -936,127 +936,6 @@ max_tokens: 128000 top_p: 0.95 -- name: github_copilot/gpt-3.5-turbo - weak_model_name: gpt-4o-mini - reminder: sys - extra_params: - extra_headers: - editor-version: Neovim/0.9.0 - Copilot-Integration-Id: vscode-chat - -- name: github_copilot/gpt-4 - edit_format: udiff - weak_model_name: gpt-4o-mini - use_repo_map: true - lazy: true - reminder: sys - extra_params: - extra_headers: - editor-version: Neovim/0.9.0 - Copilot-Integration-Id: vscode-chat - -- name: github_copilot/gpt-4o - edit_format: diff - weak_model_name: github_copilot/gpt-4o-mini - use_repo_map: true - use_temperature: false - editor_model_name: gpt-4o - editor_edit_format: editor-diff - system_prompt_prefix: "Formatting re-enabled. " - extra_params: - extra_headers: - editor-version: Neovim/0.9.0 - Copilot-Integration-Id: vscode-chat - -- name: github_copilot/gpt-4o-mini - weak_model_name: github_copilot/gpt-4o-mini - lazy: true - reminder: sys - extra_params: - extra_headers: - editor-version: Neovim/0.9.0 - Copilot-Integration-Id: vscode-chat - -- name: github_copilot/o1-ga - edit_format: diff - weak_model_name: github_copilot/gpt-4o-mini - use_repo_map: true - use_temperature: false - streaming: false - editor_model_name: gpt-4o - editor_edit_format: editor-diff - system_prompt_prefix: "Formatting re-enabled. " - extra_params: - extra_headers: - editor-version: Neovim/0.9.0 - Copilot-Integration-Id: vscode-chat - -- name: github_copilot/o3-mini - edit_format: diff - weak_model_name: azure/gpt-4o-mini - use_repo_map: true - use_temperature: false - editor_model_name: azure/gpt-4o - editor_edit_format: editor-diff - system_prompt_prefix: "Formatting re-enabled. " - extra_params: - extra_headers: - editor-version: Neovim/0.9.0 - Copilot-Integration-Id: vscode-chat - -- name: github_copilot/claude-3.5-sonnet - edit_format: diff - weak_model_name: github_copilot/claude-3.5-haiku - use_repo_map: true - examples_as_sys_msg: true - extra_params: - max_tokens: 8192 - cache_control: true - editor_model_name: github_copilot/claude-3.5-sonnet - editor_edit_format: editor-diff - extra_params: - extra_headers: - editor-version: Neovim/0.9.0 - Copilot-Integration-Id: vscode-chat - -- name: github_copilot/claude-3.7-sonnet - edit_format: diff - weak_model_name: github_copilot/claude-3.5-sonnet - use_repo_map: true - examples_as_sys_msg: true - extra_params: - max_tokens: 8192 - cache_control: true - editor_model_name: github_copilot/claude-3.7-sonnet - editor_edit_format: editor-diff - extra_params: - extra_headers: - editor-version: Neovim/0.9.0 - Copilot-Integration-Id: vscode-chat - -- name: github_copilot/claude-3.7-sonnet-thought - edit_format: diff - weak_model_name: github_copilot/claude-3.7-sonnet - use_repo_map: true - examples_as_sys_msg: true - extra_params: - max_tokens: 8192 - cache_control: true - editor_model_name: github_copilot/claude-3.7-sonnet-thought - editor_edit_format: editor-diff - extra_params: - extra_headers: - editor-version: Neovim/0.9.0 - Copilot-Integration-Id: vscode-chat - -- name: github_copilot/gemini-2.0-flash - edit_format: diff - use_repo_map: true - extra_params: - extra_headers: - editor-version: Neovim/0.9.0 - Copilot-Integration-Id: vscode-chat - - name: cohere_chat/command-a-03-2025 examples_as_sys_msg: true diff --git a/aider/website/docs/llms/copilot.md b/aider/website/docs/llms/copilot.md deleted file mode 100644 index eabc98163..000000000 --- a/aider/website/docs/llms/copilot.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -parent: Connecting to LLMs -nav_order: 570 ---- - -# Github Copilot - -Aider can connect to models provided by Github Copilot. -You will need to have a Github Copilot subscription. - -To use Github Copilot models with aider, you need to specify the model using the `github_copilot/` prefix. - -```bash -aider --model github_copilot/claude-3.7-sonnet-thought -``` - -{: .tip } -> If you have not authenticated with Github Copilot before, the first time you run aider with the `github_copilot` model, you will be prompted to authenticate with Github Copilot using device code authentication. Follow the instructions in the terminal to authenticate. - - -# More info - -For more information on Github Copilot, refer to the [official Github Copilot documentation](https://docs.github.com/en/copilot). -