docs: add non-obvious proxy health auth and key generation notes to AGENTS.md

Co-authored-by: Mateo Wang <mateo-berri@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-05-05 03:06:57 +00:00
parent 9ea824d5bf
commit 817b8de28e
No known key found for this signature in database

View file

@ -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 <master_key>` 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