Skip to content

Commit 83bd56f

Browse files
authored
add empty string finish reason as a valid type (#239)
* add empty string finish reason as a valid type * bump version to 1.3.12
1 parent 5cd3742 commit 83bd56f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ build-backend = "poetry.masonry.api"
1212

1313
[tool.poetry]
1414
name = "together"
15-
version = "1.3.11"
15+
version = "1.3.12"
1616
authors = [
1717
"Together AI <[email protected]>"
1818
]

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)