-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: Proxy - Spend Tracking, Set Global Budget For the Proxy + Reset the budget #1585
Comments
Need to:
|
ThinkingApproach 1:
Approach 2:
Concerns:
Approach 3:
Concern: How do we prevent slowing things down a lot with 3 queries in user api key auth (user budget, key budget, proxy budget) Solution: Looks like we can run a raw query in user api key auth - RobertCraigie/prisma-client-py#673 (comment) This should let us get the user, key and proxy budget in 1 query |
Initial PR which adds user based budgets which reset is merged. Now need to add:
|
This is now live in v |
The Feature
Motivation, pitch
Twitter / LinkedIn details
No response
The text was updated successfully, but these errors were encountered: