Skip to content

Commit f64507f

Browse files
authored
[Release] v1.41.6 (#9)
* add github rules (#3) * add prefix to chat completion messages (#4) * Fix compilation error with ChatCompletionMessage (#6) * add name to toolcall (#8)
1 parent 93ec603 commit f64507f

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)