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

Function fetchStatus

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

Source from the content-addressed store, hash-verified

282 }
283
284 async function fetchStatus() {
285 try {
286 status.value = await transport.getStatus()
287 } catch (err) {
288 console.error('[ApiServerStore] Failed to fetch status:', err)
289 }
290 }
291
292 async function refresh() {
293 await Promise.all([fetchConfig(), fetchStatus(), fetchDataSources()])

Callers 1

refreshFunction · 0.85

Calls 2

getStatusMethod · 0.80
errorMethod · 0.65

Tested by

no test coverage detected