From 218d43c1b1fefaf6443b210cce1e96802d505b9c Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Thu, 7 May 2026 13:28:43 -0700 Subject: [PATCH] feat(v2 managed agents): add UNIQUE(name, created_by) on LiteLLM_ManagedAgent (proxy-extras schema copy) --- litellm-proxy-extras/litellm_proxy_extras/schema.prisma | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm-proxy-extras/litellm_proxy_extras/schema.prisma b/litellm-proxy-extras/litellm_proxy_extras/schema.prisma index 2a0dea81590..d33bae203e4 100644 --- a/litellm-proxy-extras/litellm_proxy_extras/schema.prisma +++ b/litellm-proxy-extras/litellm_proxy_extras/schema.prisma @@ -1390,6 +1390,8 @@ model LiteLLM_ManagedAgent { created_by String? created_at DateTime @default(now()) updated_at DateTime @updatedAt + + @@unique([name, created_by]) } model LiteLLM_ManagedAgentSession {