"use strict";
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.appendToCache = appendToCache;
/** Appends completions to existing entry in cache or creates new entry. */
function appendToCache(completionsCacheService, requestContext, choice) {
    completionsCacheService.append(requestContext.prefix, requestContext.prompt.suffix, choice);
}
//# sourceMappingURL=cacheUtils.js.map