mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
Litellm dev 01 2025 p4 (#7776)
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 13s
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:
parent
8353caa485
commit
fe60a38c8e
4 changed files with 47 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue