Avoid "slash command" name in agent API (#202729)

* Avoid "slash command" name in agent API

* Fix reference

* Fix
This commit is contained in:
Rob Lourens
2024-01-18 17:05:28 -03:00
committed by GitHub
parent fa989a17f1
commit 63349889d9
5 changed files with 28 additions and 28 deletions

View File

@@ -35,8 +35,8 @@ suite('chat', () => {
deferred.complete(request);
return null;
});
agent.slashCommandProvider = {
provideSlashCommands: (_token) => {
agent.subCommandProvider = {
provideSubCommands: (_token) => {
return [{ name: 'hello', description: 'Hello' }];
}
};