MCPcopy
hub / github.com/promptfoo/promptfoo / getCurrentCacheNamespace

Function getCurrentCacheNamespace

src/cache.ts:161–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159}
160
161function getCurrentCacheNamespace() {
162 return cacheNamespaceStorage.getStore()?.namespace;
163}
164
165function currentNamespaceIncludesRepeatIndex(repeatIndex: number) {
166 const namespaceParts = getCurrentCacheNamespace()?.split(':') ?? [];

Callers 3

getScopedCacheKeyFunction · 0.85
withCacheNamespaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…