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

Method Probe

internal/llm/llm.go:264–278  ·  view source on GitHub ↗

Probe sends a minimal hello chat just to harvest response headers in one round trip: status validates the URL/model/key combo, X-Context-Window gives the live size, X-Budget-Remaining the live fraction. The body is closed unread; on the cloud proxy that may already charge one token, the cost of a si

(parent context.Context)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

probeBackendFunction · 0.80

Calls 3

postChatMethod · 0.95
ContextWindowFromHeadersFunction · 0.92
FromHeadersFunction · 0.92

Tested by 1