mirror of
https://github.com/coaidev/coai.git
synced 2025-06-03 20:30:19 +09:00
feat: support index
This commit is contained in:
parent
a3b7efd611
commit
12f386913b
@ -34,6 +34,7 @@ type ToolCallFunction struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ToolCall struct {
|
type ToolCall struct {
|
||||||
|
Index *int `json:"index,omitempty"`
|
||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
Id ToolCallId `json:"id"`
|
Id ToolCallId `json:"id"`
|
||||||
Function ToolCallFunction `json:"function"`
|
Function ToolCallFunction `json:"function"`
|
||||||
|
Loading…
Reference in New Issue
Block a user