Skip to content
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

75 percent notifier rebased #296

Merged
merged 3 commits into from
Feb 16, 2024

Conversation

oshoma
Copy link
Collaborator

@oshoma oshoma commented Feb 14, 2024

Your checklist for this pull request

Thank you for submitting a pull request! To speed up the review process, please follow this checklist:

  • My Pull Request is small and focused on one topic so it can be reviewed easily
  • My code follows the style guidelines of this project (make format)
  • Commit messages are detailed
  • I have performed a self-review of my code
  • I commented hard-to-understand parts of my code
  • I updated the documentation (docstrings, /docs)
  • My changes generate no new warnings (or explain any new warnings and why they're ok)
  • I have added tests that prove my fix is effective or that my feature works
  • All tests pass when I run pytest tests (offline mode)

Additional steps for code with networking dependencies:

Description

This is a rebase of @Eyobyb 's #281 atop main to remove duplicate commits and make code review easier.

This PR is for logging when the user reaches 75% usage of the daily allowed token usage. It uses the verbose logger to inform the user they're approaching their daily quota. We add a column on the usage table to track whether the user was reminded today about the 75% usage.

Older versions of this PR can be found here:
#281
#245

@oshoma
Copy link
Collaborator Author

oshoma commented Feb 14, 2024

Closes #281 and #245

Copy link
Collaborator Author

@oshoma oshoma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me. @Eyobyb or @20001LastOrder please merge when you get a moment.

@oshoma oshoma mentioned this pull request Feb 14, 2024
11 tasks
@Eyobyb Eyobyb requested review from 20001LastOrder, saminegash and Eyobyb and removed request for 20001LastOrder, saminegash and Eyobyb February 16, 2024 11:13
@Eyobyb Eyobyb merged commit eeb770b into Aggregate-Intellect:main Feb 16, 2024
@oshoma oshoma deleted the 75-percent-notifier-rebased branch February 19, 2024 23:12
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.

2 participants