MCPcopy Create free account
hub / github.com/coder/coder / RequestPayload

TypeAlias RequestPayload

aibridge/intercept/responses/reqpayload.go:44–44  ·  view source on GitHub ↗

RequestPayload is raw JSON bytes of a Responses API request. Methods provide package-specific reads and rewrites while preserving the original body for upstream pass-through. Note: No changes are made on schema error.

Source from the content-addressed store, hash-verified

42// original body for upstream pass-through.
43// Note: No changes are made on schema error.
44type RequestPayload []byte
45
46func NewRequestPayload(raw []byte) (RequestPayload, error) {
47 if len(bytes.TrimSpace(raw)) == 0 {

Callers 1

NewRequestPayloadFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected