Skip to content

Commit

Permalink
fix: when no Assistant Tools are specified, an empty list should be s…
Browse files Browse the repository at this point in the history
…ent (#669)
  • Loading branch information
guillaume-dussault committed Feb 26, 2024
1 parent f220443 commit 4103778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assistant.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
Expand Down

0 comments on commit 4103778

Please sign in to comment.