More small chat API fixes (#205901)

* Fix #205811

* Fix #205807

* Make description optional

* Fix

* fix test
This commit is contained in:
Rob Lourens
2024-02-21 20:57:18 +00:00
committed by GitHub
parent dc0b20cf98
commit 61f447b79a
5 changed files with 17 additions and 16 deletions

View File

@@ -67,7 +67,7 @@ suite('chat', () => {
interactive.sendInteractiveRequestToProvider('provider', { message: '@participant /hello friend' });
} else {
assert.strictEqual(request.context.history.length, 1);
assert.strictEqual(request.context.history[0].participant.participant, 'participant');
assert.strictEqual(request.context.history[0].participant.name, 'participant');
assert.strictEqual(request.context.history[0].command, 'hello');
}
});