Skip to content

Commit c7a46c1

Browse files
authored
add name to toolcall (#8)
1 parent fcbb729 commit c7a46c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

chat.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ type ToolCall struct {
202202
ID string `json:"id,omitempty"`
203203
Type ToolType `json:"type"`
204204
Function FunctionCall `json:"function"`
205+
Name string `json:"name,omitempty"`
205206
}
206207

207208
type FunctionCall struct {

0 commit comments

Comments
 (0)