Skip to content

Commit a77b429

Browse files
committed
fix(evals): exclude api_req_rate_limit_wait from isApiUnstable check
User-configured rate limiting is not an error/retry signal and should not mark the API as unstable in eval runner.
1 parent 8f7bed0 commit a77b429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/evals/src/cli/runTask.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ export const runTask = async ({ run, task, publish, logger, jobToken }: RunTaskO
315315
if (
316316
eventName === RooCodeEventName.Message &&
317317
payload[0].message.say &&
318-
["api_req_rate_limit_wait", "api_req_retry_delayed", "api_req_retried"].includes(payload[0].message.say)
318+
["api_req_retry_delayed", "api_req_retried"].includes(payload[0].message.say)
319319
) {
320320
isApiUnstable = true
321321
}

0 commit comments

Comments
 (0)