From c1355e92dc25754e2014106e1f4b2a53f0ea254e Mon Sep 17 00:00:00 2001 From: Krish Dholakia Date: Sat, 18 Oct 2025 13:39:25 -0700 Subject: [PATCH] fix(proxy_server.py): re-encrypt env var on config save + use original value on decrypt error (#15671) * fix(proxy_server.py): re-encrypt env var on config save + use original value on decrypt error Closes https://github.com/BerriAI/litellm/issues/14854 Fixes https://github.com/BerriAI/litellm/issues/13406 * docs: email.md document PROXY_BASE_URL param * fix(proxy_server.py): pop model list before writing to db --- docs/my-website/docs/proxy/email.md | 18 ++++++++ .../common_utils/encrypt_decrypt_utils.py | 9 ++-- litellm/proxy/proxy_server.py | 44 ++++++++++++++----- 3 files changed, 57 insertions(+), 14 deletions(-) diff --git a/docs/my-website/docs/proxy/email.md b/docs/my-website/docs/proxy/email.md index 9cd027da7f..1ee67e8230 100644 --- a/docs/my-website/docs/proxy/email.md +++ b/docs/my-website/docs/proxy/email.md @@ -141,6 +141,7 @@ LiteLLM allows you to customize various aspects of your email notifications. Bel | Email Signature | `EMAIL_SIGNATURE` | string (HTML) | Standard LiteLLM footer | `"

Best regards,
Your Team

Visit us

"` | HTML-formatted footer for all emails | | Invitation Subject | `EMAIL_SUBJECT_INVITATION` | string | "LiteLLM: New User Invitation" | `"Welcome to Your Company!"` | Subject line for invitation emails | | Key Creation Subject | `EMAIL_SUBJECT_KEY_CREATED` | string | "LiteLLM: API Key Created" | `"Your New API Key is Ready"` | Subject line for key creation emails | +| Proxy Base URL | `PROXY_BASE_URL` | string | http://0.0.0.0:4000 | `"https://proxy.your-company.com"` | Base URL for the LiteLLM Proxy (used in email links) | ## HTML Support in Email Signature @@ -180,6 +181,9 @@ EMAIL_SIGNATURE="

Best regards,
Your Company Team