Feat Support tools and tools choice new fileds (#526)
* feat: support tools and tools choice new fileds * fix: use value not pointers
This commit is contained in:
@@ -9,6 +9,7 @@ type ChatCompletionStreamChoiceDelta struct {
|
||||
Content string `json:"content,omitempty"`
|
||||
Role string `json:"role,omitempty"`
|
||||
FunctionCall *FunctionCall `json:"function_call,omitempty"`
|
||||
ToolCalls []ToolCall `json:"tool_calls,omitempty"`
|
||||
}
|
||||
|
||||
type ChatCompletionStreamChoice struct {
|
||||
|
||||
Reference in New Issue
Block a user