mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 16:18:58 +01:00
Get rid of history2, variables2 (#205124)
* Get rid of history2 * Remove prompt2 and variables2 * Clean up variables2/prompt2 * Fix tests * Fix ranges * Fix test
This commit is contained in:
@@ -64,8 +64,8 @@ suite('chat', () => {
|
||||
const deferred = getDeferredForRequest();
|
||||
interactive.sendInteractiveRequestToProvider('provider', { message: '@agent hi #myVar' });
|
||||
const request = await deferred.p;
|
||||
assert.strictEqual(request.prompt, 'hi [#myVar](values:myVar)');
|
||||
assert.strictEqual(request.variables['myVar'][0].value, 'myValue');
|
||||
assert.strictEqual(request.prompt, 'hi #myVar');
|
||||
assert.strictEqual(request.variables[0].values[0].value, 'myValue');
|
||||
});
|
||||
|
||||
test('result metadata is returned to the followup provider', async () => {
|
||||
|
||||
Reference in New Issue
Block a user