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

Method buildRequestBody

aibridge/provider/openai_internal_test.go:59–65  ·  view source on GitHub ↗
(model string, messages []any, stream bool)

Source from the content-addressed store, hash-verified

57}
58
59func (*responsesProvider) buildRequestBody(model string, messages []any, stream bool) map[string]any {
60 return map[string]any{
61 "model": model,
62 "input": messages,
63 "stream": stream,
64 }
65}
66
67type chatCompletionsProvider struct{}
68

Callers 1

generateResponsesPayloadFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected