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

Struct ProbeResult

internal/llm/llm.go:252–255  ·  view source on GitHub ↗

ProbeResult holds what Probe extracts from a one-shot hello request: the live context window and budget snapshot. The TUI shows the real window at activation time and feeds the authoritative size to ctx.Pack instead of the config.yaml fallback.

Source from the content-addressed store, hash-verified

250 // RetryBackoff spaces Chat's pre-stream retries on transient failures;
251 // len is the retry count, nil/empty disables. A field, not a bare const,
252 // only so tests can shorten it; New sets the default and nothing else
253 // writes it.
254 RetryBackoff []time.Duration
255 // noReasoningEffort goes true once the server 400s on reasoning for this
256 // model (newer OpenAI models reject tools + reasoning_effort here, pushing
257 // that combo onto /v1/responses; Ollama rejects it on non-thinking models).
258 // Sticky for the Client's lifetime so later turns skip

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected