diff --git a/chat.go b/chat.go index 2a53c1697..f1b77ba30 100644 --- a/chat.go +++ b/chat.go @@ -202,6 +202,7 @@ type ToolCall struct { ID string `json:"id,omitempty"` Type ToolType `json:"type"` Function FunctionCall `json:"function"` + Name string `json:"name,omitempty"` } type FunctionCall struct {