diff --git a/messages.go b/messages.go index 90236393..57dd8fd8 100644 --- a/messages.go +++ b/messages.go @@ -11,6 +11,11 @@ const ( messagesSuffix = "messages" ) +const ( + MessageToolCodeInterpreter = "code_interpreter" + MessageToolFileSearch = "file_search" +) + type Message struct { ID string `json:"id"` Object string `json:"object"` diff --git a/thread.go b/thread.go index 0a53e31e..bc08e2bc 100644 --- a/thread.go +++ b/thread.go @@ -9,12 +9,6 @@ const ( threadsSuffix = "/threads" ) -const ( - ThreadAttachmentToolCodeInterpreter = "code_interpreter" - ThreadAttachmentToolFunction = "function" - ThreadAttachmentToolFileSearch = "file_search" -) - type Thread struct { ID string `json:"id"` Object string `json:"object"`