mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 18:36:41 +02:00
Enable index tracking for tools - openai api support (#7888)
This commit is contained in:
parent
39e29ae5dd
commit
5f8051180e
4 changed files with 89 additions and 4 deletions
|
@ -146,6 +146,7 @@ type ToolCall struct {
|
|||
}
|
||||
|
||||
type ToolCallFunction struct {
|
||||
Index int `json:"index,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Arguments ToolCallFunctionArguments `json:"arguments"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue