feat: support index

This commit is contained in:
Zhang Minghan 2024-02-18 18:14:41 +08:00
parent a3b7efd611
commit 12f386913b

View File

@ -34,6 +34,7 @@ type ToolCallFunction struct {
}
type ToolCall struct {
Index *int `json:"index,omitempty"`
Type string `json:"type"`
Id ToolCallId `json:"id"`
Function ToolCallFunction `json:"function"`