Skip to content

Commit 7cfecf9

Browse files
committed
Fix missing TIMED_OUT run status
1 parent 8d78972 commit 7cfecf9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/core/src/v3/apiClient/runStream.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,9 @@ function apiStatusFromRunStatus(status: string): RunStatus {
528528
case "EXPIRED": {
529529
return "EXPIRED";
530530
}
531+
case "TIMED_OUT": {
532+
return "TIMED_OUT";
533+
}
531534
default: {
532535
throw new Error(`Unknown status: ${status}`);
533536
}

0 commit comments

Comments
 (0)