From f8f4d28bd6e68b1f0f0e96c531201495d25242c1 Mon Sep 17 00:00:00 2001 From: MadeEasy <60029664+Vanessamae23@users.noreply.github.com> Date: Thu, 18 Jul 2024 21:04:07 +0800 Subject: [PATCH] Update assistant.go --- assistant.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assistant.go b/assistant.go index b9f9cb421..e950a8b4a 100644 --- a/assistant.go +++ b/assistant.go @@ -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