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

Struct Error

common/openai_tools.go:79–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79type Error struct {
80 Message string `json:"message"`
81 Type string `json:"type"`
82 Param string `json:"param"`
83 Code any `json:"code"`
84}
85
86func ConstructChatCompletionStreamReponse(model, answerID string, answer string) openai.ChatCompletionStreamResponse {
87 resp := openai.ChatCompletionStreamResponse{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected