Skip to content

Commit ca32a63

Browse files
committed
feat(misc): add rate limiting and retry patterns notebook
Production-grade retry and rate-limit management for the Anthropic API: exponential backoff with jitter via tenacity, token budget tracking with proactive sleep at 80% quota, rate-limit header inspection via with_raw_response, async semaphore-based batch processing. Includes a ProductionAPIClient that composes all four layers. Built by Rudrendu Paul, developed with Claude Code
1 parent 34022c5 commit ca32a63

1 file changed

Lines changed: 774 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)