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