Skip to content

Commit

Permalink
Update assistant.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessamae23 authored Jul 18, 2024
1 parent 21f32cf commit f8f4d28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assistant.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ type AssistantRequest struct {
FileIDs []string `json:"file_ids,omitempty"`
Metadata map[string]any `json:"metadata,omitempty"`
ToolResources *AssistantToolResource `json:"tool_resources,omitempty"`
ResponseFormat any `json:"response_format,omitempty"`
Temperature *float32 `json:"temperature,omitempty"`
TopP *float32 `json:"top_p,omitempty"`
ResponseFormat any `json:"response_format,omitempty"`
Temperature *float32 `json:"temperature,omitempty"`
TopP *float32 `json:"top_p,omitempty"`
}

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

0 comments on commit f8f4d28

Please sign in to comment.