Skip to content

Commit

Permalink
Move tools const to message
Browse files Browse the repository at this point in the history
  • Loading branch information
kodernubie committed Nov 3, 2024
1 parent 8e1a70c commit 9275969
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 5 additions & 0 deletions messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
6 changes: 0 additions & 6 deletions thread.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 9275969

Please sign in to comment.