Process 1,000 prompts concurrently with a concurrency limit
Interview insights are lockedSee how often this is asked and which companies asked it with Buncho Pro.You have an async function call_llm(prompt) -> str. Write run_all(prompts, limit=10) that:
- runs at most
limitcalls at a time, - returns results in the same order as the prompts,
- does not let one failed call cancel the others, and reports which ones failed,
- supports a per-call timeout.