mirror of
https://github.com/ollama/ollama.git
synced 2025-11-11 02:57:45 +01:00
types: send index for tool calls (#12625)
This commit is contained in:
@@ -204,7 +204,7 @@ type ToolCall struct {
|
||||
}
|
||||
|
||||
type ToolCallFunction struct {
|
||||
Index int `json:"index,omitempty"`
|
||||
Index int `json:"index"`
|
||||
Name string `json:"name"`
|
||||
Arguments ToolCallFunctionArguments `json:"arguments"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user