Giter VIP home page Giter VIP logo

Comments (12)

isidorn avatar isidorn commented on September 12, 2024 2

Sorry about the slow response here.

@erlingto @DinahK-2SO @animeshj9 can you reproduce your issue with VS Code Insiders? If not - it is expected for VS Code Stable to silently ignore the participant contributions until the next stable release (first week of July). I apologize if this was not communicated clearly.

@bararchy can you provide those errors you are seeing now? The chat sample works fine for me with latest insiders. Might you have been hitting this issue that is now fixed microsoft/vscode#216477

Also whenever you create an issue for Chat and Language Model APIs feel free to ping me @isidorn on it.
And I suggest always opening issues in https://github.com/microsoft/vscode/issues

from vscode-extension-samples.

DinahK-2SO avatar DinahK-2SO commented on September 12, 2024 1

Find a possible solution: adding "chatParticipantPrivate" into the "enabledApiProposals" in package.json for VSCode >= 1.90

from vscode-extension-samples.

isidorn avatar isidorn commented on September 12, 2024 1

Yes. Or you can use VS Code Insiders today.
I will go ahead and close this issue. Thanks!

from vscode-extension-samples.

DinahK-2SO avatar DinahK-2SO commented on September 12, 2024

To add more details, when developing extension on vscode v1.89.0, we added 2 proposed API files:
vscode.proposed.chatParticipant.d.ts, and vscode.proposed.languageModels.d.ts.

But the source files of these 2 proposed APIs are now unavailable:
https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.chatParticipant.d.ts
https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.languageModels.d.ts

Even if we kept these 2 source files in our code, they don't work any more after vscode upgraded from 1.89 to 1.90.

Are there new APIs for copilot chat in v1.90 ?

from vscode-extension-samples.

erlingto avatar erlingto commented on September 12, 2024

I'm also experiencing this issue. Does anyone know why the @participants have disappeared?

Is this feature not ready for publishing yet? I might have missed it, but the documentation doesn't clearly state that this feature is still in preview, if that's the case. Previously, the documentation mentioned to set a requirement for VSCode 1.90, which wasn't released yet and was only available through VSCode Insiders. I expected it to be available when 1.90 was released.

from vscode-extension-samples.

bararchy avatar bararchy commented on September 12, 2024

It seemed to just go even more broken now with even insider giving errors... I hope someone is looking into that

from vscode-extension-samples.

McNickSisto avatar McNickSisto commented on September 12, 2024

upgraded to 1.9 and now it says "No chat models available"

from vscode-extension-samples.

isidorn avatar isidorn commented on September 12, 2024

@McNickSisto are you on latest VS Code Insiders and latest Copilot Chat pre-release? If yes and you still see this, are you using the vanilla chat sample?
I just tried and it works for me.

from vscode-extension-samples.

bararchy avatar bararchy commented on September 12, 2024

@isidorn yeha you were right, it seems my issue was indeed the one you linked to. Sorry about it

from vscode-extension-samples.

isidorn avatar isidorn commented on September 12, 2024

No worries. That was an unexpected breakage - sorry!

Let's see if there is an issue that @McNickSisto is facing. If not, I will go ahead and close this issue.

from vscode-extension-samples.

McNickSisto avatar McNickSisto commented on September 12, 2024

@isidorn I checked again, I was in release version, i then switched to pre-release but I encountered the same error when calling the api.

image

using the following
const models = await vscode.lm.selectChatModels({ vendor: 'copilot', family: 'gpt-3.5-turbo' });

from vscode-extension-samples.

McNickSisto avatar McNickSisto commented on September 12, 2024

@isidorn just realized I am not on VS Code Insiders, my bad. I should expect the changes to be ready by the first week of July then ?

from vscode-extension-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.