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
Add in-product nudge for claude code feedback survey + new learning centre (#19303)
Krish Dholakia4fa1470fef7c
diff --git a/cookbook/ai_coding_tool_guides/index.json b/cookbook/ai_coding_tool_guides/index.jsonindex 7d022d6de3b..f879292aeff 100644--- a/cookbook/ai_coding_tool_guides/index.json+++ b/cookbook/ai_coding_tool_guides/index.json@@ -95,4 +95,40 @@"LiteLLM","Quickstart"]+},+{+ "title": "AI Coding Tool Usage Tracking",+ "description": "This is a guide to tracking usage for AI coding tools monitor the use of Claude Code , Google Antigravity, OpenAI Codex, Roo Code etc. through LiteLLM.",+ "url": "https://docs.litellm.ai/docs/tutorials/cost_tracking_coding",+ "date": "2026-01-17",+ "version": "1.0.0",+ "tags": [+ "Claude Code",+ "Gemini CLI",+ "OpenAI Codex",+ "LiteLLM"+ ]+},+{+ "title": "Use Web Search with Claude Code (across OpenAI/Anthropic/Gemini/etc.)",+ "description": "This is a guide for using Web Search with Claude Code via LiteLLM.",+ "url": "https://docs.litellm.ai/docs/tutorials/claude_code_websearch",+ "date": "2026-01-17",+ "version": "1.0.0",+ "tags": [+ "Claude Code",+ "LiteLLM",+ "Web Search"+ ]+},+{+ "title": "Track Claude Code Usage per user via Custom Headers",+ "description": "This is a guide for tracking claude code user usage by passing a customer ID header.",+ "url": "https://docs.litellm.ai/docs/tutorials/claude_code_customer_tracking",+ "date": "2026-01-17",+ "version": "1.0.0",+ "tags": [+ "Claude Code",+ "LiteLLM"+ ]}]\ No newline at end of filediff --git a/litellm-proxy-extras/litellm_proxy_extras/migrations/20251115120021_baseline_diff/migration.sql b/litellm-proxy-extras/litellm_proxy_extras/migrations/20251115120021_baseline_diff/migration.sqldeleted file mode 100644index 2f725d83806..00000000000--- a/litellm-proxy-extras/litellm_proxy_extras/migrations/20251115120021_baseline_diff/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- This is an empty migration.-diff --git a/litellm-proxy-extras/litellm_proxy_extras/migrations/20251115120539_baseline_diff/migration.sql b/litellm-proxy-extras/litellm_proxy_extras/migrations/20251115120539_baseline_diff/migration.sqldeleted file mode 100644index 2f725d83806..00000000000--- a/litellm-proxy-extras/litellm_proxy_extras/migrations/20251115120539_baseline_diff/migration.sql+++ /dev/null@@ -1,2 +0,0 @@--- This is an empty migration.-diff --git a/litellm/proxy/_experimental/out/404.html b/litellm/proxy/_experimental/out/404.htmldeleted file mode 100644index c6035eb40ca..00000000000--- a/litellm/proxy/_experimental/out/404.html+++ /dev/null@@ -1 +0,0 @@-<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/litellm-asset-prefix/_next/static/media/e4af272ccee01ff0-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/litellm-asset-prefix/_next/static/css/349654da14372cd9.css" data-precedence="next"/><link rel="stylesheet" href="/litellm-asset-prefix/_next/static/css/83c095d0528a2e35.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/litellm-asset-prefix/_next/static/chunks/webpack-134f5d194761e240.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-a07bacd8fcc2728b.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-26a589a1115bdd0a.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-c6945ec5b2d5e671.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>LiteLLM Dashboard</title><meta name="description" content="LiteLLM Proxy Admin UI"/><link rel="icon" href="./favicon.ico"/><meta name="next-size-adjust"/><script src="/litellm-asset-prefix/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="__className_1c856b"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><script src="/litellm-asset-prefix/_next/static/chunks/webpack-134f5d194761e240.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/litellm-asset-prefix/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/litellm-asset-prefix/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/litellm-asset-prefix/_next/static/css/83c095d0528a2e35.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[4707,[],\"\"]\n7:I[36423,[],\"\"]\nd:I[61060,[],\"\"]\n8:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\n9:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\na:{\"display\":\"inline-block\"}\nb:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\ne:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"zHD7JXLXiWgn1NPp82VmF\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"_not-found\"],\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null],null],null]},[null,[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/litellm-asset-prefix/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/litellm-asset-prefix/_next/static/css/83c095d0528a2e35.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$8\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$9\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$a\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$b\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$Lc\"],\"globalErrorComponent\":\"$d\",\"missingSlots\":\"$We\"}]\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"LiteLLM Dashboard\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"LiteLLM Proxy Admin UI\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"./favicon.ico\"}],[\"$\",\"meta\",\"5\",{\"name\":\"next-size-adjust\"}]]\n5:null\n"])</script></body></html>\ No newline at end of filediff --git a/litellm/proxy/_experimental/out/api-reference.html b/litellm/proxy/_experimental/out/api-reference/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/api-reference.htmlrename to litellm/proxy/_experimental/out/api-reference/index.htmldiff --git a/litellm/proxy/_experimental/out/experimental/api-playground.html b/litellm/proxy/_experimental/out/experimental/api-playground/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/experimental/api-playground.htmlrename to litellm/proxy/_experimental/out/experimental/api-playground/index.htmldiff --git a/litellm/proxy/_experimental/out/experimental/budgets.html b/litellm/proxy/_experimental/out/experimental/budgets/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/experimental/budgets.htmlrename to litellm/proxy/_experimental/out/experimental/budgets/index.htmldiff --git a/litellm/proxy/_experimental/out/experimental/caching.html b/litellm/proxy/_experimental/out/experimental/caching/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/experimental/caching.htmlrename to litellm/proxy/_experimental/out/experimental/caching/index.htmldiff --git a/litellm/proxy/_experimental/out/experimental/old-usage.html b/litellm/proxy/_experimental/out/experimental/old-usage/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/experimental/old-usage.htmlrename to litellm/proxy/_experimental/out/experimental/old-usage/index.htmldiff --git a/litellm/proxy/_experimental/out/experimental/prompts.html b/litellm/proxy/_experimental/out/experimental/prompts/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/experimental/prompts.htmlrename to litellm/proxy/_experimental/out/experimental/prompts/index.htmldiff --git a/litellm/proxy/_experimental/out/experimental/tag-management.html b/litellm/proxy/_experimental/out/experimental/tag-management/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/experimental/tag-management.htmlrename to litellm/proxy/_experimental/out/experimental/tag-management/index.htmldiff --git a/litellm/proxy/_experimental/out/guardrails.html b/litellm/proxy/_experimental/out/guardrails.htmldeleted file mode 100644index 6dae8818641..00000000000--- a/litellm/proxy/_experimental/out/guardrails.html+++ /dev/null@@ -1 +0,0 @@-<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/litellm-asset-prefix/_next/static/chunks/webpack-134f5d194761e240.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-a07bacd8fcc2728b.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-26a589a1115bdd0a.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-c6945ec5b2d5e671.js" async=""></script><title>LiteLLM Dashboard</title><meta name="description" content="LiteLLM Proxy Admin UI"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><link rel="icon" href="./favicon.ico"/><meta name="next-size-adjust"/><script src="/litellm-asset-prefix/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/litellm-asset-prefix/_next/static/chunks/webpack-134f5d194761e240.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/litellm-asset-prefix/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/litellm-asset-prefix/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/litellm-asset-prefix/_next/static/css/83c095d0528a2e35.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[49514,[\"9028\",\"static/chunks/9028-2bfc9f09930a0d61.js\",\"9409\",\"static/chunks/9409-6eefc92a7f8433ff.js\",\"1713\",\"static/chunks/1713-b3fdb241d0f3ae7a.js\",\"4865\",\"static/chunks/4865-c1c0885a93c327fa.js\",\"337\",\"static/chunks/337-bb33d149e9f461b3.js\",\"8135\",\"static/chunks/8135-881fe2cea0032570.js\",\"1442\",\"static/chunks/1442-024f7e51804e0d7e.js\",\"2926\",\"static/chunks/2926-a9cb83e61fc8ad20.js\",\"2409\",\"static/chunks/2409-e94c05c6f11bb939.js\",\"3367\",\"static/chunks/3367-58830187e9e5b9fa.js\",\"3709\",\"static/chunks/3709-34dbb332d3a3ac26.js\",\"353\",\"static/chunks/353-e55516ea4730f9d4.js\",\"1994\",\"static/chunks/1994-6637a121c9ee1602.js\",\"7138\",\"static/chunks/7138-5b134dc8ad670770.js\",\"7851\",\"static/chunks/7851-c10cbe6fcac2f9d6.js\",\"2068\",\"static/chunks/2068-2c78bfc32dc0de5f.js\",\"8565\",\"static/chunks/8565-5c05f6bbb9d0662f.js\",\"5869\",\"static/chunks/5869-426268ba6ad0ce0c.js\",\"5319\",\"static/chunks/5319-5b2d4bf2dc450f99.js\",\"8582\",\"static/chunks/8582-3a775364dbf07fa8.js\",\"6609\",\"static/chunks/6609-3e081758ffbe3786.js\",\"5945\",\"static/chunks/5945-8b3b7713d7f416a2.js\",\"4077\",\"static/chunks/4077-50cf2a28a79fdcd4.js\",\"4470\",\"static/chunks/4470-3ef8ade20eaf2875.js\",\"8049\",\"static/chunks/8049-cb52b16664f13e28.js\",\"137\",\"static/chunks/137-c6f74fedf576a11b.js\",\"6607\",\"static/chunks/app/(dashboard)/guardrails/page-060e61cb783d32ef.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[53104,[\"9028\",\"static/chunks/9028-2bfc9f09930a0d61.js\",\"9409\",\"static/chunks/9409-6eefc92a7f8433ff.js\",\"1713\",\"static/chunks/1713-b3fdb241d0f3ae7a.js\",\"4865\",\"static/chunks/4865-c1c0885a93c327fa.js\",\"3367\",\"static/chunks/3367-58830187e9e5b9fa.js\",\"3709\",\"static/chunks/3709-34dbb332d3a3ac26.js\",\"7138\",\"static/chunks/7138-5b134dc8ad670770.js\",\"8211\",\"static/chunks/8211-8dd5691abf54d0ca.js\",\"4388\",\"static/chunks/4388-2f4ca3419d20af67.js\",\"8049\",\"static/chunks/8049-cb52b16664f13e28.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-f7f722423efd1c5b.js\"],\"default\",1]\n11:I[61060,[],\"\"]\nb:{}\nc:{\"fontFamily\":\"system-ui,\\\"Se"])</script><script>self.__next_f.push([1,"goe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\nd:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\ne:{\"display\":\"inline-block\"}\nf:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n12:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"zHD7JXLXiWgn1NPp82VmF\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"guardrails\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"guardrails\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"guardrails\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"guardrails\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[null,[\"$\",\"$La\",null,{\"children\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":\"$b\"}]],null],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/litellm-asset-prefix/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/litellm-asset-prefix/_next/static/css/83c095d0528a2e35.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$c\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$d\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$e\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$f\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L10\"],\"globalErrorComponent\":\"$11\",\"missingSlots\":\"$W12\"}]\n"])</script><script>self.__next_f.push([1,"10:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"LiteLLM Dashboard\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"LiteLLM Proxy Admin UI\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"link\",\"5\",{\"rel\":\"icon\",\"href\":\"./favicon.ico\"}],[\"$\",\"meta\",\"6\",{\"name\":\"next-size-adjust\"}]]\n5:null\n"])</script></body></html>\ No newline at end of filediff --git a/litellm/proxy/_experimental/out/login.html b/litellm/proxy/_experimental/out/login/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/login.htmlrename to litellm/proxy/_experimental/out/login/index.htmldiff --git a/litellm/proxy/_experimental/out/logs.html b/litellm/proxy/_experimental/out/logs/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/logs.htmlrename to litellm/proxy/_experimental/out/logs/index.htmldiff --git a/litellm/proxy/_experimental/out/mcp/oauth/callback.html b/litellm/proxy/_experimental/out/mcp/oauth/callback/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/mcp/oauth/callback.htmlrename to litellm/proxy/_experimental/out/mcp/oauth/callback/index.htmldiff --git a/litellm/proxy/_experimental/out/model-hub.html b/litellm/proxy/_experimental/out/model-hub/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/model-hub.htmlrename to litellm/proxy/_experimental/out/model-hub/index.htmldiff --git a/litellm/proxy/_experimental/out/model_hub.html b/litellm/proxy/_experimental/out/model_hub.htmldeleted file mode 100644index fb4d18d07a2..00000000000--- a/litellm/proxy/_experimental/out/model_hub.html+++ /dev/null@@ -1 +0,0 @@-<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/litellm-asset-prefix/_next/static/chunks/webpack-134f5d194761e240.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-a07bacd8fcc2728b.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-26a589a1115bdd0a.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-c6945ec5b2d5e671.js" async=""></script><title>LiteLLM Dashboard</title><meta name="description" content="LiteLLM Proxy Admin UI"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><link rel="icon" href="./favicon.ico"/><meta name="next-size-adjust"/><script src="/litellm-asset-prefix/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/litellm-asset-prefix/_next/static/chunks/webpack-134f5d194761e240.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/litellm-asset-prefix/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/litellm-asset-prefix/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/litellm-asset-prefix/_next/static/css/83c095d0528a2e35.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[52829,[\"9028\",\"static/chunks/9028-2bfc9f09930a0d61.js\",\"9409\",\"static/chunks/9409-6eefc92a7f8433ff.js\",\"1713\",\"static/chunks/1713-b3fdb241d0f3ae7a.js\",\"4865\",\"static/chunks/4865-c1c0885a93c327fa.js\",\"337\",\"static/chunks/337-bb33d149e9f461b3.js\",\"8135\",\"static/chunks/8135-881fe2cea0032570.js\",\"3367\",\"static/chunks/3367-58830187e9e5b9fa.js\",\"3709\",\"static/chunks/3709-34dbb332d3a3ac26.js\",\"7138\",\"static/chunks/7138-5b134dc8ad670770.js\",\"2068\",\"static/chunks/2068-2c78bfc32dc0de5f.js\",\"5869\",\"static/chunks/5869-426268ba6ad0ce0c.js\",\"8211\",\"static/chunks/8211-8dd5691abf54d0ca.js\",\"7926\",\"static/chunks/7926-108623e14caeb770.js\",\"8049\",\"static/chunks/8049-cb52b16664f13e28.js\",\"7526\",\"static/chunks/7526-da6b2857a3ca248d.js\",\"1418\",\"static/chunks/app/model_hub/page-92347d2021ca8580.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\nb:I[61060,[],\"\"]\nc:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"zHD7JXLXiWgn1NPp82VmF\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"model_hub\"],\"initialTree\":[\"\",{\"children\":[\"model_hub\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"model_hub\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"model_hub\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/litellm-asset-prefix/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/litellm-asset-prefix/_next/static/css/83c095d0528a2e35.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$La\"],\"globalErrorComponent\":\"$b\",\"missingSlots\":\"$Wc\"}]\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"LiteLLM Dashboard\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"LiteLLM Proxy Admin UI\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"link\",\"5\",{\"rel\":\"icon\",\"href\":\"./favicon.ico\"}],[\"$\",\"meta\",\"6\",{\"name\":\"next-size-adjust\"}]]\n5:null\n"])</script></body></html>\ No newline at end of filediff --git a/litellm/proxy/_experimental/out/model_hub_table.html b/litellm/proxy/_experimental/out/model_hub_table/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/model_hub_table.htmlrename to litellm/proxy/_experimental/out/model_hub_table/index.htmldiff --git a/litellm/proxy/_experimental/out/models-and-endpoints.html b/litellm/proxy/_experimental/out/models-and-endpoints/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/models-and-endpoints.htmlrename to litellm/proxy/_experimental/out/models-and-endpoints/index.htmldiff --git a/litellm/proxy/_experimental/out/onboarding.html b/litellm/proxy/_experimental/out/onboarding.htmldeleted file mode 100644index 77ec4ff6f48..00000000000--- a/litellm/proxy/_experimental/out/onboarding.html+++ /dev/null@@ -1 +0,0 @@-<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/litellm-asset-prefix/_next/static/chunks/webpack-134f5d194761e240.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-a07bacd8fcc2728b.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-26a589a1115bdd0a.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-c6945ec5b2d5e671.js" async=""></script><title>LiteLLM Dashboard</title><meta name="description" content="LiteLLM Proxy Admin UI"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><link rel="icon" href="./favicon.ico"/><meta name="next-size-adjust"/><script src="/litellm-asset-prefix/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/litellm-asset-prefix/_next/static/chunks/webpack-134f5d194761e240.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/litellm-asset-prefix/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/litellm-asset-prefix/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/litellm-asset-prefix/_next/static/css/83c095d0528a2e35.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[12011,[\"3665\",\"static/chunks/3014691f-ba91873bc8fe3fad.js\",\"9028\",\"static/chunks/9028-2bfc9f09930a0d61.js\",\"9409\",\"static/chunks/9409-6eefc92a7f8433ff.js\",\"4865\",\"static/chunks/4865-c1c0885a93c327fa.js\",\"2901\",\"static/chunks/2901-0cdd0656eb7463d6.js\",\"8049\",\"static/chunks/8049-cb52b16664f13e28.js\",\"8461\",\"static/chunks/app/onboarding/page-17ecf5bf068f8157.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\nb:I[61060,[],\"\"]\nc:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"zHD7JXLXiWgn1NPp82VmF\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"onboarding\"],\"initialTree\":[\"\",{\"children\":[\"onboarding\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"onboarding\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"onboarding\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/litellm-asset-prefix/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/litellm-asset-prefix/_next/static/css/83c095d0528a2e35.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$La\"],\"globalErrorComponent\":\"$b\",\"missingSlots\":\"$Wc\"}]\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"LiteLLM Dashboard\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"LiteLLM Proxy Admin UI\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"link\",\"5\",{\"rel\":\"icon\",\"href\":\"./favicon.ico\"}],[\"$\",\"meta\",\"6\",{\"name\":\"next-size-adjust\"}]]\n5:null\n"])</script></body></html>\ No newline at end of filediff --git a/litellm/proxy/_experimental/out/organizations.html b/litellm/proxy/_experimental/out/organizations/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/organizations.htmlrename to litellm/proxy/_experimental/out/organizations/index.htmldiff --git a/litellm/proxy/_experimental/out/playground.html b/litellm/proxy/_experimental/out/playground/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/playground.htmlrename to litellm/proxy/_experimental/out/playground/index.htmldiff --git a/litellm/proxy/_experimental/out/settings/admin-settings.html b/litellm/proxy/_experimental/out/settings/admin-settings/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/settings/admin-settings.htmlrename to litellm/proxy/_experimental/out/settings/admin-settings/index.htmldiff --git a/litellm/proxy/_experimental/out/settings/logging-and-alerts.html b/litellm/proxy/_experimental/out/settings/logging-and-alerts/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/settings/logging-and-alerts.htmlrename to litellm/proxy/_experimental/out/settings/logging-and-alerts/index.htmldiff --git a/litellm/proxy/_experimental/out/settings/router-settings.html b/litellm/proxy/_experimental/out/settings/router-settings/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/settings/router-settings.htmlrename to litellm/proxy/_experimental/out/settings/router-settings/index.htmldiff --git a/litellm/proxy/_experimental/out/settings/ui-theme.html b/litellm/proxy/_experimental/out/settings/ui-theme/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/settings/ui-theme.htmlrename to litellm/proxy/_experimental/out/settings/ui-theme/index.htmldiff --git a/litellm/proxy/_experimental/out/teams.html b/litellm/proxy/_experimental/out/teams/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/teams.htmlrename to litellm/proxy/_experimental/out/teams/index.htmldiff --git a/litellm/proxy/_experimental/out/test-key.html b/litellm/proxy/_experimental/out/test-key/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/test-key.htmlrename to litellm/proxy/_experimental/out/test-key/index.htmldiff --git a/litellm/proxy/_experimental/out/tools/mcp-servers.html b/litellm/proxy/_experimental/out/tools/mcp-servers/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/tools/mcp-servers.htmlrename to litellm/proxy/_experimental/out/tools/mcp-servers/index.htmldiff --git a/litellm/proxy/_experimental/out/tools/vector-stores.html b/litellm/proxy/_experimental/out/tools/vector-stores/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/tools/vector-stores.htmlrename to litellm/proxy/_experimental/out/tools/vector-stores/index.htmldiff --git a/litellm/proxy/_experimental/out/usage.html b/litellm/proxy/_experimental/out/usage/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/usage.htmlrename to litellm/proxy/_experimental/out/usage/index.htmldiff --git a/litellm/proxy/_experimental/out/users.html b/litellm/proxy/_experimental/out/users/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/users.htmlrename to litellm/proxy/_experimental/out/users/index.htmldiff --git a/litellm/proxy/_experimental/out/virtual-keys.html b/litellm/proxy/_experimental/out/virtual-keys/index.htmlsimilarity index 100%rename from litellm/proxy/_experimental/out/virtual-keys.htmlrename to litellm/proxy/_experimental/out/virtual-keys/index.htmldiff --git a/litellm/proxy/discovery_endpoints/ui_discovery_endpoints.py b/litellm/proxy/discovery_endpoints/ui_discovery_endpoints.pyindex cbe28849b1e..3cbca27ce0c 100644--- a/litellm/proxy/discovery_endpoints/ui_discovery_endpoints.py+++ b/litellm/proxy/discovery_endpoints/ui_discovery_endpoints.py@@ -1,5 +1,6 @@#### Analytics Endpoints #####import os+from fastapi import APIRouterfrom litellm.types.proxy.discovery_endpoints.ui_discovery_endpoints import (@@ -14,10 +15,12 @@ router = APIRouter()"/litellm/.well-known/litellm-ui-config", response_model=UiDiscoveryEndpoints) # if mounted at root pathasync def get_ui_config():- from litellm.proxy.utils import get_proxy_base_url, get_server_root_pathfrom litellm.proxy.auth.auth_utils import _has_user_setup_sso+ from litellm.proxy.utils import get_proxy_base_url, get_server_root_path- auto_redirect_ui_login_to_sso = os.getenv("AUTO_REDIRECT_UI_LOGIN_TO_SSO", "true").lower() == "true"+ auto_redirect_ui_login_to_sso = (+ os.getenv("AUTO_REDIRECT_UI_LOGIN_TO_SSO", "true").lower() == "true"+ )admin_ui_disabled = os.getenv("DISABLE_ADMIN_UI", "false").lower() == "true"return UiDiscoveryEndpoints(diff --git a/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py b/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.pyindex 7db76fd31dd..09c14bc42c1 100644--- a/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py+++ b/litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py@@ -1,8 +1,8 @@#### CRUD ENDPOINTS for UI Settings #####import json-from typing import Any, Dict, List, Union, Optional+from typing import Any, Dict, List, Optional, Union-from fastapi import APIRouter, Depends, HTTPException, UploadFile, File+from fastapi import APIRouter, Depends, File, HTTPException, UploadFileimport litellmfrom litellm._logging import verbose_proxy_logger@@ -10,6 +10,7 @@ from litellm.proxy._types import *from litellm.proxy.auth.user_api_key_auth import user_api_key_authfrom litellm.types.proxy.management_endpoints.ui_sso import (DefaultTeamSSOParams,+ InProductNudgeResponse,SSOConfig,)@@ -22,11 +23,11 @@ class IPAddress(BaseModel):class UIThemeConfig(BaseModel):"""Configuration for UI theme customization"""-+# Logo configurationlogo_url: Optional[str] = Field(default=None,- description="URL or path to custom logo image. Can be a local file path or HTTP/HTTPS URL"+ description="URL or path to custom logo image. Can be a local file path or HTTP/HTTPS URL",)@@ -85,7 +86,10 @@ class UISettingsResponse(SettingsResponse):# Allowlist of UI settings that can be stored-ALLOWED_UI_SETTINGS_FIELDS = {"disable_model_add_for_internal_users", "disable_team_admin_delete_team_user"}+ALLOWED_UI_SETTINGS_FIELDS = {+ "disable_model_add_for_internal_users",+ "disable_team_admin_delete_team_user",+}@router.get(@@ -434,7 +438,7 @@ async def get_sso_settings():# Initialize with defaultssso_settings_dict = {}-+if sso_db_record and sso_db_record.sso_settings:# Load settings from databasesso_settings_dict = dict(sso_db_record.sso_settings)@@ -444,26 +448,43 @@ async def get_sso_settings():role_mappings = Noneif role_mappings_data:from litellm.types.proxy.management_endpoints.ui_sso import RoleMappings+if isinstance(role_mappings_data, dict):role_mappings = RoleMappings(**role_mappings_data)elif isinstance(role_mappings_data, RoleMappings):role_mappings = role_mappings_data-- decrypted_sso_settings_dict = proxy_config._decrypt_and_set_db_env_variables(environment_variables=sso_settings_dict)++ decrypted_sso_settings_dict = proxy_config._decrypt_and_set_db_env_variables(+ environment_variables=sso_settings_dict+ )# Build SSO config with database values or environment fallback-+sso_config = SSOConfig(google_client_id=decrypted_sso_settings_dict.get("google_client_id", None),- google_client_secret=decrypted_sso_settings_dict.get("google_client_secret", None),- microsoft_client_id=decrypted_sso_settings_dict.get("microsoft_client_id", None),- microsoft_client_secret=decrypted_sso_settings_dict.get("microsoft_client_secret", None),+ google_client_secret=decrypted_sso_settings_dict.get(+ "google_client_secret", None+ ),+ microsoft_client_id=decrypted_sso_settings_dict.get(+ "microsoft_client_id", None+ ),+ microsoft_client_secret=decrypted_sso_settings_dict.get(+ "microsoft_client_secret", None+ ),microsoft_tenant=decrypted_sso_settings_dict.get("microsoft_tenant", None),generic_client_id=decrypted_sso_settings_dict.get("generic_client_id", None),- generic_client_secret=decrypted_sso_settings_dict.get("generic_client_secret", None),- generic_authorization_endpoint=decrypted_sso_settings_dict.get("generic_authorization_endpoint", None),- generic_token_endpoint=decrypted_sso_settings_dict.get("generic_token_endpoint", None),- generic_userinfo_endpoint=decrypted_sso_settings_dict.get("generic_userinfo_endpoint", None),+ generic_client_secret=decrypted_sso_settings_dict.get(+ "generic_client_secret", None+ ),+ generic_authorization_endpoint=decrypted_sso_settings_dict.get(+ "generic_authorization_endpoint", None+ ),+ generic_token_endpoint=decrypted_sso_settings_dict.get(+ "generic_token_endpoint", None+ ),+ generic_userinfo_endpoint=decrypted_sso_settings_dict.get(+ "generic_userinfo_endpoint", None+ ),proxy_base_url=decrypted_sso_settings_dict.get("proxy_base_url", None),user_email=decrypted_sso_settings_dict.get("user_email"),ui_access_mode=decrypted_sso_settings_dict.get("ui_access_mode"),@@ -506,10 +527,14 @@ async def update_sso_settings(sso_config: SSOConfig):"""Update SSO configuration by saving to the dedicated SSO table."""- import osimport json+ import os- from litellm.proxy.proxy_server import prisma_client, store_model_in_db, proxy_config+ from litellm.proxy.proxy_server import (+ prisma_client,+ proxy_config,+ store_model_in_db,+ )if prisma_client is None:raise HTTPException(@@ -562,7 +587,9 @@ async def update_sso_settings(sso_config: SSOConfig):# Clear environment variable if value is null/emptyos.environ.pop(env_var_name, None)- encrypted_sso_data = proxy_config._encrypt_env_variables(environment_variables=sso_data)+ encrypted_sso_data = proxy_config._encrypt_env_variables(+ environment_variables=sso_data+ )# Save to dedicated SSO tableawait prisma_client.db.litellm_ssoconfig.upsert(@@ -655,9 +682,10 @@ async def update_ui_theme_settings(theme_config: UIThemeConfig):Update UI theme configuration.Updates logo settings for the admin UI."""- from litellm.proxy.proxy_server import proxy_config, store_model_in_dbimport os+ from litellm.proxy.proxy_server import proxy_config, store_model_in_db+if store_model_in_db is not True:raise HTTPException(status_code=500,@@ -668,28 +696,30 @@ async def update_ui_theme_settings(theme_config: UIThemeConfig):# Load existing configconfig = await proxy_config.get_config()-+# Update config with UI theme settingsif "general_settings" not in config:config["general_settings"] = {}-+if "environment_variables" not in config:config["environment_variables"] = {}# Convert theme config to dicttheme_data = theme_config.model_dump(exclude_none=True)-+# Store UI theme config in litellm_settings (where it's retrieved from)if "litellm_settings" not in config:config["litellm_settings"] = {}config["litellm_settings"]["ui_theme_config"] = theme_data-+# Update UI_LOGO_PATH environment variable if logo_url is provided# If logo_url is empty string, None, or null, remove the environment variable to use defaultlogo_url = theme_data.get("logo_url")verbose_proxy_logger.debug(f"Updating logo_url: {logo_url}")-- if logo_url and isinstance(logo_url, str) and logo_url.strip(): # Check if logo_url exists and is not empty/whitespace++ if (+ logo_url and isinstance(logo_url, str) and logo_url.strip()+ ): # Check if logo_url exists and is not empty/whitespaceconfig["environment_variables"]["UI_LOGO_PATH"] = logo_urlos.environ["UI_LOGO_PATH"] = logo_urlverbose_proxy_logger.debug(f"Set UI_LOGO_PATH to: {logo_url}")@@ -704,12 +734,15 @@ async def update_ui_theme_settings(theme_config: UIThemeConfig):# Handle environment variable encryption if neededstored_config = config.copy()- if "environment_variables" in stored_config and len(stored_config["environment_variables"]) > 0:+ if (+ "environment_variables" in stored_config+ and len(stored_config["environment_variables"]) > 0+ ):# Only encrypt if there are environment variables to encryptstored_config["environment_variables"] = proxy_config._encrypt_env_variables(environment_variables=stored_config["environment_variables"])-+# Save the updated configawait proxy_config.save_config(new_config=stored_config)@@ -720,6 +753,34 @@ async def update_ui_theme_settings(theme_config: UIThemeConfig):}+ "/in_product_nudges",+ tags=["UI Settings"],+ dependencies=[Depends(user_api_key_auth)],+ response_model=InProductNudgeResponse,+)+async def get_in_product_nudges():+ """+ Get in-product nudges configuration.+ """+ from litellm.proxy.proxy_server import prisma_client++ if prisma_client is None:+ raise HTTPException(+ status_code=500,+ detail={"error": "Database not connected. Please connect a database."},+ )++ db_record = await prisma_client.db.litellm_dailytagspend.find_first(+ where={"tag": "User-Agent: claude-cli"}+ )++ if db_record:+ return InProductNudgeResponse(is_claude_code_enabled=True)++ return InProductNudgeResponse(is_claude_code_enabled=False)++@router.get("/get/ui_settings",tags=["UI Settings"],@@ -752,7 +813,9 @@ async def get_ui_settings():ui_settings = dict(ui_settings_json)# Sanitize any unexpected keys from persisted config before returning- ui_settings = {k: v for k, v in ui_settings.items() if k in ALLOWED_UI_SETTINGS_FIELDS}+ ui_settings = {+ k: v for k, v in ui_settings.items() if k in ALLOWED_UI_SETTINGS_FIELDS+ }# Build config-like object for schema helperconfig: Dict[str, Any] = {"litellm_settings": {"ui_settings": ui_settings}}@@ -823,6 +886,7 @@ async def update_ui_settings("settings": ui_settings,}+@router.post("/upload/logo",tags=["UI Theme Settings"],@@ -839,35 +903,35 @@ async def upload_logo(file: UploadFile = File(...)):# Validate file typeallowed_extensions = {".png", ".jpg", ".jpeg", ".svg"}file_extension = Path(file.filename or "").suffix.lower()-+if file_extension not in allowed_extensions:raise HTTPException(status_code=400,- detail=f"Invalid file type. Allowed types: {', '.join(allowed_extensions)}"+ detail=f"Invalid file type. Allowed types: {', '.join(allowed_extensions)}",)-+# Validate file size (max 5MB)file_content = await file.read()if len(file_content) > 5 * 1024 * 1024: # 5MBraise HTTPException(- status_code=400,- detail="File size too large. Maximum size is 5MB."+ status_code=400, detail="File size too large. Maximum size is 5MB.")-+# Create uploads directory if it doesn't existcurrent_dir = os.path.dirname(os.path.abspath(__file__))upload_dir = os.path.join(current_dir, "..", "uploads")os.makedirs(upload_dir, exist_ok=True)-+# Generate unique filenamefrom litellm._uuid import uuid+unique_filename = f"logo_{uuid.uuid4().hex}{file_extension}"file_path = os.path.join(upload_dir, unique_filename)-+# Save the filewith open(file_path, "wb") as buffer:buffer.write(file_content)-+return {"message": "Logo uploaded successfully","status": "success",diff --git a/litellm/types/proxy/management_endpoints/ui_sso.py b/litellm/types/proxy/management_endpoints/ui_sso.pyindex 187d8c97c05..c9d998f6a92 100644--- a/litellm/types/proxy/management_endpoints/ui_sso.py+++ b/litellm/types/proxy/management_endpoints/ui_sso.py@@ -1,11 +1,10 @@from typing import Dict, List, Literal, Optional, Union-from pydantic import Field+from pydantic import BaseModel, Fieldfrom typing_extensions import TypedDict-from litellm.types.utils import LiteLLMPydanticObjectBase-from litellm.proxy._types import LitellmUserRoles+from litellm.types.utils import LiteLLMPydanticObjectBaseclass LiteLLM_UpperboundKeyGenerateParams(LiteLLMPydanticObjectBase):@@ -28,6 +27,7 @@ class LiteLLM_UpperboundKeyGenerateParams(LiteLLMPydanticObjectBase):tpm_limit: Optional[int] = Nonerpm_limit: Optional[int] = None+class MicrosoftGraphAPIUserGroupDirectoryObject(TypedDict, total=False):"""Model for Microsoft Graph API directory object"""@@ -65,7 +65,7 @@ class AccessControl_UI_AccessMode(LiteLLMPydanticObjectBase):class RoleMappings(LiteLLMPydanticObjectBase):"""Configuration for mapping SSO groups to LiteLLM roles.-+The system will look at the group_claim field in the SSO token to determinewhich role to assign the user based on the roles mapping."""@@ -78,11 +78,11 @@ class RoleMappings(LiteLLMPydanticObjectBase):)default_role: Optional[LitellmUserRoles] = Field(default=None,- description="Default role to assign if user's groups don't match any role mappings. Must be a valid LitellmUserRoles value (e.g., 'proxy_admin', 'internal_user', 'proxy_admin_viewer')"+ description="Default role to assign if user's groups don't match any role mappings. Must be a valid LitellmUserRoles value (e.g., 'proxy_admin', 'internal_user', 'proxy_admin_viewer')",)roles: Dict[LitellmUserRoles, List[str]] = Field(default_factory=dict,- description="Mapping of LiteLLM role names to arrays of SSO group names. Example: {'proxy_admin': ['group-1', 'group-2'], 'proxy_admin_viewer': ['group-3']}"+ description="Mapping of LiteLLM role names to arrays of SSO group names. Example: {'proxy_admin': ['group-1', 'group-2'], 'proxy_admin_viewer': ['group-3']}",)@@ -185,3 +185,10 @@ class DefaultTeamSSOParams(LiteLLMPydanticObjectBase):default=None,description="Default rpm limit for new automatically created teams",)+++class InProductNudgeResponse(BaseModel):+ is_claude_code_enabled: bool = Field(+ default=False,+ description="Whether the Claude Code nudge should be shown.",+ )diff --git a/ui/litellm-dashboard/src/app/page.tsx b/ui/litellm-dashboard/src/app/page.tsxindex ac019a7a8c5..8a56287e156 100644--- a/ui/litellm-dashboard/src/app/page.tsx+++ b/ui/litellm-dashboard/src/app/page.tsx@@ -17,7 +17,7 @@ import { Team } from "@/components/key_team_helpers/key_list";import { MCPServers } from "@/components/mcp_tools";import ModelHubTable from "@/components/AIHub/ModelHubTable";import Navbar from "@/components/navbar";-import { getUiConfig, Organization, proxyBaseUrl, setGlobalLitellmHeaderName } from "@/components/networking";+import { getUiConfig, Organization, proxyBaseUrl, setGlobalLitellmHeaderName, getInProductNudgesCall } from "@/components/networking";import NewUsagePage from "@/components/UsagePage/components/UsagePageView";import OldTeams from "@/components/OldTeams";import { fetchUserModels } from "@/components/organisms/create_key_button";@@ -27,7 +27,7 @@ import PromptsPanel from "@/components/prompts";import PublicModelHub from "@/components/public_model_hub";import { SearchTools } from "@/components/search_tools";import Settings from "@/components/settings";-import { SurveyPrompt, SurveyModal } from "@/components/survey";+import { SurveyPrompt, SurveyModal, ClaudeCodePrompt, ClaudeCodeModal } from "@/components/survey";import TagManagement from "@/components/tag_management";import TransformRequestPanel from "@/components/transform_request";import UIThemeSettings from "@/components/ui_theme_settings";@@ -124,6 +124,11 @@ export default function CreateKeyPage() {const [showSurveyPrompt, setShowSurveyPrompt] = useState(true);const [showSurveyModal, setShowSurveyModal] = useState(false);+ // Claude Code feedback state+ const [isClaudeCode, setIsClaudeCode] = useState(false);+ const [showClaudeCodePrompt, setShowClaudeCodePrompt] = useState(false);+ const [showClaudeCodeModal, setShowClaudeCodeModal] = useState(false);+const invitation_id = searchParams.get("invitation_id");// Get page from URL, default to 'api-keys' if not present@@ -267,6 +272,29 @@ export default function CreateKeyPage() {}}, [accessToken, userID, userRole]);+ // Fetch in-product nudges configuration from backend+ useEffect(() => {+ if (accessToken && token) {+ (async () => {+ try {+ const nudgesConfig = await getInProductNudgesCall(accessToken);+ const isUsingClaudeCode = nudgesConfig?.is_claude_code_enabled || false;+ setIsClaudeCode(isUsingClaudeCode);++ // Show Claude Code prompt on login if enabled+ if (isUsingClaudeCode) {+ setShowClaudeCodePrompt(true);+ // Don't show the regular survey prompt if showing Claude Code prompt+ setShowSurveyPrompt(false);+ }+ } catch (error) {+ console.error("Failed to fetch in-product nudges:", error);+ // Silently fail and don't show Claude Code nudge+ }+ })();+ }+ }, [accessToken, token]);+// Auto-dismiss survey prompt after 15 secondsuseEffect(() => {if (showSurveyPrompt && !showSurveyModal) {@@ -277,6 +305,16 @@ export default function CreateKeyPage() {}}, [showSurveyPrompt, showSurveyModal]);+ // Auto-dismiss Claude Code prompt after 15 seconds+ useEffect(() => {+ if (showClaudeCodePrompt && !showClaudeCodeModal) {+ const timer = setTimeout(() => {+ setShowClaudeCodePrompt(false);+ }, 15000);+ return () => clearTimeout(timer);+ }+ }, [showClaudeCodePrompt, showClaudeCodeModal]);+const handleOpenSurvey = () => {setShowSurveyPrompt(false);setShowSurveyModal(true);@@ -296,6 +334,25 @@ export default function CreateKeyPage() {setShowSurveyPrompt(true);};+ const handleOpenClaudeCode = () => {+ setShowClaudeCodePrompt(false);+ setShowClaudeCodeModal(true);+ };++ const handleDismissClaudeCodePrompt = () => {+ setShowClaudeCodePrompt(false);+ };++ const handleClaudeCodeComplete = () => {+ setShowClaudeCodeModal(false);+ };++ const handleClaudeCodeModalClose = () => {+ // If they close the modal without completing, show the prompt again+ setShowClaudeCodeModal(false);+ setShowClaudeCodePrompt(true);+ };+if (authLoading || redirectToLogin) {return <LoadingScreen />;}@@ -503,6 +560,18 @@ export default function CreateKeyPage() {onClose={handleSurveyModalClose}onComplete={handleSurveyComplete}/>++ {/* Claude Code Components */}+ <ClaudeCodePrompt+ isVisible={showClaudeCodePrompt}+ onOpen={handleOpenClaudeCode}+ onDismiss={handleDismissClaudeCodePrompt}+ />+ <ClaudeCodeModal+ isOpen={showClaudeCodeModal}+ onClose={handleClaudeCodeModalClose}+ onComplete={handleClaudeCodeComplete}+ /></div>)}</ThemeProvider>diff --git a/ui/litellm-dashboard/src/components/leftnav.tsx b/ui/litellm-dashboard/src/components/leftnav.tsxindex 9079fd6a7ed..5bd756f1d1d 100644--- a/ui/litellm-dashboard/src/components/leftnav.tsx+++ b/ui/litellm-dashboard/src/components/leftnav.tsx@@ -7,6 +7,7 @@ import {BarChartOutlined,BgColorsOutlined,BlockOutlined,+ BookOutlined,CreditCardOutlined,DatabaseOutlined,ExperimentOutlined,@@ -47,6 +48,7 @@ interface MenuItem {roles?: string[];children?: MenuItem[];icon?: React.ReactNode;+ external_url?: string;}// Group configuration@@ -213,6 +215,13 @@ const Sidebar: React.FC<SidebarProps> = ({ setPage, defaultSelectedKey, collapselabel: "AI Hub",icon: <AppstoreOutlined />,},+ {+ key: "learning-resources",+ page: "learning-resources",+ label: "Learning Resources",+ icon: <BookOutlined />,+ external_url: "https://models.litellm.ai/cookbook",+ },{key: "experimental",page: "experimental",@@ -252,7 +261,7 @@ const Sidebar: React.FC<SidebarProps> = ({ setPage, defaultSelectedKey, collapsepage: "usage",label: "Old Usage",icon: <BarChartOutlined />,- },+ }],},],@@ -364,9 +373,23 @@ const Sidebar: React.FC<SidebarProps> = ({ setPage, defaultSelectedKey, collapsekey: child.key,icon: child.icon,label: child.label,- onClick: () => navigateToPage(child.page),+ onClick: () => {+ if (child.external_url) {+ window.open(child.external_url, "_blank");+ } else {+ navigateToPage(child.page);+ }+ },})),- onClick: !item.children ? () => navigateToPage(item.page) : undefined,+ onClick: !item.children+ ? () => {+ if (item.external_url) {+ window.open(item.external_url, "_blank");+ } else {+ navigateToPage(item.page);+ }+ }+ : undefined,})),});});diff --git a/ui/litellm-dashboard/src/components/networking.tsx b/ui/litellm-dashboard/src/components/networking.tsxindex 82894dfb0e2..c975877d06c 100644--- a/ui/litellm-dashboard/src/components/networking.tsx+++ b/ui/litellm-dashboard/src/components/networking.tsx@@ -35,6 +35,36 @@ export const getCallbackConfigsCall = async (accessToken: string) => {throw error;}};++export const getInProductNudgesCall = async (accessToken: string) => {+ /**+ * Get in-product nudges configuration.+ */+ try {+ let url = proxyBaseUrl ? `${proxyBaseUrl}/in_product_nudges` : `/in_product_nudges`;++ const response = await fetch(url, {+ method: "GET",+ headers: {+ [globalLitellmHeaderName]: `Bearer ${accessToken}`,+ "Content-Type": "application/json",+ },+ });++ if (!response.ok) {+ const errorData = await response.json();+ const errorMessage = deriveErrorMessage(errorData);+ handleError(errorMessage);+ throw new Error(errorMessage);+ }++ const data = await response.json();+ return data;+ } catch (error) {+ console.error("Failed to get in-product nudges:", error);+ throw error;+ }+};/*** Helper file for calls being made to proxy*/diff --git a/ui/litellm-dashboard/src/components/survey/ClaudeCodeModal.tsx b/ui/litellm-dashboard/src/components/survey/ClaudeCodeModal.tsxnew file mode 100644index 00000000000..94527c160c1--- /dev/null+++ b/ui/litellm-dashboard/src/components/survey/ClaudeCodeModal.tsx@@ -0,0 +1,69 @@+import React from "react";+import { X, Code, ExternalLink } from "lucide-react";+import { Button } from "antd";++interface ClaudeCodeModalProps {+ isOpen: boolean;+ onClose: () => void;+ onComplete: () => void;+}++const GOOGLE_FORM_URL = "https://forms.gle/LZeJQ3XytBakckYa9";++export function ClaudeCodeModal({ isOpen, onClose, onComplete }: ClaudeCodeModalProps) {+ if (!isOpen) return null;++ const handleOpenForm = () => {+ window.open(GOOGLE_FORM_URL, "_blank", "noopener,noreferrer");+ onComplete();+ };++ return (+ <div className="fixed inset-0 z-50 flex items-center justify-center p-4 sm:p-6">+ {/* Backdrop */}+ <div className="fixed inset-0 bg-black/40 backdrop-blur-sm" onClick={onClose} />++ {/* Modal */}+ <div className="relative w-full max-w-md bg-white rounded-xl shadow-2xl overflow-hidden transform transition-all duration-300 ease-out">+ {/* Header */}+ <div className="px-6 py-4 border-b border-gray-100 flex items-center justify-between bg-gray-50/50">+ <div className="flex items-center gap-2 text-purple-600">+ <Code className="h-5 w-5" />+ <span className="font-semibold text-sm tracking-wide uppercase">Claude Code Feedback</span>+ </div>+ <button+ onClick={onClose}+ className="text-gray-400 hover:text-gray-600 transition-colors p-1 rounded-full hover:bg-gray-100"+ >+ <X className="h-5 w-5" />+ </button>+ </div>++ {/* Content */}+ <div className="p-8">+ <h2 className="text-2xl font-bold text-gray-900 mb-4">+ Help us improve your experience+ </h2>+ <p className="text-gray-600 mb-6">+ We'd love to hear about your experience using LiteLLM with Claude Code. Your feedback helps us improve the product for everyone.+ </p>+ <p className="text-sm text-gray-500 mb-6">+ This brief survey takes about 2-3 minutes to complete.+ </p>++ <Button+ type="primary"+ size="large"+ block+ onClick={handleOpenForm}+ icon={<ExternalLink className="h-4 w-4" />}+ style={{ backgroundColor: '#7c3aed', borderColor: '#7c3aed' }}+ >+ Open Feedback Form+ </Button>+ </div>+ </div>+ </div>+ );+}+diff --git a/ui/litellm-dashboard/src/components/survey/ClaudeCodePrompt.tsx b/ui/litellm-dashboard/src/components/survey/ClaudeCodePrompt.tsxnew file mode 100644index 00000000000..9006575ce0a--- /dev/null+++ b/ui/litellm-dashboard/src/components/survey/ClaudeCodePrompt.tsx@@ -0,0 +1,26 @@+import React from "react";+import { Code } from "lucide-react";+import { NudgePrompt } from "./NudgePrompt";++interface ClaudeCodePromptProps {+ onOpen: () => void;+ onDismiss: () => void;+ isVisible: boolean;+}++export function ClaudeCodePrompt({ onOpen, onDismiss, isVisible }: ClaudeCodePromptProps) {+ return (+ <NudgePrompt+ onOpen={onOpen}+ onDismiss={onDismiss}+ isVisible={isVisible}+ title="Claude Code Feedback"+ description="Help us improve your Claude Code experience with LiteLLM! Share your feedback in 4 quick questions."+ buttonText="Share feedback"+ icon={Code}+ accentColor="#7c3aed"+ buttonStyle={{ backgroundColor: '#7c3aed', borderColor: '#7c3aed' }}+ />+ );+}+diff --git a/ui/litellm-dashboard/src/components/survey/NudgePrompt.tsx b/ui/litellm-dashboard/src/components/survey/NudgePrompt.tsxnew file mode 100644index 00000000000..9095c6c21c5--- /dev/null+++ b/ui/litellm-dashboard/src/components/survey/NudgePrompt.tsx@@ -0,0 +1,91 @@+import React, { useEffect, useState } from "react";+import { X, LucideIcon } from "lucide-react";+import { Button } from "antd";++interface NudgePromptProps {+ onOpen: () => void;+ onDismiss: () => void;+ isVisible: boolean;+ title: string;+ description: string;+ buttonText: string;+ icon: LucideIcon;+ accentColor: string;+ buttonStyle?: React.CSSProperties;+}++const DISMISS_DURATION = 15000; // 15 seconds++export function NudgePrompt({+ onOpen,+ onDismiss,+ isVisible,+ title,+ description,+ buttonText,+ icon: Icon,+ accentColor,+ buttonStyle,+}: NudgePromptProps) {+ const [progress, setProgress] = useState(100);++ useEffect(() => {+ if (!isVisible) {+ setProgress(100);+ return;+ }++ const startTime = Date.now();+ const interval = setInterval(() => {+ const elapsed = Date.now() - startTime;+ const remaining = Math.max(0, 100 - (elapsed / DISMISS_DURATION) * 100);+ setProgress(remaining);++ if (remaining <= 0) {+ clearInterval(interval);+ }+ }, 50);++ return () => clearInterval(interval);+ }, [isVisible]);++ if (!isVisible) return null;++ return (+ <div+ className={`fixed bottom-6 right-6 z-40 w-80 bg-white rounded-lg shadow-xl border border-gray-200 overflow-hidden transform transition-all duration-300 ease-out ${+ isVisible ? "translate-y-0 opacity-100 scale-100" : "translate-y-4 opacity-0 scale-95"+ }`}+ >+ {/* Progress bar at top showing time remaining */}+ <div className="h-1 bg-gray-100 w-full">+ <div+ className="h-full transition-all duration-100 ease-linear"+ style={{ width: `${progress}%`, backgroundColor: accentColor }}+ />+ </div>++ <div className="p-4">+ <div className="flex items-start justify-between mb-2">+ <div className="flex items-center gap-2" style={{ color: accentColor }}>+ <Icon className="h-5 w-5" />+ <span className="font-semibold text-sm">{title}</span>+ </div>+ <button+ onClick={onDismiss}+ className="text-gray-400 hover:text-gray-600 transition-colors p-0.5 rounded hover:bg-gray-100"+ >+ <X className="h-4 w-4" />+ </button>+ </div>++ <p className="text-sm text-gray-600 mb-3">{description}</p>++ <Button type="primary" block onClick={onOpen} style={buttonStyle}>+ {buttonText}+ </Button>+ </div>+ </div>+ );+}+diff --git a/ui/litellm-dashboard/src/components/survey/SurveyPrompt.tsx b/ui/litellm-dashboard/src/components/survey/SurveyPrompt.tsxindex 69a886bddeb..a41acb265a7 100644--- a/ui/litellm-dashboard/src/components/survey/SurveyPrompt.tsx+++ b/ui/litellm-dashboard/src/components/survey/SurveyPrompt.tsx@@ -1,6 +1,6 @@-import React, { useEffect, useState } from "react";-import { MessageSquare, X } from "lucide-react";-import { Button } from "antd";+import React from "react";+import { MessageSquare } from "lucide-react";+import { NudgePrompt } from "./NudgePrompt";interface SurveyPromptProps {onOpen: () => void;@@ -8,70 +8,18 @@ interface SurveyPromptProps {isVisible: boolean;}-const DISMISS_DURATION = 15000; // 15 seconds-export function SurveyPrompt({ onOpen, onDismiss, isVisible }: SurveyPromptProps) {- const [progress, setProgress] = useState(100);-- useEffect(() => {- if (!isVisible) {- setProgress(100);- return;- }-- const startTime = Date.now();- const interval = setInterval(() => {- const elapsed = Date.now() - startTime;- const remaining = Math.max(0, 100 - (elapsed / DISMISS_DURATION) * 100);- setProgress(remaining);-- if (remaining <= 0) {- clearInterval(interval);- }- }, 50);-- return () => clearInterval(interval);- }, [isVisible]);-- if (!isVisible) return null;-return (- <div- className={`fixed bottom-6 right-6 z-40 w-80 bg-white rounded-lg shadow-xl border border-gray-200 overflow-hidden transform transition-all duration-300 ease-out ${- isVisible ? "translate-y-0 opacity-100 scale-100" : "translate-y-4 opacity-0 scale-95"- }`}- >- {/* Progress bar at top showing time remaining */}- <div className="h-1 bg-gray-100 w-full">- <div- className="h-full bg-blue-500 transition-all duration-100 ease-linear"- style={{ width: `${progress}%` }}- />- </div>-- <div className="p-4">- <div className="flex items-start justify-between mb-2">- <div className="flex items-center gap-2 text-blue-600">- <MessageSquare className="h-5 w-5" />- <span className="font-semibold text-sm">Quick feedback</span>- </div>- <button- onClick={onDismiss}- className="text-gray-400 hover:text-gray-600 transition-colors p-0.5 rounded hover:bg-gray-100"- >- <X className="h-4 w-4" />- </button>- </div>-- <p className="text-sm text-gray-600 mb-3">- Help us improve LiteLLM! Share your experience in 5 quick questions.- </p>-- <Button type="primary" block onClick={onOpen}>- Share feedback- </Button>- </div>- </div>+ <NudgePrompt+ onOpen={onOpen}+ onDismiss={onDismiss}+ isVisible={isVisible}+ title="Quick feedback"+ description="Help us improve LiteLLM! Share your experience in 5 quick questions."+ buttonText="Share feedback"+ icon={MessageSquare}+ accentColor="#3b82f6"+ />);}diff --git a/ui/litellm-dashboard/src/components/survey/index.tsx b/ui/litellm-dashboard/src/components/survey/index.tsxindex 7c36419980c..fde05084b7e 100644--- a/ui/litellm-dashboard/src/components/survey/index.tsx+++ b/ui/litellm-dashboard/src/components/survey/index.tsx@@ -1,3 +1,6 @@export { SurveyPrompt } from "./SurveyPrompt";export { SurveyModal } from "./SurveyModal";+export { ClaudeCodePrompt } from "./ClaudeCodePrompt";+export { ClaudeCodeModal } from "./ClaudeCodeModal";+export { NudgePrompt } from "./NudgePrompt";