From c5589e71e72064f1dd31158a80001e0bf975e745 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Mon, 8 Jan 2024 12:58:23 +0530 Subject: [PATCH] (docs) proxy, show users how to use detailed_debug --- docs/my-website/docs/proxy/cli.md | 9 +++++++++ docs/my-website/docs/simple_proxy_old_doc.md | 15 +++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/docs/my-website/docs/proxy/cli.md b/docs/my-website/docs/proxy/cli.md index c9425b40252..006e49697d3 100644 --- a/docs/my-website/docs/proxy/cli.md +++ b/docs/my-website/docs/proxy/cli.md @@ -82,6 +82,15 @@ Cli arguments, --host, --port, --num_workers litellm --debug ``` +#### --detailed_debug + - **Default:** `False` + - **Type:** `bool` (Flag) + - Enable debugging mode for the input. + - **Usage:** + ```shell + litellm --detailed_debug + `` + #### --temperature - **Default:** `None` - **Type:** `float` diff --git a/docs/my-website/docs/simple_proxy_old_doc.md b/docs/my-website/docs/simple_proxy_old_doc.md index 6bff69eb3ed..01c8a5754b2 100644 --- a/docs/my-website/docs/simple_proxy_old_doc.md +++ b/docs/my-website/docs/simple_proxy_old_doc.md @@ -947,6 +947,13 @@ Run the proxy with `--debug` to easily view debug logs litellm --model gpt-3.5-turbo --debug ``` +### Detailed Debug Logs + +Run the proxy with `--detailed_debug` to view detailed debug logs +```shell +litellm --model gpt-3.5-turbo --detailed_debug +``` + When making requests you should see the POST request sent by LiteLLM to the LLM on the Terminal output ```shell POST Request Sent from LiteLLM: @@ -1281,6 +1288,14 @@ LiteLLM proxy adds **0.00325 seconds** latency as compared to using the Raw Open ```shell litellm --debug ``` +#### --detailed_debug + - **Default:** `False` + - **Type:** `bool` (Flag) + - Enable debugging mode for the input. + - **Usage:** + ```shell + litellm --detailed_debug + ``` #### --temperature - **Default:** `None`