Comments (12)
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.
Find a possible solution: adding "chatParticipantPrivate" into the "enabledApiProposals" in package.json for VSCode >= 1.90
from vscode-extension-samples.
Yes. Or you can use VS Code Insiders today.
I will go ahead and close this issue. Thanks!
from vscode-extension-samples.
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.
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.
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.
upgraded to 1.9 and now it says "No chat models available"
from vscode-extension-samples.
@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.
@isidorn yeha you were right, it seems my issue was indeed the one you linked to. Sorry about it
from vscode-extension-samples.
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.
@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.
using the following
const models = await vscode.lm.selectChatModels({ vendor: 'copilot', family: 'gpt-3.5-turbo' });
from vscode-extension-samples.
@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)
- the sample is not compitable with the current api HOT 1
- Running VSCode Extension with Proposed GitHub Copilot Chat Integration (using Chat-Sample)
- timeout has wrong type in decorator-sample HOT 1
- Contributing guide could be improved with getting started section for bugs and issues HOT 3
- wasm:lose an example of a function with a return type of string HOT 2
- chat-sample is not Windows friendly
- github.copilot-chat/1/gpt-3.5-turbo' errored, check cause for more details Unknown Error: Sorry, this message is too long. Please try a shorter question. HOT 3
- chat-sample run error HOT 8
- Test Sample
- Click to preview image bug HOT 1
- Can't show image in vscode chat markdown panel HOT 1
- Completion Sample Error: rejected promise not handled within 1 second: Error: No such branch: main. extensionHostProcess.js:148 stack trace: Error: No such branch: main. HOT 2
- the json outline does not update when the .json file changes HOT 4
- Test Issue HOT 1
- Test HOT 1
- lsp-sample does not work HOT 3
- Usage of @vscode/prompt-tsx in chat-sample
- Web extension doesn't work with WSL HOT 1
- Delete `vscode.proposed.terminalShellIntegration.d` from the sample
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-extension-samples.