MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / checkLocalBackends

Function checkLocalBackends

src/utils/network-check.ts:158–160  ·  view source on GitHub ↗
(timeoutMs = 1000)

Source from the content-addressed store, hash-verified

156 * the user "Ollama: up, LM Studio: down" before they hit a confusing error.
157 */
158export async function checkLocalBackends(timeoutMs = 1000): Promise<ProbeResult[]> {
159 return Promise.all(LOCAL_ENDPOINTS.map(e => probeEndpoint(e.url, e.label, timeoutMs)));
160}
161
162/**
163 * Combined check used by the `/network` slash command.

Callers 1

runFullDiagnosticFunction · 0.85

Calls 1

probeEndpointFunction · 0.85

Tested by

no test coverage detected