Add variable 'isSlow' (#212657)

* Add variable 'isSlow'
Since 'codebase' doesn't really work as a reference, I'm only making accessible to our agents for now

* fix

* Check for slow variables in parser as well
This commit is contained in:
Rob Lourens
2024-05-15 17:40:21 -07:00
committed by GitHub
parent a110db229e
commit 14ebfdc345
10 changed files with 36 additions and 12 deletions

View File

@@ -71,7 +71,7 @@ suite('chat', () => {
});
test('participant and variable', async () => {
disposables.push(chat.registerChatVariableResolver('myVarId', 'myVar', 'My variable', 'My variable', {
disposables.push(chat.registerChatVariableResolver('myVarId', 'myVar', 'My variable', 'My variable', false, {
resolve(_name, _context, _token) {
return [{ level: ChatVariableLevel.Full, value: 'myValue' }];
}