Skip to content

Commit 0e542f3

Browse files
authored
fix: populate chat command disambiguation (microsoft#227008)
1 parent 478d1bf commit 0e542f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/chat/common/chatAgents.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ export class ChatAgentService implements IChatAgentService {
445445
const participants = this.getAgents().reduce<IChatParticipantMetadata[]>((acc, a) => {
446446
acc.push({ participant: a.id, disambiguation: a.disambiguation ?? [] });
447447
for (const command of a.slashCommands) {
448-
acc.push({ participant: a.id, command: command.name, disambiguation: [] });
448+
acc.push({ participant: a.id, command: command.name, disambiguation: command.disambiguation ?? [] });
449449
}
450450
return acc;
451451
}, []);

0 commit comments

Comments
 (0)