Skip to content

Commit b3947ce

Browse files
authored
add empty string finish reason as a valid type
1 parent 5cd3742 commit b3947ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/together/types/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class FinishReason(str, Enum):
1616
EOS = "eos"
1717
ToolCalls = "tool_calls"
1818
Error = "error"
19+
Null = ""
1920

2021

2122
class UsageData(BaseModel):

0 commit comments

Comments
 (0)