Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/copilot/test/base/chatMLCache.ts
13389 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
import { SQLiteSlottedCache } from './cache';
6
import { CacheableChatRequest, CachedResponse, IChatMLCache } from './cachingChatMLFetcher';
7
import { CurrentTestRunInfo } from './simulationContext';
8
9
export class ChatMLSQLiteCache extends SQLiteSlottedCache<CacheableChatRequest, CachedResponse> implements IChatMLCache {
10
constructor(salt: string, info: CurrentTestRunInfo) {
11
super('request', salt, info);
12
}
13
}
14
15