File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/vs/workbench/contrib/chat/common Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -494,7 +494,12 @@ export class ChatService extends Disposable implements IChatService {
494
494
}
495
495
496
496
// No setup participant to fall back on- wait for extension activation
497
- await this . extensionService . activateByEvent ( `onChatParticipant:${ defaultAgentData . id } ` ) ;
497
+ // Using `activateById` as workaround for https://github.com/microsoft/vscode/issues/250590
498
+ await this . extensionService . activateById ( defaultAgentData . extensionId , {
499
+ activationEvent : `onChatParticipant:${ defaultAgentData . id } ` ,
500
+ extensionId : defaultAgentData . extensionId ,
501
+ startup : false
502
+ } ) ;
498
503
499
504
const defaultAgent = this . chatAgentService . getActivatedAgents ( ) . find ( agent => agent . id === defaultAgentData . id ) ;
500
505
if ( ! defaultAgent ) {
You can’t perform that action at this time.
0 commit comments