-
Notifications
You must be signed in to change notification settings - Fork 2
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
Sweep: Make a counter system to AI calls in upsonic_on_prem/utils/ai/ai.py (✓ Sandbox Passed) #68
Sweep: Make a counter system to AI calls in upsonic_on_prem/utils/ai/ai.py (✓ Sandbox Passed) #68
Conversation
Rollback Files For Sweep
This is an automated message generated by Sweep AI. |
Apply Sweep Rules to your PR?
This is an automated message generated by Sweep AI. |
Qodana Community for Python1 new problem were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at [email protected]
|
Create storage_3 and save this counts to there. |
🚀 Wrote ChangesDone. This is an automated message generated by Sweep AI. |
Create a new storage with strorage_4 name in upsonic_on_prem/utils/db/init.py. And store this count in this storage |
🚀 Wrote ChangesDone. This is an automated message generated by Sweep AI. |
Description
This pull request introduces a counter system to track the number of times AI models are called in the
upsonic_on_prem/utils/ai/ai.py
file.Summary
model_call_counter
dictionary to track the number of times each AI model is calledcompletion
method to increment the counter and log the call count for each modelFixes #67.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: