MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / getStorePath

Function getStorePath

apps/desktop/main/ai/llm/custom-model-store.ts:12–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10import type { ModelDefinition } from './model-types'
11
12function getStorePath(): string {
13 return path.join(getPathProvider().getAiDataDir(), 'custom-models.json')
14}
15
16function readStore(): ModelDefinition[] {
17 const storePath = getStorePath()

Callers 2

readStoreFunction · 0.70
writeStoreFunction · 0.70

Calls 2

getPathProviderFunction · 0.90
getAiDataDirMethod · 0.65

Tested by

no test coverage detected