MCPcopy Create free account
hub / github.com/SMNETSTUDIO/You2API / OpenAIRequest

Struct OpenAIRequest

api/main.go:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34type OpenAIRequest struct {
35 Messages []Message `json:"messages"`
36 Stream bool `json:"stream"`
37 Model string `json:"model"`
38}
39
40type Message struct {
41 Role string `json:"role"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected