(timeoutMs = 1000)
| 156 | * the user "Ollama: up, LM Studio: down" before they hit a confusing error. |
| 157 | */ |
| 158 | export 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. |
no test coverage detected