Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CANNOT use API proposal: chatAgents2 #937

Closed
shamas opened this issue Jan 11, 2024 · 2 comments
Closed

CANNOT use API proposal: chatAgents2 #937

shamas opened this issue Jan 11, 2024 · 2 comments
Assignees

Comments

@shamas
Copy link

shamas commented Jan 11, 2024

Extension sample

chat-agent-sample

VS Code version

1.85.1

What went wrong?

I successfully ran the Hello World extension sample to get the process down. Following the steps of

  1. npm i in terminal
  2. Open the folder in VSCode
  3. open extension.ts - F5 to open debugging vscode extension
  4. Also tried adding --enable-proposed-api vscode-samples.chat-agent-sample to the code startup string - no change

Error message on load

Activating extension 'vscode-samples.chat-agent-sample' failed: Extension 'vscode-samples.chat-agent-sample' CANNOT use API proposal: chatAgents2. Its package.json#enabledApiProposals-property declares: but NOT chatAgents2. The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api vscode-samples.chat-agent-sample.

@lukka
Copy link
Member

lukka commented Jan 30, 2024

@shamas FYI it worked for me using vscode insiders 1.86.0-insiders. By reading the docs it looks like it is mandatory to use VSCode insiders: one prerequisite is to "Use Insiders release of VS Code."

@roblourens
Copy link
Member

Yes, please use Insiders

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants