Fix slash commands / followups mixup (#198003)

This commit is contained in:
Rob Lourens 2023-11-11 16:42:41 -06:00 committed by GitHub
parent ca8981c284
commit bdc113ffe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ export class MainThreadChatAgents2 extends Disposable implements MainThreadChatA
}
},
provideFollowups: async (sessionId, token): Promise<IChatFollowup[]> => {
if (!this._agents.get(handle)?.hasSlashCommands) {
if (!this._agents.get(handle)?.hasFollowups) {
return [];
}