Skip to content

Commit fe8b2bd

Browse files
authored
Add "tool" as a valid MessageRole (#119)
1 parent 236edca commit fe8b2bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/together/types/chat_completions.py

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class MessageRole(str, Enum):
2020
ASSISTANT = "assistant"
2121
SYSTEM = "system"
2222
USER = "user"
23+
TOOL = "tool"
2324

2425

2526
class ResponseFormatType(str, Enum):

0 commit comments

Comments
 (0)