feat: added function call info to chat completions (#390)
This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
|||||||
type ChatCompletionStreamChoiceDelta struct {
|
type ChatCompletionStreamChoiceDelta struct {
|
||||||
Content string `json:"content,omitempty"`
|
Content string `json:"content,omitempty"`
|
||||||
Role string `json:"role,omitempty"`
|
Role string `json:"role,omitempty"`
|
||||||
|
FunctionCall *FunctionCall `json:"function_call,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ChatCompletionStreamChoice struct {
|
type ChatCompletionStreamChoice struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user