Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03k
1/*2 Copyright 2020 Google LLC3 4 Use of this source code is governed by an MIT-style5 license that can be found in the LICENSE file or at6 https://opensource.org/licenses/MIT.7*/8 9import {WorkboxPlugin, WorkboxPluginCallbackParam} from 'workbox-core/types.js';10 11import {PrecacheController} from '../PrecacheController.js';12 13import '../_version.js';14 15/**16 * A plugin, designed to be used with PrecacheController, to translate URLs into17 * the corresponding cache key, based on the current revision info.18 *19 * @private20 */21class PrecacheCacheKeyPlugin implements WorkboxPlugin {22 private readonly _precacheController: PrecacheController;23 24 constructor({precacheController}: {precacheController: PrecacheController}) {25 this._precacheController = precacheController;26 }27 28 cacheKeyWillBeUsed: WorkboxPlugin['cacheKeyWillBeUsed'] = async ({29 request,30 params,31 }: WorkboxPluginCallbackParam['cacheKeyWillBeUsed']) => {32 // Params is type any, can't change right now.33 /* eslint-disable */34 const cacheKey =35 params?.cacheKey ||36 this._precacheController.getCacheKeyForURL(request.url);37 /* eslint-enable */38 39 return cacheKey40 ? new Request(cacheKey, {headers: request.headers})41 : request;42 };43}44 45export {PrecacheCacheKeyPlugin};46 