Skip to content

Conversation

PhiRho
Copy link
Collaborator

@PhiRho PhiRho commented Aug 18, 2025

There are some issues where dggurations get all muddled with products and expiry and such, so this simplifies things.

PhiRho added 2 commits August 18, 2025 10:35
- Introduced `hasActiveProducts` function to determine if a team has any active products.
- Updated team expiration status checks to consider active products, ensuring accurate display of "Expired" status in the UI.
- Simplified the `get_token_restrictions` function to return the product's renewal period directly, removing unnecessary calculations.
- Updated `monitor_team_keys` to ensure `update_budget` is called with parameters in the correct order, enhancing clarity and functionality.
- Improved logging in `LiteLLMService` to provide more detailed information during API requests and responses.
- Enhanced tests to verify correct parameter handling in budget updates and adjusted assertions for expected values.
@PhiRho PhiRho merged commit 10ac162 into main Aug 18, 2025
4 checks passed
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