-
Notifications
You must be signed in to change notification settings - Fork 68
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
Agent mode disabled when preview features are disabled #7550
Comments
That implies that you weren't able to log into Copilot, or the extension couldn't start up for some other reason, can you share the logs from the Copilot Chat output channel? Were you prompted to log in at some point? |
I am running into this right now as well. I have already logged in and am able to confirm Ask and Edit actions work perfectly, it is only the I do have the exact same error as reported by OP. EDIT
Just to force agent chat.
|
The setting that matters is This is a really interesting detail
Can you share the logs from the Copilot Chat output channel? Or any errors in the Window output channel? |
Thanks so much for the reply @roblourens. I will do my best to fill in where I can. The setting mentioned,
Regarding the logs from the Copilot Chat or Windows output channel, here's what I have. I have simply removed my computer name. This is the Window log:
BUUUUT I think I ultimately found my issue after you led me into the Copilot Chat output. When I look at the Copilot Chat output, there was a warning that support for the We had to enable "Editor preview features" within https://github.com/settings/copilot for this to work. I know you are all tackling so much, but it would be really nice to throw that specific error to the chat panel instead of failing without an error. Long term goals :) Thanks so much for the help! |
With microsoft/vscode#245415, if we detect that end up in such a situation, we show an error: ![]() @roblourens but I wonder how I can be more specific here. If I understand correctly:
I think what I should probably do is to ensure that we have an extension provided agent with the mode we want to trigger before attempting to do so, but I wonder what error message I should show to the user. In the end my feeling is that the UI should NOT allow a mode to be picked that is disabled remotely, is that possible? |
@roblourens @bpasero thank you for look into this issue. Here's the log I see in Github Copilot chat
Maybe this one source of evil?
|
Ok, with microsoft/vscode#245442 I am awaiting not just any chat agent, but the one for the current I still think the fix we need here is to disable agent mode (or any of the modes) when disabled by org policy. |
Update on this one: admin enabled copilot preview feature and now it is working as expected. |
Agent mode is partially behind a "preview feature" check which should no longer be there. Sorry for the confusion. @bpasero hope it's ok that I take this issue over for the candidate. |
@roblourens It was the intention for agent to be no longer behind a preview check with the 1.99 release right? When can we expect to be able to use agent with out enabling our entire org for preview features? |
Yes- we will fix this in a release next week- likely Wednesday. |
Fixed in 0.26.2 |
@roblourens one org owner has reported that the problem still exists for some users. I've refreshed the Copilot cache for the organization and the users have logged out of their GitHub account and VS Code completely and logged back in. They are still unable to use Agent Mode. Could you let me know if this needs a separate issue? Enterprise (EMU): uhg They also provided the below information about their IDE:
Update: I've asked them to enable it manually so this may not be a problem. Sorry for the noise! |
Note from @roblourens - if you're seeing this, it likely means that the agent "preview" feature needs to be enabled by your org admin. Agent mode should no longer be behind this check, we are fixing.
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
Setup Copilot by following login and other steps
Expect to see the agent mode start to work, actually nothing happens.
After open developer tools, I saw this error:
I have tried to uninstall VSCode Insider and clear cache etc, didn't fix the issue.
more info from stack trace
The text was updated successfully, but these errors were encountered: