Skip to content

Commit 4103778

Browse files
fix: when no Assistant Tools are specified, an empty list should be sent (#669)
1 parent f220443 commit 4103778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assistant.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ type AssistantRequest struct {
4646
Name *string `json:"name,omitempty"`
4747
Description *string `json:"description,omitempty"`
4848
Instructions *string `json:"instructions,omitempty"`
49-
Tools []AssistantTool `json:"tools,omitempty"`
49+
Tools []AssistantTool `json:"tools"`
5050
FileIDs []string `json:"file_ids,omitempty"`
5151
Metadata map[string]any `json:"metadata,omitempty"`
5252
}

0 commit comments

Comments
 (0)