Feat: Add assistant usage (#649)

* Feat: Add assistant usage

---------

Co-authored-by: shadowpigy <shadowpigy@github.com>
This commit is contained in:
shadowpigy
2024-02-08 21:08:30 +08:00
committed by GitHub
parent 6c2e3162df
commit a7954c854c

1
run.go
View File

@@ -26,6 +26,7 @@ type Run struct {
Tools []Tool `json:"tools"` Tools []Tool `json:"tools"`
FileIDS []string `json:"file_ids"` FileIDS []string `json:"file_ids"`
Metadata map[string]any `json:"metadata"` Metadata map[string]any `json:"metadata"`
Usage Usage `json:"usage,omitempty"`
httpHeader httpHeader
} }