diff --git a/chat/chat.go b/chat/chat.go index 13c3480..ad8a2f3 100644 --- a/chat/chat.go +++ b/chat/chat.go @@ -72,6 +72,7 @@ type Choice struct { type Message struct { Role string `json:"role,omitempty"` Content string `json:"content,omitempty"` + Name string `json:"name,omitempty"` } func (c *Client) CreateCompletion(ctx context.Context, p *CreateCompletionParams) (*CreateCompletionResponse, error) {