MCPcopy Index your code
hub / github.com/Noumena-Network/code / getCachePath

Function getCachePath

src/utils/model/modelCapabilities.ts:43–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43function getCachePath(): string {
44 return join(getCacheDir(), 'model-capabilities.json')
45}
46
47function isModelCapabilitiesEligible(): boolean {
48 if ((process.env.NCODE_BUILD_MODE !== 'noumena' && process.env.USER_TYPE !== 'ant')) return false

Callers 2

getModelCapabilityFunction · 0.70
refreshModelCapabilitiesFunction · 0.70

Calls 1

getCacheDirFunction · 0.85

Tested by

no test coverage detected