Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/workbench/contrib/chat/test/common/mockChatVariables.ts
3296 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
import { IChatVariablesService, IDynamicVariable } from '../../common/chatVariables.js';
7
import { IToolAndToolSetEnablementMap } from '../../common/languageModelToolsService.js';
8
9
export class MockChatVariablesService implements IChatVariablesService {
10
_serviceBrand: undefined;
11
12
getDynamicVariables(sessionId: string): readonly IDynamicVariable[] {
13
return [];
14
}
15
16
getSelectedToolAndToolSets(sessionId: string): IToolAndToolSetEnablementMap {
17
return new Map();
18
}
19
20
}
21
22