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

[Bug]: DailyTagSpend view missing error #8117

Open
ma-armenta opened this issue Jan 30, 2025 · 0 comments · Fixed by #8119
Open

[Bug]: DailyTagSpend view missing error #8117

ma-armenta opened this issue Jan 30, 2025 · 0 comments · Fixed by #8119
Labels
bug Something isn't working mlops user request

Comments

@ma-armenta
Copy link
Contributor

What happened?

At startup LiteLLM throws a warning about DailyTagSpend not existing and to run db_scripts/create_views.py to remediate the issue.

Upon checking the DB, the view exists, but its all lowercase, and current LiteLLM checks are case sensitive.

Will provide fix shortly.

Relevant log output

19:06:06 - LiteLLM Proxy:WARNING: utils.py:1205 - Not all views exist in db, needed for UI 'Usage' tab. Missing={'DailyTagSpend'}.Run 'create_views.py' from https://github.com/BerriAI/litellm/tree/main/db_scripts to create missing views.

Are you a ML Ops Team?

Yes

What LiteLLM version are you on ?

v1.59.9

Twitter / LinkedIn details

https://www.linkedin.com/in/maarmenta

@ma-armenta ma-armenta added the bug Something isn't working label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mlops user request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant