fix: when no Assistant Tools are specified, an empty list should be sent (#669)
This commit is contained in:
committed by
GitHub
parent
f220443985
commit
41037783bc
@@ -46,7 +46,7 @@ type AssistantRequest struct {
|
||||
Name *string `json:"name,omitempty"`
|
||||
Description *string `json:"description,omitempty"`
|
||||
Instructions *string `json:"instructions,omitempty"`
|
||||
Tools []AssistantTool `json:"tools,omitempty"`
|
||||
Tools []AssistantTool `json:"tools"`
|
||||
FileIDs []string `json:"file_ids,omitempty"`
|
||||
Metadata map[string]any `json:"metadata,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user