From 3fe8b79cf7a68bdf71581e0f64e7c396fe15b243 Mon Sep 17 00:00:00 2001 From: Stephen Chin Date: Mon, 15 Jun 2026 18:55:33 -0700 Subject: [PATCH] docs(proxy): document litellm-proxy db generate command --- docs/proxy/cli.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/proxy/cli.md b/docs/proxy/cli.md index 856e0e8b..3b50b4a8 100644 --- a/docs/proxy/cli.md +++ b/docs/proxy/cli.md @@ -323,6 +323,16 @@ This page documents all command-line interface (CLI) arguments available for the litellm --use_prisma_db_push ``` +### litellm-proxy db generate + - Generates the Prisma client using the schema bundled with `litellm-proxy-extras`. + - Resolves the schema path for you, so you do not need to know the internal `site-packages` location or pass `--schema` by hand. This is the generate-step companion to `db push` and `migrate deploy`, which already use the same bundled schema. + - Works after a plain `pip install 'litellm[proxy]'` even when the venv is not activated, such as when the proxy is invoked by absolute path in Docker or installer scripts. + - Requires `litellm-proxy-extras`, which ships with `litellm[proxy]`. If it is missing, the command prints an install hint and exits. + - **Usage:** + ```shell + litellm-proxy db generate + ``` + ## Debugging ### --debug