diff --git a/chat_stream.go b/chat_stream.go index 9093bde..75aa685 100644 --- a/chat_stream.go +++ b/chat_stream.go @@ -8,8 +8,9 @@ import ( ) type ChatCompletionStreamChoiceDelta struct { - Content string `json:"content,omitempty"` - Role string `json:"role,omitempty"` + Content string `json:"content,omitempty"` + Role string `json:"role,omitempty"` + FunctionCall *FunctionCall `json:"function_call,omitempty"` } type ChatCompletionStreamChoice struct {