This commit is contained in:
unintendedfraud
2023-05-06 12:10:15 +02:00
parent 0b34f28268
commit 9935f034f8
+1 -1
View File
@@ -77,7 +77,7 @@ type ChatCompletionPayload struct {
type CompletionPayloadMessage struct { type CompletionPayloadMessage struct {
Role string `json:"role"` Role string `json:"role"`
Content string `json:"content"` Content string `json:"content"`
Name string `json:"name"` Name string `json:"name,omitempty"`
} }
type CompletionResponse struct { type CompletionResponse struct {