microsoft / vscode-copilot-release

Feedback on GitHub Copilot Chat UX in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat
Creative Commons Attribution 4.0 International
314 stars 28 forks source link

copilot Chat is not working #1406

Open SathyaLab opened 2 months ago

SathyaLab commented 2 months ago

Steps to Reproduce:

  1. install GitHub copilot in VS Code. my VS code version is 1.91.1
  2. select the code, and type /explain from workspace
  3. i see the below error: Unexpected token '<', " <h"... is not valid JSON

image

lramos15 commented 1 month ago

Are you on a corporate network? This normally indicates some sort of corporate network issue or a service outage. Are you still having problems?

SathyaLab commented 1 month ago

I am on corporate network and this is my individual plan. Others who has individual plan able to access without any issues

lramos15 commented 1 month ago

Please attach your logs via CTRL / CMD + SHIFT + U -> GitHub Copilot Chat

SathyaLab commented 1 month ago

2024-07-24 03:34:01.508 [info] [extension] SyntaxError: Unexpected token '<', " <h"... is not valid JSON at JSON.parse () at gte.json (c:\Users\UDBR.vscode\extensions\github.copilot-chat-0.17.1\dist\extension.js:1290:3238) at processTicksAndRejections (node:internal/process/task_queues:95:5) at UA._fetchModels (c:\Users\UDBR.vscode\extensions\github.copilot-chat-0.17.1\dist\extension.js:1291:3447) at UA.getChatModel (c:\Users\UDBR.vscode\extensions\github.copilot-chat-0.17.1\dist\extension.js:1291:2329) at ZT.getChatEndpoint (c:\Users\UDBR.vscode\extensions\github.copilot-chat-0.17.1\dist\extension.js:1291:5862) at _M.invoke (c:\Users\UDBR.vscode\extensions\github.copilot-chat-0.17.1\dist\extension.js:900:16802) at aM._provideResponseWithProgress (c:\Users\UDBR.vscode\extensions\github.copilot-chat-0.17.1\dist\extension.js:872:1222) at aM.provideResponseWithProgress (c:\Users\UDBR.vscode\extensions\github.copilot-chat-0.17.1\dist\extension.js:870:4601) at n.y (c:\Users\UDBR.vscode\extensions\github.copilot-chat-0.17.1\dist\extension.js:882:1826) at g.$invokeAgent (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:154:50217)

chrmarti commented 1 month ago

Could you also try with VS Code Insiders (https://code.visualstudio.com/insiders/) and the latest GitHub Copilot Chat pre-release version? That should have additional information in the error message and log.

SathyaLab commented 1 month ago

i am not sure if i can install it on my company laptop

chrmarti commented 1 month ago

There are new stable versions with the improved logging expected next week.