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

Method postChat

internal/llm/llm.go:379–393  ·  view source on GitHub ↗

postChat dispatches via doPost; on a 400 rejecting reasoning it drops reasoning_effort for this Client's lifetime and retries once. Two wild flavours, both caught by substring match: newer OpenAI models ("reasoning_effort … not supported") and Ollama non-thinking models (" does not support th

(parent context.Context, body chatRequest)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

ProbeMethod · 0.95
sendChatMethod · 0.95

Calls 1

doPostMethod · 0.95

Tested by

no test coverage detected