diff --git a/docs/my-website/docs/debugging/hosted_debugging.md b/docs/my-website/docs/debugging/hosted_debugging.md index aeefa7b48..7c408f7ea 100644 --- a/docs/my-website/docs/debugging/hosted_debugging.md +++ b/docs/my-website/docs/debugging/hosted_debugging.md @@ -1,42 +1,31 @@ import Image from '@theme/IdealImage'; # Debugging Dashboard -LiteLLM offers a free hosted debugger UI for your api calls (https://admin.litellm.ai/). Useful if you're testing your LiteLLM server and need to see if the API calls were made successfully. +LiteLLM offers a free UI to debug your calls + add new models at (https://admin.litellm.ai/). This is useful if you're testing your LiteLLM server and need to see if the API calls were made successfully **or** want to add new models without going into code. **Needs litellm>=0.1.438*** -You can enable this setting `litellm.debugger=True`. +## Setup + +Once created, your dashboard is viewable at - `admin.litellm.ai/` [👋 Tell us if you need better privacy controls](https://calendly.com/d/4mp-gd3-k5k/berriai-1-1-onboarding-litellm-hosted-version?month=2023-08) + +You can set your user email in 2 ways. +- By setting it on the module - `litellm.email=`. +- By setting it as an environment variable - `os.environ["LITELLM_EMAIL"] = "your_email"`. Dashboard See our live dashboard 👉 [admin.litellm.ai](https://admin.litellm.ai/) -## Setup - -By default, your dashboard is viewable at `admin.litellm.ai/`. - -``` -import litellm, os - - ## Set your email - os.environ["LITELLM_EMAIL"] = "your_user_email" - -## Set debugger to true -litellm.debugger = True -``` ## Example Usage ``` import litellm from litellm import embedding, completion - import os - - ## Set ENV variable - os.environ["LITELLM_EMAIL"] = "your_email" - ## Set debugger to true - litellm.debugger = True + ## Set your email + litellm.email = "test_email@test.com" user_message = "Hello, how are you?" messages = [{ "content": user_message,"role": "user"}] diff --git a/docs/my-website/img/dashboard.png b/docs/my-website/img/dashboard.png index 7d8f201f7..63d4228c5 100644 Binary files a/docs/my-website/img/dashboard.png and b/docs/my-website/img/dashboard.png differ