The rate limiter in src/ratelimit.js allows unlimited concurrent executions. Fix it so at most N functions run at the same time. Queued functions should wait for a slot. Do NOT change test.js.
| # | Model | Status | Duration | Tokens | Patch | Failure |
|---|---|---|---|---|---|---|
| 1 | defaultinternal | pass | 43.2s | 38.6k | yes | - |