MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / fetchConfig

Function fetchConfig

src/stores/apiServer.ts:276–282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

274 const isWebMode = computed(() => !IS_ELECTRON)
275
276 async function fetchConfig() {
277 try {
278 config.value = await transport.getConfig()
279 } catch (err) {
280 console.error('[ApiServerStore] Failed to fetch config:', err)
281 }
282 }
283
284 async function fetchStatus() {
285 try {

Callers 3

refreshFunction · 0.85
setEnabledFunction · 0.85
setPortFunction · 0.85

Calls 2

getConfigMethod · 0.65
errorMethod · 0.65

Tested by

no test coverage detected