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
338 stars 36 forks source link

Language model unavailable #2258

Closed majiank-manulife closed 1 week ago

majiank-manulife commented 1 week ago

Steps to Reproduce:

  1. Ctrl+Alt+i to enable chat
  2. Type any prompts, such as 'hi'
lramos15 commented 1 week ago

Please include your logs via CTRL + SHIFT + U -> GitHub Copilot Chat

majiank-manulife commented 1 week ago

Please see the log below:

`2024-11-04 14:51:32.188 [info] Using the Electron fetcher. 2024-11-04 14:51:32.188 [info] Initializing Git extension service. 2024-11-04 14:51:32.188 [info] Logged in as majiank-manulife 2024-11-04 14:51:32.333 [info] Successfully activated the vscode.git extension. 2024-11-04 14:51:32.333 [info] Enablement state of the vscode.git extension: true. 2024-11-04 14:51:32.333 [info] Successfully registered Git commit message provider. 2024-11-04 14:51:36.380 [info] Got Copilot token for majiank-manulife 2024-11-04 14:51:36.548 [info] copilot token chat_enabled: true, sku: copilot_for_business_seat 2024-11-04 14:51:36.569 [info] Registering default platform agent... 2024-11-04 14:51:36.572 [info] Successfully activated the GitHub.vscode-pull-request-github extension. 2024-11-04 14:51:36.572 [info] [githubTitleAndDescriptionProvider] Initializing GitHub PR title and description provider provider. 2024-11-04 14:51:36.573 [info] Successfully registered GitHub PR title and description provider. 2024-11-04 14:51:36.905 [info] Fetched model metadata in 505ms dbe12008-0c83-4c10-820f-221bc19f5790 2024-11-04 14:51:36.908 [error] Error: Failed to fetch models (dbe12008-0c83-4c10-820f-221bc19f5790): <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">

Internet Security by Zscaler
D22
Sorry, you don't have permission to visit this site.

Website blocked
Not allowed to browse Generative AI and ML Applications category
You tried to visit:

See our internet use policy.
Need help? Contact our support team at ets_Websec_Ops@manulife.com
Your organization has selected Zscaler to protect you from internet threats.
at Wm._fetchModels (c:\Users\majiank.MLIDDOMAIN1\.vscode\extensions\github.copilot-chat-0.22.1\dist\extension.js:1773:17304)
at processTicksAndRejections (node:internal/process/task_queues:95:5): Failed to fetch models (dbe12008-0c83-4c10-820f-221bc19f5790)

2024-11-04 14:51:36.910 [info] activationBlocker from 'languageModelAccess' took for 4751ms 2024-11-04 14:51:36.936 [warning] Invalid remote agent response: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">

Internet Security by Zscaler
D22
Sorry, you don't have permission to visit this site.

Website blocked
Not allowed to browse Generative AI and ML Applications category
You tried to visit:

See our internet use policy.
Need help? Contact our support team at ets_Websec_Ops@manulife.com
Your organization has selected Zscaler to protect you from internet threats.
(SyntaxError: Unexpected token '<', "

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">

Internet Security by Zscaler
D22
Sorry, you don't have permission to visit this site.

Website blocked
Not allowed to browse Generative AI and ML Applications category
You tried to visit:

See our internet use policy.
Need help? Contact our support team at ets_Websec_Ops@manulife.com
Your organization has selected Zscaler to protect you from internet threats.
at Wm._fetchModels (c:\Users\majiank.MLIDDOMAIN1\.vscode\extensions\github.copilot-chat-0.22.1\dist\extension.js:1773:17304)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Wm.getChatModelFromFamily (c:\Users\majiank.MLIDDOMAIN1\.vscode\extensions\github.copilot-chat-0.22.1\dist\extension.js:1773:15511)
at a2.getChatEndpoint (c:\Users\majiank.MLIDDOMAIN1\.vscode\extensions\github.copilot-chat-0.22.1\dist\extension.js:1773:20787)
at t (c:\Users\majiank.MLIDDOMAIN1\.vscode\extensions\github.copilot-chat-0.22.1\dist\extension.js:628:825)
at pE._registerLanguageModels (c:\Users\majiank.MLIDDOMAIN1\.vscode\extensions\github.copilot-chat-0.22.1\dist\extension.js:628:1810)
at async Promise.all (index 0): Failed to fetch models (0d679556-8752-432a-b612-088ec08d6482)

`

lramos15 commented 1 week ago
Internet Security by Zscaler

Your companies Zscaler proxy is not properly allowing the network requests in for Copilot Chat to operate https://github.blog/changelog/2024-11-04-copilot-subscription-based-network-routing-is-now-enforced/