Skip to main content

Troubleshooting issues with GitHub Copilot Chat

This guide describes common issues with Copilot Chat and how to resolve them.

Qui peut utiliser cette fonctionnalité ?

Tous les utilisateurs ayant un abonnement GitHub Copilot Pro ou GitHub Copilot Free peuvent accéder à GitHub Copilot Chat dans votre IDE.

Les propriétaires d’organisations avec un abonnement Copilot Business peuvent décider d’accorder l’accès à GitHub Copilot Chatdans votre IDE.

You can use GitHub Copilot Chat in your IDE or on the GitHub website. Click the tabs above for troubleshooting information for Copilot in Visual Studio, Visual Studio Code, and on GitHub in the browser.

If you need help with GitHub Copilot Chat and can't find the answer here, you can report a bug or ask for help. For more information, see Sharing feedback about GitHub Copilot Chat.

If you can't find Copilot Chat in your editor, make sure you have checked the Prerequisites section.

Troubleshooting issues caused by version incompatibility

Les modifications apportées à GitHub Copilot Chat coïncident avec les versions de Visual Studio Code, en raison de la profonde intégration de l'interface utilisateur de Copilot Chat. Par conséquent, chaque nouvelle version de Copilot Chat n'est compatible qu'avec la dernière version de Visual Studio Code. Cela signifie que si vous utilisez une ancienne version de Visual Studio Code, vous ne pourrez pas utiliser la dernière version de Copilot Chat.

Seules les dernières versions de Copilot Chat utiliseront le dernier grand modèle de langage fourni par le service Copilot, car même les mises à jour mineures du modèle nécessitent des modifications et des corrections rapides dans l'extension. Une ancienne version de Copilot Chat utilisera toujours la dernière version de Copilot pour terminer le code.

To use GitHub Copilot Chat, make sure you are using the latest version of Visual Studio Code.

Troubleshooting authentication issues in your editor

Si vous utilisez un abonnement Copilot pour un compte compte d’utilisateur managé sur GHE.com, vous devrez mettre à jour certains paramètres avant de vous connecter. See Utilisation de GitHub Copilot avec un compte sur GHE.com.

Troubleshooting authentication issues in Visual Studio Code

If you are experiencing authentication issues after installing the GitHub Copilot Chat extension in Visual Studio Code, you can try the following steps to resolve the issue.

  1. In the bottom left corner of the Visual Studio Code window, click the Accounts icon, hover over your GitHub username, and click the Sign out button.
  2. To reload Visual Studio Code, press F1 to open the command palette, and select Developer: Reload Window.
  3. After Visual Studio Code reloads, sign back in to your GitHub account.

If you can't find Copilot Chat in your editor, make sure you have checked the Prerequisites section.

Troubleshooting authentication issues in your editor

Si vous utilisez un abonnement Copilot pour un compte compte d’utilisateur managé sur GHE.com, vous devrez mettre à jour certains paramètres avant de vous connecter. See Utilisation de GitHub Copilot avec un compte sur GHE.com.

Troubleshooting authentication issues in Visual Studio

If you are experiencing authentication issues after installing the GitHub Copilot Chat extension in Visual Studio, you can try the following steps to resolve the issue.

  1. Check that the GitHub ID you are signed into Visual Studio with is the same as the one you have been granted access to GitHub Copilot Chat with.

  2. Check whether your GitHub ID/credentials need refreshing in Visual Studio. For more information, see Work with GitHub accounts in Visual Studio in the Visual Studio documentation.

  3. Try removing and re-adding your GitHub ID to Visual Studio and restarting Visual Studio.

  4. If the above steps don't work, click the Share feedback button and select Report a problem to report the issue to the Visual Studio team.

    Screenshot of the share feedback button in Visual Studio.

Troubleshooting interrupted chat responses

If a chat response terminates unexpectedly, before the response is complete, try resubmitting the question.

In Copilot Chat's immersive view (the github.com/copilot page), you can resubmit your question by clicking the button under the chat response.