fix
This commit is contained in:
+1
-1
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user