Skip to content

Commit 8a05028

Browse files
committed
Add goimports
1 parent 21f32cf commit 8a05028

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

assistant.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,17 @@ type AssistantToolResource struct {
6262
// If Tools is empty slice it will effectively delete all of the Assistant's tools.
6363
// If Tools is populated, it will replace all of the existing Assistant's tools with the provided tools.
6464
type AssistantRequest struct {
65-
Model string `json:"model"`
66-
Name *string `json:"name,omitempty"`
67-
Description *string `json:"description,omitempty"`
68-
Instructions *string `json:"instructions,omitempty"`
69-
Tools []AssistantTool `json:"-"`
70-
FileIDs []string `json:"file_ids,omitempty"`
71-
Metadata map[string]any `json:"metadata,omitempty"`
72-
ToolResources *AssistantToolResource `json:"tool_resources,omitempty"`
73-
ResponseFormat any `json:"response_format,omitempty"`
74-
Temperature *float32 `json:"temperature,omitempty"`
75-
TopP *float32 `json:"top_p,omitempty"`
65+
Model string `json:"model"`
66+
Name *string `json:"name,omitempty"`
67+
Description *string `json:"description,omitempty"`
68+
Instructions *string `json:"instructions,omitempty"`
69+
Tools []AssistantTool `json:"-"`
70+
FileIDs []string `json:"file_ids,omitempty"`
71+
Metadata map[string]any `json:"metadata,omitempty"`
72+
ToolResources *AssistantToolResource `json:"tool_resources,omitempty"`
73+
ResponseFormat any `json:"response_format,omitempty"`
74+
Temperature *float32 `json:"temperature,omitempty"`
75+
TopP *float32 `json:"top_p,omitempty"`
7676
}
7777

7878
// MarshalJSON provides a custom marshaller for the assistant request to handle the API use cases

0 commit comments

Comments
 (0)