Skip to content

Commit 94ffb30

Browse files
authored
Add new error type (#142)
* Add new error type * bump version up
1 parent fd95eb3 commit 94ffb30

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-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.2.0"
15+
version = "1.2.1"
1616
authors = [
1717
"Together AI <[email protected]>"
1818
]

src/together/types/finetune.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class FinetuneJobStatus(str, Enum):
2424
STATUS_CANCEL_REQUESTED = "cancel_requested"
2525
STATUS_CANCELLED = "cancelled"
2626
STATUS_ERROR = "error"
27+
STATUS_USER_ERROR = "user_error"
2728
STATUS_COMPLETED = "completed"
2829

2930

@@ -67,6 +68,7 @@ class FinetuneEventType(str, Enum):
6768
MODEL_UPLOAD_COMPLETE = "MODEL_UPLOAD_COMPLETE"
6869
JOB_COMPLETE = "JOB_COMPLETE"
6970
JOB_ERROR = "JOB_ERROR"
71+
JOB_USER_ERROR = "JOB_USER_ERROR"
7072
CANCEL_REQUESTED = "CANCEL_REQUESTED"
7173
JOB_RESTARTED = "JOB_RESTARTED"
7274
REFUND = "REFUND"

0 commit comments

Comments
 (0)