AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
test(backend): add end-to-end tests for tier-adjusted rate limits
Add TestTierLimitsRespected class that verifies the full flow: get_global_rate_limits (with tier multiplier) -> check_rate_limit. - PRO user with 3M usage is allowed (below 12.5M PRO limit) - FREE user at 2.5M is blocked (at FREE limit) - ENTERPRISE user with 100M usage is allowed (below 150M limit) Addresses reviewer feedback requesting tests that verify limits are actually respected end-to-end.
Z
Zamil Majdy committed
3a401880248e72266a17cfa85284e5cc3f57f33b
Parent: 8d6433c