Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into feat/implement-ru…
Browse files Browse the repository at this point in the history
…n-APIs
  • Loading branch information
henomis committed Nov 9, 2023
2 parents e5a29cd + 78862a2 commit 343ce4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ type ChatCompletionMessage struct {
}

type ToolCall struct {
// Index is not nil only in chat completion chunk object
Index *int `json:"index,omitempty"`
ID string `json:"id"`
Type ToolType `json:"type"`
Function FunctionCall `json:"function"`
Expand Down

0 comments on commit 343ce4f

Please sign in to comment.