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
310 stars 28 forks source link

[error] Extension 'github.copilot-chat' appears in product.json but enables LESS API proposals than the extension wants #423

Closed vonnilsson closed 11 months ago

vonnilsson commented 11 months ago

Steps to Reproduce:

  1. install GitHub Copilot Chat
  2. check output log

2023-09-26 20:29:09.112 [warning] Settings pattern "application." doesn't match any settings 2023-09-26 20:29:09.611 [error] Extension 'github.copilot-chat' appears in product.json but enables LESS API proposals than the extension wants. package.json (LOSES): interactive, interactiveUserActions, terminalContextMenu, terminalDataWriteEvent, terminalSelection, terminalQuickFixProvider, handleIssueUri, chatSlashCommands, readonlyMessage, chatVariables, mappedEditsProvider, aiRelatedInformation product.json (WINS): handleIssueUri, interactive, interactiveUserActions, terminalContextMenu, terminalDataWriteEvent, terminalSelection, terminalQuickFixProvider, chatSlashCommands, readonlyMessage, mappedEditsProvider, aiRelatedInformation 2023-09-26 20:29:11.651 [warning] Settings pattern "application." doesn't match any settings 2023-09-26 20:29:11.989 [info] [perf] Render performance baseline is 45ms 2023-09-26 20:29:12.256 [warning] Settings pattern "application." doesn't match any settings 2023-09-26 20:29:20.974 [warning] Settings pattern "application." doesn't match any settings 2023-09-26 20:29:21.179 [error] Extension 'github.copilot-chat' appears in product.json but enables LESS API proposals than the extension wants. package.json (LOSES): interactive, interactiveUserActions, terminalContextMenu, terminalDataWriteEvent, terminalSelection, terminalQuickFixProvider, handleIssueUri, chatSlashCommands, readonlyMessage, chatVariables, mappedEditsProvider, aiRelatedInformation product.json (WINS): handleIssueUri, interactive, interactiveUserActions, terminalContextMenu, terminalDataWriteEvent, terminalSelection, terminalQuickFixProvider, chatSlashCommands, readonlyMessage, mappedEditsProvider, aiRelatedInformation 2023-09-26 20:29:23.074 [warning] Settings pattern "application." doesn't match any settings 2023-09-26 20:29:23.747 [info] [perf] Render performance baseline is 31ms 2023-09-26 20:29:24.077 [warning] Settings pattern "application." doesn't match any settings

digitarald commented 11 months ago

Might be expected, but I let Rob clarify

roblourens commented 11 months ago

You should be able to ignore that, it will be fixed up in the next vscode release.

thesolution commented 4 months ago

I'm seeing this today 4/24/24 while trying to fix dev container extension host crashing. Should this be re-opened?

digitarald commented 4 months ago

@thesolution are your extension and VS Code on the latest updates?

thesolution commented 4 months ago

@digitarald As far as I can see I am. I deleted all extensions and VSCode as well as deleting VSCode user settings listed in the first answer of SO Question: How to completely uninstall VS Code on mac? then reinstalled with a fresh download of the VSCode installer.

GitHub Copilot: v1.183.0

VSCode:

Version: 1.88.1 (Universal)
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
Date: 2024-04-10T17:42:52.765Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin x64 23.4.0

Error message in Developer Tools(line breaks added):

[Extension Host] [chat] Registration of interactive providers failed: Error: Extension 'GitHub.copilot-chat' \
  CANNOT  use API proposal: aiTextSearchProvider.
Its package.json#enabledApiProposals-property declares: handleIssueUri, interactive, terminalDataWriteEvent, \
  terminalExecuteCommandEvent, terminalSelection, terminalQuickFixProvider, chatParticipant, \
  chatParticipantAdditions,  defaultChatParticipant, chatVariableResolver, chatProvider, mappedEditsProvider, \
  aiRelatedInformation, codeActionAI,  findTextInFiles, textSearchProvider, contribSourceControlInputBoxMenu, \
  newSymbolNamesProvider, findFiles2, extensionsAny, authLearnMore, testObserver but NOT \
  aiTextSearchProvider.
 The missing proposal MUST be added and you must start in extension development mode or use the following \
   command line switch: --enable-proposed-api GitHub.copilot-chat
w @ console.ts:137
Screenshot 2024-04-25 at 11 47 55 AM
digitarald commented 4 months ago

@thesolution what's the Copilot Chat extension version (Command: Developer: Show Running Extensions)

cc @roblourens for checking out the shared logs.

thesolution commented 4 months ago

Copilot Chat 0.14.1

Screenshot 2024-04-25 at 1 05 50 PM
thesolution commented 4 months ago

Thank you @digitarald and @roblourens for coaching me on what I need to send. I'm new at this.

AdamCoulterOz commented 4 months ago

I'm getting basically the same errors (GitHub.copilot-chat - v0.15.0)

VSCode Version: 1.89.0 Commit: b58957e67ee1e712cebf466b995adf4c5307b2bd Date: 2024-05-01T02:10:13.496Z Electron: 28.2.8 ElectronBuildId: 27744544 Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Darwin arm64 23.4.0

2024-05-09 22:45:15.281 [error] Extension 'github.copilot-chat' appears in product.json but enables LESS API proposals than the extension wants.
package.json (LOSES): extensionsAny, newSymbolNamesProvider, interactive, chatProvider, codeActionAI, findTextInFiles, findFiles2, textSearchProvider, terminalDataWriteEvent, terminalExecuteCommandEvent, terminalSelection, terminalQuickFixProvider, mappedEditsProvider, aiRelatedInformation, chatParticipant, chatParticipantAdditions, defaultChatParticipant, chatVariableResolver, contribSourceControlInputBoxMenu, authLearnMore, testObserver, aiTextSearchProvider
product.json (WINS): interactive, terminalDataWriteEvent, terminalExecuteCommandEvent, terminalSelection, terminalQuickFixProvider, chatParticipant, chatParticipantAdditions, defaultChatParticipant, chatVariableResolver, chatProvider, mappedEditsProvider, aiRelatedInformation, codeActionAI, findTextInFiles, textSearchProvider, contribSourceControlInputBoxMenu, newSymbolNamesProvider, findFiles2, extensionsAny, authLearnMore, testObserver
2024-05-09 22:45:17.213 [error] [Extension Host] [chat] Registration of interactive providers failed: Error: Extension 'GitHub.copilot-chat' CANNOT use API proposal: aiTextSearchProvider.
Its package.json#enabledApiProposals-property declares: interactive, terminalDataWriteEvent, terminalExecuteCommandEvent, terminalSelection, terminalQuickFixProvider, chatParticipant, chatParticipantAdditions, defaultChatParticipant, chatVariableResolver, chatProvider, mappedEditsProvider, aiRelatedInformation, codeActionAI, findTextInFiles, textSearchProvider, contribSourceControlInputBoxMenu, newSymbolNamesProvider, findFiles2, extensionsAny, authLearnMore, testObserver but NOT aiTextSearchProvider.
 The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api GitHub.copilot-chat
zkreutzjanz commented 4 months ago

Seeing same issue in a way. Getting that issue in vscode remote, breaking copilot chat remote. Also seeing no logs for normal copilot in remote, totally non functional. Issues began sometime in the last week.

hhfrancois commented 4 months ago

Same for me, too much issues with github copilot, tired 024-05-11 20:59:36.026 [info] [chat] Registration of interactive providers failed:,Error: Extension 'GitHub.copilot-chat' CANNOT use API proposal: aiTextSearchProvider. Its package.json#enabledApiProposals-property declares: interactive, terminalDataWriteEvent, terminalExecuteCommandEvent, terminalSelection, terminalQuickFixProvider, chatParticipant, chatParticipantAdditions, defaultChatParticipant, chatVariableResolver, chatProvider, mappedEditsProvider, aiRelatedInformation, codeActionAI, findTextInFiles, textSearchProvider, contribSourceControlInputBoxMenu, newSymbolNamesProvider, findFiles2, extensionsAny, authLearnMore, testObserver but NOT aiTextSearchProvider. The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api GitHub.copilot-chat 2024-05-11 20:59:36.026 [info] [githubTitleAndDescriptionProvider] Initializing GitHub PR title and description provider provider. 2024-05-11 20:59:36.065 [info] [auth] Got Copilot token for hhfrancois 2024-05-11 20:59:36.067 [info] [githubTitleAndDescriptionProvider] Successfully activated the GitHub.vscode-pull-request-github extension. 2024-05-11 20:59:36.067 [info] [githubTitleAndDescriptionProvider] Successfully registered GitHub PR title and description provider.

mrvlasyuk commented 4 months ago

+1, same issue, copilot not working in remote with error about aiTextSearchProvider. vscode and github copilot extension are the newest versions.

hhfrancois commented 4 months ago

finally, update vscode, uninstall plugins. remove github folder extensions, reinstall folder... works... many hours losted

roblourens commented 4 months ago

Please just check that Copilot Chat is updated to the latest, and note that it has to be updated on the remote you're connected to