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]: [UI] Make it clear regenerate key is an enterprise feature #9883

Open
arnebe opened this issue Apr 10, 2025 · 1 comment
Open

[Bug]: [UI] Make it clear regenerate key is an enterprise feature #9883

arnebe opened this issue Apr 10, 2025 · 1 comment
Labels
bug Something isn't working mlops user request

Comments

@arnebe
Copy link

arnebe commented Apr 10, 2025

What happened?

When trying to regenerate Virtual key in the UI, it fails with a "Failed to regenerate API Key" message. According to the logfile (see below), this is an enterprise feature, but noch message is displayed to the user.

Relevant log output

807 File "/usr/local/lib/python3.13/site-packages/litellm/proxy/management_endpoints/key_management_endpoints.py", line 1689, in regenerate_key_fn
808 raise ValueError(
809 f"Regenerating Virtual Keys is an Enterprise feature, {CommonProxyErrors.not_premium_user.value}"
810 )
811 ValueError: Regenerating Virtual Keys is an Enterprise feature, You must be a LiteLLM Enterprise user to use this feature. If you have a license please set `LITELLM_LICENSE` in your env. Get a 7 day trial key here: https://www.litellm.ai/#trial.
812 Pricing: https://www.litellm.ai/#pricing
813 INFO: 10.130.4.2:49348 - "POST /key/cec6ebd7b6874e0eb2090b2f8f669d06448020c23559f6a6b40f9d7d5f319371/regenerate HTTP/1.1" 500 Internal Server Error

Are you a ML Ops Team?

Yes

What LiteLLM version are you on ?

v1.65.4

Twitter / LinkedIn details

No response

@arnebe arnebe added the bug Something isn't working label Apr 10, 2025
@krrishdholakia
Copy link
Contributor

Noted - we can hide this feature or gray it out to make it clear

@krrishdholakia krrishdholakia changed the title [Bug]: [UI] Internal Server Error when trying to regenerate Virtual Key [Bug]: [UI] Make it clear regenerate key is an enterprise feature Apr 10, 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

No branches or pull requests

2 participants