mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-12 03:48:56 +00:00
* fix(proxy-extras): name the database error when the Lens rename check cannot run The Lens rename check runs before prisma db push and raised a generic "Cannot verify Lens data safety" RuntimeError on any psycopg error, with the cause only in the chained exception. proxy_cli prints the message and exits, so a Postgres at its connection limit read as a Lens problem. The raised message now ends with the redacted database error text, and the connection opener is an injected parameter so the unit test drives the check without a database. * test(proxy-extras): drop the Lens check test class docstring --------- Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_litellm_proxy_extras_logging.py | ||
| test_litellm_proxy_extras_utils.py | ||
| test_request_log_indexes.py | ||