mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-02 02:11:58 +00:00
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:
parent
9ea824d5bf
commit
817b8de28e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue