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
322 stars 29 forks source link

Unable to resolve chat model with family selection: gpt-4 #1361

Closed Denishollerbach closed 2 months ago

Denishollerbach commented 3 months ago

Steps to Reproduce:

  1. instalar a extensao, conecatar com a conta do git hub
  2. Testar o chat, perguntar algo com cmd + i, com cmd + shift + i e nada funciona sempre dando o erro de family selection seja gpt-4 ou gpt-3.5turbo

image

sdheepakdba commented 3 months ago

We are also getting same issue

leahrdt commented 3 months ago

@aeschli Since today I have the same problem, I have windows 11 enterprice, it does not work neither in VS Code nor in Visual Studio 2022.

This is the last line of the problem in the visual studio code chat log: Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:153:49553) This is the last line of the problem in the visual studio 2022 chat log: [Conversations Information] [CopilotCompletions] Error while processing the event: The SSL connection could not be established, see inner exception.

chrmarti commented 3 months ago

Please update to VS Code 1.91.0 and GitHub Copilot Chat 0.17.0.

If it doesn't work with these versions, please run F1 > Developer: GitHub Copilot Chat Diagnostics and share the output here.

leahrdt commented 3 months ago

@chrmarti I have VS Code 1.91.0 and GitHub Copilot Chat 0.17.0. and I continued with the same problem:

workbench.desktop.main.js:sourcemap:139 [Extension Host] [extension] Error: Unable to resolve chat model with family selection: gpt-4 at UA.getChatModel (c:\Users\vmvv.vscode\extensions\github.copilot-chat-0.17.0\dist\extension.js:1317:2578) at processTicksAndRejections (node:internal/process/task_queues:95:5) at ZT.getChatEndpoint (c:\Users\vmvv.vscode\extensions\github.copilot-chat-0.17.0\dist\extension.js:1317:5768) at t.invoke (c:\Users\vmvv.vscode\extensions\github.copilot-chat-0.17.0\dist\extension.js:839:3611) at aM._provideResponseWithProgress (c:\Users\vmvv.vscode\extensions\github.copilot-chat-0.17.0\dist\extension.js:872:1222) at aM.provideResponseWithProgress (c:\Users\vmvv.vscode\extensions\github.copilot-chat-0.17.0\dist\extension.js:870:4601) at n.y (c:\Users\vmvv.vscode\extensions\github.copilot-chat-0.17.0\dist\extension.js:882:1826) at g.$invokeAgent (c:\Users\vmvv\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:154:50217)

Thank You

alexdegtiar commented 2 months ago

I have just set up copilot and am getting the same issue. Rolling back to some recent versions of the extensions has the same behavior (or a different non-functional behavior).

chrmarti commented 2 months ago

Please run F1 > Developer: GitHub Copilot Chat Diagnostics and share the output here.

leahrdt commented 2 months ago

@chrmarti

GitHub Copilot Chat

Network

User Settings:

  "github.copilot.advanced": {
    "debug.useElectronFetcher": false,
    "debug.useNodeFetcher": false
  }

DNS Lookup api.githubcopilot.com: 140.82.114.22

Fetching https://api.githubcopilot.com/_ping:

mofa65 commented 2 months ago

Hello, I changed my windows password and since then I also receive the same error, I run the github co pilot via WSL in VS code in a container, the problem reported today, it was running fine before. I have updated the proxy(cntlm) after updating the password. 2024-07-15 10:16:02.587 [info] [fetcher] Using Helix fetcher, Electron fetcher is not available. 2024-07-15 10:16:02.652 [info] [auth] Sucessfully authenticated 2024-07-15 10:16:03.051 [error] [default] Error sending telemetry FetchError: Unspecified GSS failure. Minor code may provide more information: No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_1000) at fetch (/home/fao5fe/.vscode-server/extensions/github.copilot-1.212.0/node_modules/@adobe/helix-fetch/src/fetch/index.js:99:11) at cachingFetch (/home/fao5fe/.vscode-server/extensions/github.copilot-1.212.0/node_modules/@adobe/helix-fetch/src/fetch/index.js:288:16) at Sq.fetch (/home/fao5fe/.vscode-server/extensions/github.copilot-1.212.0/lib/src/network/helix.ts:92:22) { type: 'system', _name: 'FetchError', code: undefined, errno: undefined, erroredSysCall: undefined } 2024-07-15 10:20:21.830 [info] [fetcher] Using Helix fetcher, Electron fetcher is not available.

chrmarti commented 2 months ago

@mofa65 If this is triggered by the password change, maybe you need to update your Kerberos config in WSL? The log suggests some issue with Kerberos authentication. Also join https://github.com/microsoft/vscode-copilot-release/issues/1380 which is about WSL and Kerberos.

leahrdt commented 2 months ago

@mofa65 If this is triggered by the password change, maybe you need to update your Kerberos config in WSL? The log suggests some issue with Kerberos authentication. Also join #1380 which is about WSL and Kerberos.

Hi @chrmarti
this morning I changed the error when trying to query github copilot chat, now it tells me the following: GitHub Copilot read ECONNRESET

chrmarti commented 2 months ago

(Continuing with @leahrdt in https://github.com/microsoft/vscode-copilot-release/issues/1362#issuecomment-2227914999.)

mofa65 commented 2 months ago

@mofa65 If this is triggered by the password change, maybe you need to update your Kerberos config in WSL? The log suggests some issue with Kerberos authentication. Also join #1380 which is about WSL and Kerberos.

How shall I update Kerberos?

mofa65 commented 2 months ago

@mofa65 If this is triggered by the password change, maybe you need to update your Kerberos config in WSL? The log suggests some issue with Kerberos authentication. Also join #1380 which is about WSL and Kerberos.

How shall I update Kerberos?

Updating to latest 1.91.1 resolved the issue. Thank you

chrmarti commented 2 months ago

Great! Closing this issue since it looks like all threads have been resolved or continue elsewhere. Thanks.