MCPcopy Create free account
hub / github.com/codehamr/codehamr / Reachable

Function Reachable

internal/cloud/cloud.go:30–42  ·  view source on GitHub ↗

Reachable GETs baseURL/v1/models with ctx as deadline; any HTTP response (even 401/404) counts as reachable, only transport errors/timeouts don't. Backs the TUI connectivity probe for keyless (local) profiles. v1/models is the route-registered OpenAI heartbeat every keyless backend serves (Ollama,

(ctx context.Context, baseURL string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

pingBackendFunction · 0.92

Calls

no outgoing calls

Tested by 2