diff --git a/litellm/proxy/prompts/prompt_endpoints.py b/litellm/proxy/prompts/prompt_endpoints.py index ac39e5f4b2..0c77b6f851 100644 --- a/litellm/proxy/prompts/prompt_endpoints.py +++ b/litellm/proxy/prompts/prompt_endpoints.py @@ -851,7 +851,7 @@ async def delete_prompt( ) # Delete the prompt from the database - await prisma_client.db.litellm_prompttable.delete( + await prisma_client.db.litellm_prompttable.delete_many( where={"prompt_id": prompt_id} )