Enable index tracking for tools - openai api support (#7888)

This commit is contained in:
Parth Sareen
2024-11-29 20:00:09 -08:00
committed by GitHub
parent 39e29ae5dd
commit 5f8051180e
4 changed files with 89 additions and 4 deletions

View File

@@ -146,6 +146,7 @@ type ToolCall struct {
}
type ToolCallFunction struct {
Index int `json:"index,omitempty"`
Name string `json:"name"`
Arguments ToolCallFunctionArguments `json:"arguments"`
}