Skip to content

Conversation

@ARajan1084
Copy link
Contributor

fix: empty premium fields resulting in edit key blocking

Relevant issues

Fixes #14934
#14934

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem
image

Type

🐛 Bug Fix
✅ Test

Changes

  • removes default [] value for both guardrails and prompts
  • guards the form values payload by removing all premium fields for non premium users
  • new vitest to ensure payload is properly cleaned
  • new vitest to ensure existing functionality works for premium users

@vercel
Copy link

vercel bot commented Oct 4, 2025

@ARajan1084 is attempting to deploy a commit to the CLERKIEAI Team on Vercel.

A member of the Team first needs to authorize it.

@krrishdholakia krrishdholakia changed the base branch from main to litellm_staging_10_04_2025 October 4, 2025 18:51
@krrishdholakia krrishdholakia merged commit 79014a8 into BerriAI:litellm_staging_10_04_2025 Oct 4, 2025
3 of 6 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.

[Bug]: Virtual key editing incorrectly blocked as Enterprise-only

2 participants