mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
add dashboard link in init
This commit is contained in:
parent
bee0b9f171
commit
9922e1032f
3 changed files with 5 additions and 2 deletions
|
@ -10,6 +10,7 @@ class LiteDebugger:
|
|||
def validate_environment(self):
|
||||
try:
|
||||
self.user_email = os.getenv("LITELLM_EMAIL")
|
||||
print(f"Here's your free Dashboard 👉 {'https://admin.litellm.ai/' + self.user_email}")
|
||||
if self.user_email == None:
|
||||
raise Exception("[Non-Blocking Error] LiteLLMDebugger: Missing LITELLM_EMAIL. Set it in your environment. Eg.: os.environ['LITELLM_EMAIL']= <your_email>")
|
||||
except Exception as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue