@mcoda/mswarm 0.1.135-codali.11 → 0.1.135-codali.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/runtime.js +1 -1
- package/dist/runtime.js.map +1 -1
- package/dist/vendor/codali/providers/ModelServiceError.js +1 -1
- package/dist/vendor/codali/runtime/SessionController.js +5 -5
- package/dist/vendor/codali/runtime/TaskReview.d.ts.map +1 -1
- package/dist/vendor/codali/runtime/TaskReview.js +30 -5
- package/package.json +3 -3
package/dist/runtime.js
CHANGED
|
@@ -2650,7 +2650,7 @@ function selfHostedErrorCode(error) {
|
|
|
2650
2650
|
const code = error.code;
|
|
2651
2651
|
if (typeof code === "string" &&
|
|
2652
2652
|
(DOCDEX_JOB_ERROR_CODES.has(code) || PRE_START_JOB_ERROR_CODES.has(code)
|
|
2653
|
-
|| code === "context_length_exceeded" || code === "invalid_response")) {
|
|
2653
|
+
|| code === "context_length_exceeded" || code === "invalid_response" || code === "rate_limited")) {
|
|
2654
2654
|
return code;
|
|
2655
2655
|
}
|
|
2656
2656
|
const name = error.name;
|