Skip to content

Commit 7cfed64

Browse files
authored
add new status (#1219)
1 parent ab880fc commit 7cfed64

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

slime/utils/types.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ class Status(Enum):
3131
COMPLETED = "completed"
3232
TRUNCATED = "truncated"
3333
ABORTED = "aborted"
34+
# Indicates a recoverable or non-critical failure during generation (e.g., tool call failure,
35+
# external API error, parsing error). Unlike ABORTED, FAILED samples may still contain partial
36+
# valid output and can be retried or handled gracefully.
37+
FAILED = "failed"
3438

3539
status: Status = Status.PENDING
3640

0 commit comments

Comments
 (0)