From 817b8de28e400805e8daec8408ff2664c749b79f Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 5 May 2026 03:06:57 +0000 Subject: [PATCH] docs: add non-obvious proxy health auth and key generation notes to AGENTS.md Co-authored-by: Mateo Wang --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 4bdbf26ae9d..b388a7e22c2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -247,7 +247,7 @@ Start the proxy with a config file: uv run litellm --config dev_config.yaml --port 4000 ``` -The proxy takes ~15-20 seconds to fully start (it runs Prisma migrations on boot). Wait for `/health` to return before sending requests. Without a PostgreSQL `DATABASE_URL`, the proxy connects to a default Neon dev database embedded in the `litellm-proxy-extras` package. +The proxy takes ~15-20 seconds to fully start (it runs Prisma migrations on boot). Wait for `/health` to return before sending requests. The `/health` endpoint requires the `Authorization: Bearer ` header (e.g. `sk-1234` from `dev_config.yaml`). Without a PostgreSQL `DATABASE_URL`, the proxy connects to a default Neon dev database embedded in the `litellm-proxy-extras` package. Note: key generation (`/key/generate`) requires a real database connection and will fail with the default Neon fallback. ### Running tests