Skip to content

Conversation

@aayush-malviya-acquia
Copy link
Contributor

Title

Implement: [Feature]: Set the initial budget reset datetime for a user during creation #16431

Relevant issues

N/A

Pre-Submission checklist

  • I have added testing in the tests/litellm/ directory
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit (note: pre-existing errors unrelated to this PR)
  • My PR's scope is isolated - adds one specific feature

Type

🆕 New Feature

Changes

Adds budget_reset_at parameter to /user/new endpoint for manual budget reset scheduling.

  • Added budget_reset_at field with validation (rejects past dates, handles timezones)
  • Explicit budget_reset_at takes precedence over budget_duration calculation
  • Added validation and integration tests
  • Uses existing schema field

Use case: Align initial user budget resets with specific dates instead of only relative durations.

@vercel
Copy link

vercel bot commented Dec 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
litellm Ready Ready Preview Comment Dec 5, 2025 4:22am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant