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
Fixes the InvitationLink Prisma find_many query (#11031)
jmorenoc-o1cd25950062b
diff --git a/enterprise/litellm_enterprise/enterprise_callbacks/send_emails/base_email.py b/enterprise/litellm_enterprise/enterprise_callbacks/send_emails/base_email.pyindex 9ea22074c01..779d4f2eb37 100644--- a/enterprise/litellm_enterprise/enterprise_callbacks/send_emails/base_email.py+++ b/enterprise/litellm_enterprise/enterprise_callbacks/send_emails/base_email.py@@ -189,7 +189,7 @@ class BaseEmailLogger(CustomLogger):# get the latest invitation link for the userinvitation_rows = await prisma_client.db.litellm_invitationlink.find_many(where={"user_id": user_id},- orderBy={"created_at": "desc"},+ order={"created_at": "desc"},)if len(invitation_rows) > 0:invitation_row = invitation_rows[0]