The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix entrypoint
Ishaan Jaff95455c88496e
diff --git a/litellm/main.py b/litellm/main.pyindex dd6a9e1b655..f8f036d1f66 100644--- a/litellm/main.py+++ b/litellm/main.py@@ -82,7 +82,6 @@ from .llms import (bedrock,clarifai,cloudflare,- cohere,gemini,huggingface_restapi,maritalk,@@ -107,7 +106,7 @@ from .llms.azure import AzureChatCompletion, _check_dynamic_azure_paramsfrom .llms.azure_text import AzureTextCompletionfrom .llms.bedrock_httpx import BedrockConverseLLM, BedrockLLMfrom .llms.cohere import chat as cohere_chat-from .llms.cohere import completion as cohere_completion+from .llms.cohere import completion as cohere_completion # type: ignorefrom .llms.cohere import embed as cohere_embedfrom .llms.custom_llm import CustomLLM, custom_chat_llm_routerfrom .llms.databricks import DatabricksChatCompletiondiff --git a/litellm/proxy/prisma_migration.py b/litellm/proxy/prisma_migration.pyindex 6ee09c22b63..c79649f6f22 100644--- a/litellm/proxy/prisma_migration.py+++ b/litellm/proxy/prisma_migration.py@@ -51,6 +51,10 @@ while retry_count < max_retries and exit_code != 0:retry_count += 1print(f"Attempt {retry_count}...") # noqa+ # run prisma generate+ result = subprocess.run(["prisma", "generate"], capture_output=True)+ exit_code = result.returncode+# Run the Prisma db push commandresult = subprocess.run(["prisma", "db", "push", "--accept-data-loss"], capture_output=True