Skip to content

Chat does not register agent again when extension re-installed #250382

@bpasero

Description

@bpasero

Similar to #250381

Steps to Reproduce:

  1. you can test this running out of sources, use a fresh user data dir
  2. type "hi" into chat and run through setup
  3. uninstall copilot extension and click to restart extension host
  4. type "hi" again, extension installs again automatically

=> 🐛 notice the warning that copilot failed to get ready

Image

This fails here:

const defaultAgent = this.chatAgentService.getActivatedAgents().find(agent => agent.id === defaultAgentData.id);
if (!defaultAgent) {
throw new ErrorNoTelemetry('No default agent registered');
}

@roblourens so it looks like the agent only registers once?

Interestingly when I retry, it just works then 🤔

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugchatinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions