Litellm dev 01 2025 p4 (#7776)
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 13s

* fix(gemini/): support gemini 'frequency_penalty' and 'presence_penalty'

Closes https://github.com/BerriAI/litellm/issues/7748

* feat(proxy_server.py): new env var to disable prisma health check on startup

* test: fix test
This commit is contained in:
Krish Dholakia 2025-01-14 21:49:25 -08:00 committed by GitHub
parent 8353caa485
commit fe60a38c8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 47 additions and 22 deletions

View file

@ -3233,7 +3233,11 @@ class ProxyStartupEvent:
) # set the spend logs row count in proxy state. Don't block execution
# run a health check to ensure the DB is ready
await prisma_client.health_check()
if (
get_secret_bool("DISABLE_PRISMA_HEALTH_CHECK_ON_STARTUP", False)
is not True
):
await prisma_client.health_check()
return prisma_client
@classmethod