MCPcopy Create free account
hub / github.com/LumaAI-API/Luma-API / ChatCompletionsStreamResponseChoice

Struct ChatCompletionsStreamResponseChoice

common/openai_tools.go:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66type ChatCompletionsStreamResponseChoice struct {
67 Index int `json:"index"`
68 Delta struct {
69 Content string `json:"content"`
70 Role string `json:"role,omitempty"`
71 } `json:"delta"`
72 FinishReason *string `json:"finish_reason,omitempty"`
73}
74
75type OpenAIError struct {
76 Error Error `json:"error"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected