Your question 2
Why do one in three requests fail when three reps ask at once?
Three prompts of 14,500 tokens plus 500 output tokens need 45,000 tokens in the same minute. An assumed 30,000 tokens-per-minute limit fits two; the third gets a 429.
A working answer for a live AI sales coach
Reliable answers when several reps ask at once, the trainer's exact lines instead of paraphrases, and a 30-question test that stops a bad publish. Built on the Clear Next Step method, a fictional sales method written for this demo.
Three reps ask at once
14,500-token prompts against an assumed 30,000 tokens-per-minute limit. Answer-bank hits never call the model, so common questions cannot hit a 429 (about 69% of questions in the simulated day). Simulated provider: no real model calls.
The library test also catches the bug you just fixed: it fails the build if any approved line can no longer be found.
Read the handover notesYour question 2
Three prompts of 14,500 tokens plus 500 output tokens need 45,000 tokens in the same minute. An assumed 30,000 tokens-per-minute limit fits two; the third gets a 429.
Your question 3
Common questions hit a bank of 20 approved answers returned exactly as stored. Everything else finds the exact source line by ID, a verbatim check restores it if a model rewrites it, and when two lines fit the coach asks which one.
Task 4: the regression test
Thirty fictional questions scored on exact lines before every publish: 28/30 today. A change that lets the model paraphrase drops it to 19/30, and the gate blocks it. 45 held-out phrasings get 0 wrong lines.
Task 5: monitoring
Each answer is logged with its path, outcome and wait. Alerts fire on unanswered questions and on the error rate, with a simple error-rate view. The page shows an illustrative day of simulated traffic run through the same clients.
The clients, token bucket, backoff, matcher, retrieval and scorer are the TypeScript behind the numbers on the 429, Ask and 30-question pages, with unit, integration and end-to-end tests. Monitoring runs a simulated day of traffic through the same clients.
An OpenAI-compatible endpoint that enforces tokens and requests per minute, returns 429 with retry-after, and streams over SSE. It never calls a model, so every run is repeatable. The limits are assumptions to check against your own headers.
The Clear Next Step method, its documents, answers and test questions were written for this demo. No real trainer's material is used. How it works.