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

Function getConfigPath

apps/desktop/main/ai/llm/index.ts:96–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94let CONFIG_PATH: string | null = null
95
96function getConfigPath(): string {
97 if (CONFIG_PATH) return CONFIG_PATH
98 CONFIG_PATH = path.join(getPathProvider().getAiDataDir(), 'llm-config.json')
99 return CONFIG_PATH
100}
101
102// ==================== Electron-specific 增强迁移 ====================
103// Migration Runner (packages/config/src/migrations) 处理核心数据迁移。

Callers 2

loadConfigStoreFunction · 0.70
saveConfigStoreRawFunction · 0.70

Calls 2

getPathProviderFunction · 0.90
getAiDataDirMethod · 0.65

Tested by

no test coverage detected