Per-user/IP throttling via MediaWiki's pingLimiter, plus a daily token budget will help in saving LLM usage costs for users with a tight budget.
Description
Details
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| Daily IP-User Token Budgeting + Throttling | NehaP1706 | mediawiki/extensions/Wanda | master | +949 -62 |
Event Timeline
Thank you for tagging this task with good first task for Wikimedia newcomers!
Newcomers often may not be aware of things that may seem obvious to seasoned contributors, so please take a moment to reflect on how this task might look to somebody who has never contributed to Wikimedia projects.
A good first task is a self-contained, non-controversial task with a clear approach. It should be well-described with pointers to help a completely new contributor, for example it should clearly point to the codebase URL and provide clear steps to help a contributor get set up for success. We've included some guidelines at https://phabricator.wikimedia.org/tag/good_first_task/ !
Thank you for helping us drive new contributions to our projects <3
Change #1306090 had a related patch set uploaded (by NehaP1706; author: NehaP1706):
[mediawiki/extensions/Wanda@master] Daily IP-User Token Budgeting + Throttling
Thanks for the great patch @NehaP1706 ! Pls update the documentation at mediawiki.org too by adding the sections on rate limiting and budgeting configuration.
Change #1306090 merged by jenkins-bot:
[mediawiki/extensions/Wanda@master] Daily IP-User Token Budgeting + Throttling