Replace ChatResolvedVariable with ChatValueReference (#211665)

* Replace ChatResolvedVariable with ChatValueReference
Participant API
#199908

* Fix integration test

* any -> unknown
This commit is contained in:
Rob Lourens
2024-05-01 16:14:54 +00:00
committed by GitHub
parent 1a0a1d5867
commit b8292ab7f2
6 changed files with 48 additions and 51 deletions

View File

@@ -81,7 +81,7 @@ suite('chat', () => {
commands.executeCommand('workbench.action.chat.open', { query: '@participant hi #myVar' });
const request = await deferred.p;
assert.strictEqual(request.prompt, 'hi #myVar');
assert.strictEqual(request.variables[0].values[0].value, 'myValue');
assert.strictEqual(request.variables[0].value, 'myValue');
});
test('result metadata is returned to the followup provider', async () => {