Skip to content

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]

Guardrails - Responses API, Image Gen, Text completions, Audio transcriptions, Audio Speech, Rerank, Anthropic Messages API support via the unified `apply_guardrails` function (#15706)

Krish Dholakia2bd41dc034e4
diff --git a/docs/my-website/docs/adding_provider/adding_guardrail_support.md b/docs/my-website/docs/adding_provider/adding_guardrail_support.md
new file mode 100644
index 00000000000..2646b626ab5
--- /dev/null
+++ b/docs/my-website/docs/adding_provider/adding_guardrail_support.md
@@ -0,0 +1,412 @@
+# Adding Guardrail Support to Endpoints
+
+This guide explains how to add guardrail translation support to new LiteLLM endpoints (e.g., Chat Completions, Responses API, etc.).
+
+## When to Add Guardrail Support
+
+Add guardrail support when:
+- You're creating a new LiteLLM endpoint (e.g., a new API format)
+- You want to enable guardrails for an existing endpoint that doesn't support them
+- You need custom text extraction logic for a specific message format
+
+## Directory Structure
+
+Guardrail handlers follow this structure:
+
+```
+litellm/llms/{provider}/{endpoint}/guardrail_translation/
+├── __init__.py # Exports handler and registers call types
+├── handler.py # Main handler implementation
+└── README.md # Documentation (optional but recommended)
+```
+
+### Example Structures
+
+**OpenAI Chat Completions:**
+```
+litellm/llms/openai/chat/guardrail_translation/
+├── __init__.py
+├── handler.py
+└── README.md
+```
+
+**OpenAI Responses API:**
+```
+litellm/llms/openai/responses/guardrail_translation/
+├── __init__.py
+├── handler.py
+└── README.md
+```
+
+**Anthropic Messages:**
+```
+litellm/llms/anthropic/chat/guardrail_translation/
+├── __init__.py
+└── handler.py
+```
+
+## Step-by-Step Implementation
+
+### Step 1: Create the Handler Class
+
+Create `handler.py` that inherits from `BaseTranslation`:
+
+```python
+"""
+{Provider} {Endpoint} Handler for Unified Guardrails
+
+This module provides guardrail translation support for {Provider}'s {Endpoint} format.
+"""
+
+import asyncio
+from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple, Union, cast
+
+from litellm._logging import verbose_proxy_logger
+from litellm.llms.base_llm.guardrail_translation.base_translation import BaseTranslation
+
+if TYPE_CHECKING:
+ from litellm.integrations.custom_guardrail import CustomGuardrail
+ from litellm.types.utils import ModelResponse # Or appropriate response type
+
+
+class MyEndpointHandler(BaseTranslation):
+ """
+ Handler for processing {Endpoint} with guardrails.
+
+ This class provides methods to:
+ 1. Process input (pre-call hook)
+ 2. Process output response (post-call hook)
+ """
+
+ async def process_input_messages(
+ self,
+ data: dict,
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process input by applying guardrails to text content.
+
+ Args:
+ data: Request data dictionary
+ guardrail_to_apply: The guardrail instance to apply
+
+ Returns:
+ Modified data with guardrails applied
+ """
+ # Your implementation here
+ pass
+
+ async def process_output_response(
+ self,
+ response: Any, # Use appropriate response type
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process output response by applying guardrails to text content.
+
+ Args:
+ response: API response object
+ guardrail_to_apply: The guardrail instance to apply
+
+ Returns:
+ Modified response with guardrails applied
+ """
+ # Your implementation here
+ pass
+```
+
+### Step 2: Implement Core Methods
+
+#### A. Process Input Messages
+
+Extract text from input, apply guardrails, and map back:
+
+```python
+async def process_input_messages(
+ self,
+ data: dict,
+ guardrail_to_apply: "CustomGuardrail",
+) -> Any:
+ """Process input messages by applying guardrails to text content."""
+ # 1. Get input data from request
+ messages = data.get("messages") # or appropriate field
+ if messages is None:
+ return data
+
+ # 2. Extract text and create tasks
+ tasks = []
+ task_mappings: List[Tuple[int, Optional[int]]] = []
+
+ for msg_idx, message in enumerate(messages):
+ await self._extract_input_text_and_create_tasks(
+ message=message,
+ msg_idx=msg_idx,
+ tasks=tasks,
+ task_mappings=task_mappings,
+ guardrail_to_apply=guardrail_to_apply,
+ )
+
+ # 3. Run all guardrail tasks in parallel
+ if tasks:
+ responses = await asyncio.gather(*tasks)
+
+ # 4. Map responses back to original structure
+ await self._apply_guardrail_responses_to_input(
+ messages=messages,
+ responses=responses,
+ task_mappings=task_mappings,
+ )
+
+ return data
+```
+
+#### B. Process Output Response
+
+Extract text from response, apply guardrails, and update:
+
+```python
+async def process_output_response(
+ self,
+ response: "ModelResponse",
+ guardrail_to_apply: "CustomGuardrail",
+) -> Any:
+ """Process output response by applying guardrails to text content."""
+ # 1. Check if response has text to process
+ if not self._has_text_content(response):
+ return response
+
+ # 2. Extract text and create tasks
+ tasks = []
+ task_mappings: List[Tuple[int, Optional[int]]] = []
+
+ for idx, item in enumerate(response.choices): # or appropriate field
+ await self._extract_output_text_and_create_tasks(
+ item=item,
+ idx=idx,
+ tasks=tasks,
+ task_mappings=task_mappings,
+ guardrail_to_apply=guardrail_to_apply,
+ )
+
+ # 3. Run all guardrail tasks in parallel
+ if tasks:
+ responses = await asyncio.gather(*tasks)
+
+ # 4. Update response with guardrailed text
+ await self._apply_guardrail_responses_to_output(
+ response=response,
+ responses=responses,
+ task_mappings=task_mappings,
+ )
+
+ return response
+```
+
+### Step 3: Create Helper Methods
+
+Implement helper methods for text extraction and mapping:
+
+```python
+async def _extract_input_text_and_create_tasks(
+ self,
+ message: Dict[str, Any],
+ msg_idx: int,
+ tasks: List,
+ task_mappings: List[Tuple[int, Optional[int]]],
+ guardrail_to_apply: "CustomGuardrail",
+) -> None:
+ """Extract text content from a message and create guardrail tasks."""
+ content = message.get("content")
+ if content is None:
+ return
+
+ if isinstance(content, str):
+ # Simple string content
+ tasks.append(guardrail_to_apply.apply_guardrail(text=content))
+ task_mappings.append((msg_idx, None))
+ elif isinstance(content, list):
+ # List content (e.g., multimodal)
+ for content_idx, content_item in enumerate(content):
+ if isinstance(content_item, dict):
+ text_str = content_item.get("text")
+ if text_str:
+ tasks.append(guardrail_to_apply.apply_guardrail(text=text_str))
+ task_mappings.append((msg_idx, int(content_idx)))
+
+async def _apply_guardrail_responses_to_input(
+ self,
+ messages: List[Dict[str, Any]],
+ responses: List[str],
+ task_mappings: List[Tuple[int, Optional[int]]],
+) -> None:
+ """Apply guardrail responses back to input messages."""
+ for task_idx, guardrail_response in enumerate(responses):
+ msg_idx, content_idx = task_mappings[task_idx]
+
+ if content_idx is None:
+ # String content
+ messages[msg_idx]["content"] = guardrail_response
+ else:
+ # List content
+ messages[msg_idx]["content"][content_idx]["text"] = guardrail_response
+
+def _has_text_content(self, response: Any) -> bool:
+ """Check if response has any text content to process."""
+ # Implement based on your response structure
+ return True # or appropriate logic
+```
+
+### Step 4: Register the Handler
+
+Create `__init__.py` to register the handler with call types:
+
+```python
+"""My Endpoint handler for Unified Guardrails."""
+
+from litellm.llms.{provider}/{endpoint}/guardrail_translation.handler import (
+ MyEndpointHandler,
+)
+from litellm.types.utils import CallTypes
+
+guardrail_translation_mappings = {
+ CallTypes.my_endpoint: MyEndpointHandler,
+ CallTypes.amy_endpoint: MyEndpointHandler, # async version if applicable
+}
+
+__all__ = ["guardrail_translation_mappings"]
+```
+
+**Important:** Make sure your `CallTypes` are defined in `litellm/types/utils.py`.
+
+### Step 5: Add Documentation
+
+Create `README.md` with usage examples and format details:
+
+```markdown
+# {Provider} {Endpoint} Guardrail Translation Handler
+
+Handler for processing {Provider}'s {Endpoint} with guardrails.
+
+## Overview
+
+This handler processes {Endpoint} input/output by:
+1. Extracting text from messages/responses
+2. Applying guardrails to text content
+3. Mapping guardrailed text back to original structure
+
+## Data Format
+
+### Input Format
+```json
+{
+ "field": "value",
+ "messages": [...]
+}
+```
+
+### Output Format
+```json
+{
+ "field": "value",
+ "output": [...]
+}
+```
+
+## Usage
+
+The handler is automatically discovered and applied when guardrails are used with this endpoint.
+
+```bash
+curl -X POST 'http://localhost:4000/{my_endpoint}' \
+-H 'Content-Type: application/json' \
+-H 'Authorization: Bearer your-api-key' \
+-d '{
+ "model": "gpt-3.5-turbo",
+ "messages": [{"role": "user", "content": "Hello"}],
+ "guardrails": ["test"]
+}'
+
+```
+## Extension
+
+Override these methods to customize behavior:
+- `_extract_input_text_and_create_tasks()`: Custom text extraction
+- `_apply_guardrail_responses_to_input()`: Custom response mapping
+- `_has_text_content()`: Custom content detection
+```
+
+### Step 6: Add Unit Tests
+
+Create comprehensive tests in `tests/test_litellm/llms/{provider}/{endpoint}/`:
+
+```python
+"""
+Unit tests for {Provider} {Endpoint} Guardrail Translation Handler
+"""
+
+import os
+import sys
+import pytest
+
+sys.path.insert(0, os.path.abspath("../../../../../.."))
+
+from litellm.integrations.custom_guardrail import CustomGuardrail
+from litellm.llms import get_guardrail_translation_mapping
+from litellm.llms.{provider}.{endpoint}.guardrail_translation.handler import (
+ MyEndpointHandler,
+)
+from litellm.types.utils import CallTypes
+
+
+class MockGuardrail(CustomGuardrail):
+ """Mock guardrail for testing"""
+
+ async def apply_guardrail(self, text: str) -> str:
+ return f"{text} [GUARDRAILED]"
+
+
+class TestHandlerDiscovery:
+ """Test that the handler is properly discovered"""
+
+ def test_handler_discovered(self):
+ handler_class = get_guardrail_translation_mapping(CallTypes.my_endpoint)
+ assert handler_class == MyEndpointHandler
+
+
+class TestInputProcessing:
+ """Test input processing functionality"""
+
+ @pytest.mark.asyncio
+ async def test_process_simple_input(self):
+ handler = MyEndpointHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {"messages": [{"role": "user", "content": "Hello"}]}
+ result = await handler.process_input_messages(data, guardrail)
+
+ assert result["messages"][0]["content"] == "Hello [GUARDRAILED]"
+
+
+class TestOutputProcessing:
+ """Test output processing functionality"""
+
+ @pytest.mark.asyncio
+ async def test_process_simple_output(self):
+ handler = MyEndpointHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ # Create mock response
+ response = create_mock_response()
+ result = await handler.process_output_response(response, guardrail)
+
+ # Assert guardrail was applied
+ assert "GUARDRAILED" in get_response_text(result)
+```
+
+## Support
+
+For questions or issues:
+- Check existing handler implementations for examples
+- Review the base translation class documentation
+- Create an issue on GitHub with the `guardrails` label
+
diff --git a/docs/my-website/docs/anthropic_unified.md b/docs/my-website/docs/anthropic_unified.md
index 62dea7051b0..9981547ce1f 100644
--- a/docs/my-website/docs/anthropic_unified.md
+++ b/docs/my-website/docs/anthropic_unified.md
@@ -10,14 +10,14 @@ Use LiteLLM to call all your LLM APIs in the Anthropic `v1/messages` format.
| Feature | Supported | Notes |
|-------|-------|-------|
-| Cost Tracking | ✅ | |
-| Logging | ✅ | works across all integrations |
+| Cost Tracking | ✅ | Works with all supported models |
+| Logging | ✅ | Works across all integrations |
| End-user Tracking | ✅ | |
| Streaming | ✅ | |
-| Fallbacks | ✅ | between supported models |
-| Loadbalancing | ✅ | between supported models |
-| Guardrails | ✅ | |
-| Support llm providers | **All LiteLLM supported providers** | `openai`, `anthropic`, `bedrock`, `vertex_ai`, `gemini`, `azure`, `azure_ai`, etc. |
+| Fallbacks | ✅ | Works between supported models |
+| Loadbalancing | ✅ | Works between supported models |
+| Guardrails | ✅ | Applies to input and output text (non-streaming only) |
+| Supported Providers | **All LiteLLM supported providers** | `openai`, `anthropic`, `bedrock`, `vertex_ai`, `gemini`, `azure`, `azure_ai`, etc. |
## Usage
---
diff --git a/docs/my-website/docs/audio_transcription.md b/docs/my-website/docs/audio_transcription.md
index 8cbc567180c..fd55cc66e92 100644
--- a/docs/my-website/docs/audio_transcription.md
+++ b/docs/my-website/docs/audio_transcription.md
@@ -7,12 +7,13 @@ import TabItem from '@theme/TabItem';
| Feature | Supported | Notes |
|-------|-------|-------|
-| Cost Tracking | ✅ | |
-| Logging | ✅ | works across all integrations |
+| Cost Tracking | ✅ | Works with all supported models |
+| Logging | ✅ | Works across all integrations |
| End-user Tracking | ✅ | |
-| Fallbacks | ✅ | between supported models |
-| Loadbalancing | ✅ | between supported models |
-| Support llm providers | `openai`, `azure`, `vertex_ai`, `gemini`, `deepgram`, `groq`, `fireworks_ai` | |
+| Fallbacks | ✅ | Works between supported models |
+| Loadbalancing | ✅ | Works between supported models |
+| Guardrails | ✅ | Applies to output transcribed text (non-streaming only) |
+| Supported Providers | `openai`, `azure`, `vertex_ai`, `gemini`, `deepgram`, `groq`, `fireworks_ai` | |
## Quick Start
diff --git a/docs/my-website/docs/image_generation.md b/docs/my-website/docs/image_generation.md
index 8cd5803aa6c..b4eaef36521 100644
--- a/docs/my-website/docs/image_generation.md
+++ b/docs/my-website/docs/image_generation.md
@@ -5,6 +5,18 @@ import TabItem from '@theme/TabItem';
# Image Generations
+## Overview
+
+| Feature | Supported | Notes |
+|---------|-----------|-------|
+| Cost Tracking | ✅ | Works with all supported models |
+| Logging | ✅ | Works across all integrations |
+| End-user Tracking | ✅ | |
+| Fallbacks | ✅ | Works between supported models |
+| Loadbalancing | ✅ | Works between supported models |
+| Guardrails | ✅ | Applies to input prompts (non-streaming only) |
+| Supported Providers | OpenAI, Azure, Google AI Studio, Vertex AI, AWS Bedrock, Recraft, Xinference, Nscale | |
+
## Quick Start
### LiteLLM Python SDK
diff --git a/docs/my-website/docs/providers/openai/text_to_speech.md b/docs/my-website/docs/providers/openai/text_to_speech.md
index 34cd0f069e6..a4aeb9e5257 100644
--- a/docs/my-website/docs/providers/openai/text_to_speech.md
+++ b/docs/my-website/docs/providers/openai/text_to_speech.md
@@ -4,6 +4,18 @@ import TabItem from '@theme/TabItem';
# OpenAI - Text-to-speech
+## Overview
+
+| Feature | Supported | Notes |
+|---------|-----------|-------|
+| Cost Tracking | ✅ | Works with all supported models |
+| Logging | ✅ | Works across all integrations |
+| End-user Tracking | ✅ | |
+| Fallbacks | ✅ | Works between supported models |
+| Loadbalancing | ✅ | Works between supported models |
+| Guardrails | ✅ | Applies to input text |
+| Supported Models | tts-1, tts-1-hd, gpt-4o-mini-tts | |
+
## **LiteLLM Python SDK Usage**
### Quick Start
diff --git a/docs/my-website/docs/rerank.md b/docs/my-website/docs/rerank.md
index 72f35c6cece..ec0592f31ff 100644
--- a/docs/my-website/docs/rerank.md
+++ b/docs/my-website/docs/rerank.md
@@ -6,6 +6,18 @@ LiteLLM Follows the [cohere api request / response for the rerank api](https://c
:::
+## Overview
+
+| Feature | Supported | Notes |
+|---------|-----------|-------|
+| Cost Tracking | ✅ | Works with all supported models |
+| Logging | ✅ | Works across all integrations |
+| End-user Tracking | ✅ | |
+| Fallbacks | ✅ | Works between supported models |
+| Loadbalancing | ✅ | Works between supported models |
+| Guardrails | ✅ | Applies to input query only (not documents) |
+| Supported Providers | Cohere, Together AI, Azure AI, DeepInfra, Nvidia NIM, Infinity | |
+
## **LiteLLM Python SDK Usage**
### Quick Start
diff --git a/docs/my-website/docs/response_api.md b/docs/my-website/docs/response_api.md
index 7b7db32fc6a..fe21266958f 100644
--- a/docs/my-website/docs/response_api.md
+++ b/docs/my-website/docs/response_api.md
@@ -17,7 +17,7 @@ Requests to /chat/completions may be bridged here automatically when the provide
| Image Generation Streaming | ✅ | Progressive image generation with partial images (1-3) |
| Fallbacks | ✅ | Works between supported models |
| Loadbalancing | ✅ | Works between supported models |
-| Guardrails | ✅ | |
+| Guardrails | ✅ | Applies to input and output text (non-streaming only) |
| Supported operations | Create a response, Get a response, Delete a response | |
| Supported LiteLLM Versions | 1.63.8+ | |
| Supported LLM providers | **All LiteLLM supported providers** | `openai`, `anthropic`, `bedrock`, `vertex_ai`, `gemini`, `azure`, `azure_ai` etc. |
diff --git a/docs/my-website/docs/text_completion.md b/docs/my-website/docs/text_completion.md
index cbf2db00a0a..234494c2dd9 100644
--- a/docs/my-website/docs/text_completion.md
+++ b/docs/my-website/docs/text_completion.md
@@ -3,6 +3,19 @@ import TabItem from '@theme/TabItem';
# /completions
+## Overview
+
+| Feature | Supported | Notes |
+|---------|-----------|-------|
+| Cost Tracking | ✅ | Works with all supported models |
+| Logging | ✅ | Works across all integrations |
+| End-user Tracking | ✅ | |
+| Streaming | ✅ | |
+| Fallbacks | ✅ | Works between supported models |
+| Loadbalancing | ✅ | Works between supported models |
+| Guardrails | ✅ | Applies to input prompts and output text (non-streaming only) |
+| Supported Providers | All Chat Completion Providers | |
+
### Usage
<Tabs>
<TabItem value="python" label="LiteLLM Python SDK">
diff --git a/docs/my-website/docs/text_to_speech.md b/docs/my-website/docs/text_to_speech.md
index 2c6a3aa0589..c530e70e4be 100644
--- a/docs/my-website/docs/text_to_speech.md
+++ b/docs/my-website/docs/text_to_speech.md
@@ -4,18 +4,17 @@ import TabItem from '@theme/TabItem';
# /audio/speech
-## Overview
+## Overview
-| Feature | Supported | Notes |
-|-------|-------|-------|
-| Cost Tracking | ✅ | |
-| Logging | ✅ | works across all integrations |
+| Feature | Supported | Notes |
+|---------|-----------|-------|
+| Cost Tracking | ✅ | Works with all supported models |
+| Logging | ✅ | Works across all integrations |
| End-user Tracking | ✅ | |
-| Fallbacks | ✅ | between supported models |
-| Loadbalancing | ✅ | between supported models |
-| Guardrails | ❌ Please make an [issue if you need this feature](https://github.com/BerriAI/litellm/issues/new) | |
-| Support llm providers | | `openai`, `azure`, `azure_ai`, `vertex_ai`, `gemini`, etc. |
-
+| Fallbacks | ✅ | Works between supported models |
+| Loadbalancing | ✅ | Works between supported models |
+| Guardrails | ✅ | Applies to input text (non-streaming only) |
+| Supported Providers | OpenAI, Azure OpenAI, Vertex AI | |
## **LiteLLM Python SDK Usage**
### Quick Start
diff --git a/docs/my-website/sidebars.js b/docs/my-website/sidebars.js
index e2753932f55..f0e311c303f 100644
--- a/docs/my-website/sidebars.js
+++ b/docs/my-website/sidebars.js
@@ -709,7 +709,8 @@ const sidebars = {
label: "Adding Providers",
items: [
"adding_provider/directory_structure",
- "adding_provider/new_rerank_provider"],
+ "adding_provider/new_rerank_provider",
+ "adding_provider/adding_guardrail_support"],
},
"extras/contributing",
"contributing",
diff --git a/litellm/llms/__init__.py b/litellm/llms/__init__.py
index 18973add86d..1676e7bb1ee 100644
--- a/litellm/llms/__init__.py
+++ b/litellm/llms/__init__.py
@@ -1,8 +1,16 @@
-from typing import TYPE_CHECKING, Optional
+import importlib
+import os
+from typing import TYPE_CHECKING, Dict, Optional, Type
+
+from litellm._logging import verbose_logger
+from litellm.types.utils import CallTypes
from . import *
if TYPE_CHECKING:
+ from litellm.llms.base_llm.guardrail_translation.base_translation import (
+ BaseTranslation,
+ )
from litellm.types.utils import ModelInfo, Usage
@@ -33,3 +41,120 @@ def get_cost_for_web_search_request(
return cost_per_web_search_request_vertex_ai(usage=usage, model_info=model_info)
else:
return None
+
+
+def discover_guardrail_translation_mappings() -> (
+ Dict[CallTypes, Type["BaseTranslation"]]
+):
+ """
+ Discover guardrail translation mappings by scanning the llms directory structure.
+
+ Scans for modules with guardrail_translation_mappings dictionaries and aggregates them.
+
+ Returns:
+ Dict[CallTypes, Type[BaseTranslation]]: A dictionary mapping call types to their translation handler classes
+ """
+ discovered_mappings: Dict[CallTypes, Type["BaseTranslation"]] = {}
+
+ try:
+ # Get the path to the llms directory
+ current_dir = os.path.dirname(__file__)
+ llms_dir = current_dir
+
+ if not os.path.exists(llms_dir):
+ verbose_logger.debug("llms directory not found")
+ return discovered_mappings
+
+ # Recursively scan for guardrail_translation directories
+ for root, dirs, files in os.walk(llms_dir):
+ # Skip __pycache__ and base_llm directories
+ dirs[:] = [d for d in dirs if not d.startswith("__") and d != "base_llm"]
+
+ # Check if this is a guardrail_translation directory with __init__.py
+ if (
+ os.path.basename(root) == "guardrail_translation"
+ and "__init__.py" in files
+ ):
+ # Build the module path relative to litellm
+ rel_path = os.path.relpath(root, os.path.dirname(llms_dir))
+ module_path = "litellm." + rel_path.replace(os.sep, ".")
+
+ try:
+ # Import the module
+ verbose_logger.debug(
+ f"Discovering guardrail translations in: {module_path}"
+ )
+
+ module = importlib.import_module(module_path)
+
+ # Check for guardrail_translation_mappings dictionary
+ if hasattr(module, "guardrail_translation_mappings"):
+ mappings = getattr(module, "guardrail_translation_mappings")
+ if isinstance(mappings, dict):
+ discovered_mappings.update(mappings)
+ verbose_logger.debug(
+ f"Found guardrail_translation_mappings in {module_path}: {list(mappings.keys())}"
+ )
+
+ except ImportError as e:
+ verbose_logger.error(f"Could not import {module_path}: {e}")
+ continue
+ except Exception as e:
+ verbose_logger.error(f"Error processing {module_path}: {e}")
+ continue
+
+ verbose_logger.debug(
+ f"Discovered {len(discovered_mappings)} guardrail translation mappings: {list(discovered_mappings.keys())}"
+ )
+
+ except Exception as e:
+ verbose_logger.error(f"Error discovering guardrail translation mappings: {e}")
+
+ return discovered_mappings
+
+
+# Cache the discovered mappings
+endpoint_guardrail_translation_mappings: Optional[
+ Dict[CallTypes, Type["BaseTranslation"]]
+] = None
+
+
+def load_guardrail_translation_mappings():
+ global endpoint_guardrail_translation_mappings
+ if endpoint_guardrail_translation_mappings is None:
+ endpoint_guardrail_translation_mappings = (
+ discover_guardrail_translation_mappings()
+ )
+ return endpoint_guardrail_translation_mappings
+
+
+def get_guardrail_translation_mapping(call_type: CallTypes) -> Type["BaseTranslation"]:
+ """
+ Get the guardrail translation handler for a given call type.
+
+ Args:
+ call_type: The type of call (e.g., completion, acompletion, anthropic_messages)
+
+ Returns:
+ The translation handler class for the given call type
+
+ Raises:
+ ValueError: If no translation mapping exists for the given call type
+ """
+ global endpoint_guardrail_translation_mappings
+
+ # Lazy load the mappings on first access
+ if endpoint_guardrail_translation_mappings is None:
+ endpoint_guardrail_translation_mappings = (
+ discover_guardrail_translation_mappings()
+ )
+
+ # Get the translation handler class for the call type
+ if call_type not in endpoint_guardrail_translation_mappings:
+ raise ValueError(
+ f"No guardrail translation mapping found for call_type: {call_type}. "
+ f"Available mappings: {list(endpoint_guardrail_translation_mappings.keys())}"
+ )
+
+ # Return the handler class directly
+ return endpoint_guardrail_translation_mappings[call_type]
diff --git a/litellm/llms/anthropic/chat/guardrail_translation/__init__.py b/litellm/llms/anthropic/chat/guardrail_translation/__init__.py
new file mode 100644
index 00000000000..ab327ee9f2c
--- /dev/null
+++ b/litellm/llms/anthropic/chat/guardrail_translation/__init__.py
@@ -0,0 +1,10 @@
+from litellm.llms.anthropic.chat.guardrail_translation.handler import (
+ AnthropicMessagesHandler,
+)
+from litellm.types.utils import CallTypes
+
+guardrail_translation_mappings = {
+ CallTypes.anthropic_messages: AnthropicMessagesHandler,
+}
+
+__all__ = ["guardrail_translation_mappings"]
diff --git a/litellm/llms/anthropic/chat/guardrail_translation/handler.py b/litellm/llms/anthropic/chat/guardrail_translation/handler.py
new file mode 100644
index 00000000000..cc0b260998f
--- /dev/null
+++ b/litellm/llms/anthropic/chat/guardrail_translation/handler.py
@@ -0,0 +1,270 @@
+"""
+Anthropic Message Handler for Unified Guardrails
+
+This module provides a class-based handler for Anthropic-format messages.
+The class methods can be overridden for custom behavior.
+
+Pattern Overview:
+-----------------
+1. Extract text content from messages/responses (both string and list formats)
+2. Create async tasks to apply guardrails to each text segment
+3. Track mappings to know where each response belongs
+4. Apply guardrail responses back to the original structure
+"""
+
+import asyncio
+from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple, cast
+
+from litellm._logging import verbose_proxy_logger
+from litellm.llms.base_llm.guardrail_translation.base_translation import BaseTranslation
+
+if TYPE_CHECKING:
+ from litellm.integrations.custom_guardrail import CustomGuardrail
+ from litellm.types.llms.anthropic_messages.anthropic_response import (
+ AnthropicMessagesResponse,
+ AnthropicResponseTextBlock,
+ )
+
+
+class AnthropicMessagesHandler(BaseTranslation):
+ """
+ Handler for processing Anthropic messages with guardrails.
+
+ This class provides methods to:
+ 1. Process input messages (pre-call hook)
+ 2. Process output responses (post-call hook)
+
+ Methods can be overridden to customize behavior for different message formats.
+ """
+
+ async def process_input_messages(
+ self,
+ data: dict,
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process input messages by applying guardrails to text content.
+ """
+ messages = data.get("messages")
+ if messages is None:
+ return data
+
+ tasks = []
+ task_mappings: List[Tuple[int, Optional[int]]] = []
+ # Track (message_index, content_index) for each task
+ # content_index is None for string content, int for list content
+
+ # Step 1: Extract all text content and create guardrail tasks
+ for msg_idx, message in enumerate(messages):
+ await self._extract_input_text_and_create_tasks(
+ message=message,
+ msg_idx=msg_idx,
+ tasks=tasks,
+ task_mappings=task_mappings,
+ guardrail_to_apply=guardrail_to_apply,
+ )
+
+ # Step 2: Run all guardrail tasks in parallel
+ responses = await asyncio.gather(*tasks)
+
+ # Step 3: Map guardrail responses back to original message structure
+ await self._apply_guardrail_responses_to_input(
+ messages=messages,
+ responses=responses,
+ task_mappings=task_mappings,
+ )
+
+ verbose_proxy_logger.debug(
+ "Anthropic Messages: Processed input messages: %s", messages
+ )
+
+ return data
+
+ async def _extract_input_text_and_create_tasks(
+ self,
+ message: Dict[str, Any],
+ msg_idx: int,
+ tasks: List,
+ task_mappings: List[Tuple[int, Optional[int]]],
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> None:
+ """
+ Extract text content from a message and create guardrail tasks.
+
+ Override this method to customize text extraction logic.
+ """
+ content = message.get("content", None)
+ if content is None:
+ return
+
+ if isinstance(content, str):
+ # Simple string content
+ tasks.append(guardrail_to_apply.apply_guardrail(text=content))
+ task_mappings.append((msg_idx, None))
+
+ elif isinstance(content, list):
+ # List content (e.g., multimodal with text and images)
+ for content_idx, content_item in enumerate(content):
+ text_str = content_item.get("text", None)
+ if text_str is None:
+ continue
+ tasks.append(guardrail_to_apply.apply_guardrail(text=text_str))
+ task_mappings.append((msg_idx, int(content_idx)))
+
+ async def _apply_guardrail_responses_to_input(
+ self,
+ messages: List[Dict[str, Any]],
+ responses: List[str],
+ task_mappings: List[Tuple[int, Optional[int]]],
+ ) -> None:
+ """
+ Apply guardrail responses back to input messages.
+
+ Override this method to customize how responses are applied.
+ """
+ for task_idx, guardrail_response in enumerate(responses):
+ mapping = task_mappings[task_idx]
+ msg_idx = cast(int, mapping[0])
+ content_idx_optional = cast(Optional[int], mapping[1])
+
+ content = messages[msg_idx].get("content", None)
+ if content is None:
+ continue
+
+ if isinstance(content, str) and content_idx_optional is None:
+ # Replace string content with guardrail response
+ messages[msg_idx]["content"] = guardrail_response
+
+ elif isinstance(content, list) and content_idx_optional is not None:
+ # Replace specific text item in list content
+ messages[msg_idx]["content"][content_idx_optional][
+ "text"
+ ] = guardrail_response
+
+ async def process_output_response(
+ self,
+ response: "AnthropicMessagesResponse",
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process output response by applying guardrails to text content.
+
+ Args:
+ response: Anthropic MessagesResponse object
+ guardrail_to_apply: The guardrail instance to apply
+
+ Returns:
+ Modified response with guardrail applied to content
+
+ Response Format Support:
+ - List content: response.content = [{"type": "text", "text": "text here"}, ...]
+ """
+ # Step 0: Check if response has any text content to process
+ if not self._has_text_content(response):
+ verbose_proxy_logger.warning(
+ "Anthropic Messages: No text content in response, skipping guardrail"
+ )
+ return response
+
+ tasks = []
+ task_mappings: List[Tuple[int, Optional[int]]] = []
+ # Track (choice_index, content_index) for each task
+
+ response_content = response.get("content", [])
+ if not response_content:
+ return response
+ # Step 1: Extract all text content from response choices
+ for content_idx, content_block in enumerate(response_content):
+ # Check if this is a text block by checking the 'type' field
+ if isinstance(content_block, dict) and content_block.get("type") == "text":
+ # Cast to dict to handle the union type properly
+ await self._extract_output_text_and_create_tasks(
+ content_block=cast(Dict[str, Any], content_block),
+ content_idx=content_idx,
+ tasks=tasks,
+ task_mappings=task_mappings,
+ guardrail_to_apply=guardrail_to_apply,
+ )
+
+ # Step 2: Run all guardrail tasks in parallel
+ responses = await asyncio.gather(*tasks)
+
+ # Step 3: Map guardrail responses back to original response structure
+ await self._apply_guardrail_responses_to_output(
+ response=response,
+ responses=responses,
+ task_mappings=task_mappings,
+ )
+
+ verbose_proxy_logger.debug(
+ "Anthropic Messages: Processed output response: %s", response
+ )
+
+ return response
+
+ def _has_text_content(self, response: "AnthropicMessagesResponse") -> bool:
+ """
+ Check if response has any text content to process.
+
+ Override this method to customize text content detection.
+ """
+ response_content = response.get("content", [])
+ if not response_content:
+ return False
+ for content_block in response_content:
+ # Check if this is a text block by checking the 'type' field
+ if isinstance(content_block, dict) and content_block.get("type") == "text":
+ content_text = content_block.get("text")
+ if content_text and isinstance(content_text, str):
+ return True
+ return False
+
+ async def _extract_output_text_and_create_tasks(
+ self,
+ content_block: Dict[str, Any],
+ content_idx: int,
+ tasks: List,
+ task_mappings: List[Tuple[int, Optional[int]]],
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> None:
+ """
+ Extract text content from a response choice and create guardrail tasks.
+
+ Override this method to customize text extraction logic.
+ """
+ content_text = content_block.get("text")
+ if content_text and isinstance(content_text, str):
+ # Simple string content
+ tasks.append(guardrail_to_apply.apply_guardrail(text=content_text))
+ task_mappings.append((content_idx, None))
+
+ async def _apply_guardrail_responses_to_output(
+ self,
+ response: "AnthropicMessagesResponse",
+ responses: List[str],
+ task_mappings: List[Tuple[int, Optional[int]]],
+ ) -> None:
+ """
+ Apply guardrail responses back to output response.
+
+ Override this method to customize how responses are applied.
+ """
+ for task_idx, guardrail_response in enumerate(responses):
+ mapping = task_mappings[task_idx]
+ content_idx = cast(int, mapping[0])
+
+ response_content = response.get("content", [])
+ if not response_content:
+ continue
+
+ # Get the content block at the index
+ if content_idx >= len(response_content):
+ continue
+
+ content_block = response_content[content_idx]
+
+ # Verify it's a text block and update the text field
+ if isinstance(content_block, dict) and content_block.get("type") == "text":
+ # Cast to dict to handle the union type properly for assignment
+ content_block = cast("AnthropicResponseTextBlock", content_block)
+ content_block["text"] = guardrail_response
diff --git a/litellm/llms/base_llm/guardrail_translation/base_translation.py b/litellm/llms/base_llm/guardrail_translation/base_translation.py
new file mode 100644
index 00000000000..4599af1b745
--- /dev/null
+++ b/litellm/llms/base_llm/guardrail_translation/base_translation.py
@@ -0,0 +1,23 @@
+from abc import ABC, abstractmethod
+from typing import TYPE_CHECKING, Any
+
+if TYPE_CHECKING:
+ from litellm.integrations.custom_guardrail import CustomGuardrail
+
+
+class BaseTranslation(ABC):
+ @abstractmethod
+ async def process_input_messages(
+ self,
+ data: dict,
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ pass
+
+ @abstractmethod
+ async def process_output_response(
+ self,
+ response: Any,
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ pass
diff --git a/litellm/llms/cohere/rerank/guardrail_translation/README.md b/litellm/llms/cohere/rerank/guardrail_translation/README.md
new file mode 100644
index 00000000000..e77e5a74dd0
--- /dev/null
+++ b/litellm/llms/cohere/rerank/guardrail_translation/README.md
@@ -0,0 +1,229 @@
+# Cohere Rerank Guardrail Translation Handler
+
+Handler for processing the rerank endpoint (`/v1/rerank`) with guardrails.
+
+## Overview
+
+This handler processes rerank requests by:
+1. Extracting the query text from the request
+2. Applying guardrails to the query
+3. Updating the request with the guardrailed query
+4. Returning the output unchanged (rankings are not text)
+
+Note: Documents are not processed by guardrails as they represent the corpus
+being searched, not user input. Only the query is guardrailed.
+
+## Data Format
+
+### Input Format
+
+**With String Documents:**
+```json
+{
+ "model": "rerank-english-v3.0",
+ "query": "What is the capital of France?",
+ "documents": [
+ "Paris is the capital of France.",
+ "Berlin is the capital of Germany.",
+ "Madrid is the capital of Spain."
+ ],
+ "top_n": 2
+}
+```
+
+**With Dict Documents:**
+```json
+{
+ "model": "rerank-english-v3.0",
+ "query": "What is the capital of France?",
+ "documents": [
+ {"text": "Paris is the capital of France.", "id": "doc1"},
+ {"text": "Berlin is the capital of Germany.", "id": "doc2"},
+ {"text": "Madrid is the capital of Spain.", "id": "doc3"}
+ ],
+ "top_n": 2
+}
+```
+
+### Output Format
+
+```json
+{
+ "id": "rerank-abc123",
+ "results": [
+ {"index": 0, "relevance_score": 0.98},
+ {"index": 2, "relevance_score": 0.12}
+ ],
+ "meta": {
+ "billed_units": {"search_units": 1}
+ }
+}
+```
+
+## Usage
+
+The handler is automatically discovered and applied when guardrails are used with the rerank endpoint.
+
+### Example: Using Guardrails with Rerank
+
+```bash
+curl -X POST 'http://localhost:4000/v1/rerank' \
+-H 'Content-Type: application/json' \
+-H 'Authorization: Bearer your-api-key' \
+-d '{
+ "model": "rerank-english-v3.0",
+ "query": "What is machine learning?",
+ "documents": [
+ "Machine learning is a subset of AI.",
+ "Deep learning uses neural networks.",
+ "Python is a programming language."
+ ],
+ "guardrails": ["content_filter"],
+ "top_n": 2
+}'
+```
+
+The guardrail will be applied to the query only (not the documents).
+
+### Example: PII Masking in Query
+
+```bash
+curl -X POST 'http://localhost:4000/v1/rerank' \
+-H 'Content-Type: application/json' \
+-H 'Authorization: Bearer your-api-key' \
+-d '{
+ "model": "rerank-english-v3.0",
+ "query": "Find documents about John Doe from [email protected]",
+ "documents": [
+ "Document 1 content here.",
+ "Document 2 content here.",
+ "Document 3 content here."
+ ],
+ "guardrails": ["mask_pii"],
+ "top_n": 3
+}'
+```
+
+The query will be masked to: "Find documents about [NAME_REDACTED] from [EMAIL_REDACTED]"
+
+### Example: Mixed Document Types
+
+```bash
+curl -X POST 'http://localhost:4000/v1/rerank' \
+-H 'Content-Type: application/json' \
+-H 'Authorization: Bearer your-api-key' \
+-d '{
+ "model": "rerank-english-v3.0",
+ "query": "Technical documentation",
+ "documents": [
+ {"text": "This is document 1", "metadata": {"source": "wiki"}},
+ {"text": "This is document 2", "metadata": {"source": "docs"}},
+ "This is document 3 as a plain string"
+ ],
+ "guardrails": ["content_moderation"]
+}'
+```
+
+## Implementation Details
+
+### Input Processing
+
+- **Query Field**: `query` (string)
+ - Processing: Apply guardrail to query text
+ - Result: Updated query
+
+- **Documents Field**: `documents` (list)
+ - Processing: Not processed (corpus being searched, not user input)
+ - Result: Unchanged
+
+### Output Processing
+
+- **Processing**: Not applicable (output contains relevance scores, not text)
+- **Result**: Response returned unchanged
+
+## Use Cases
+
+1. **PII Protection**: Remove PII from queries before reranking
+2. **Content Filtering**: Filter inappropriate content from search queries
+3. **Compliance**: Ensure queries meet requirements
+4. **Data Sanitization**: Clean up query text before semantic search operations
+
+## Extension
+
+Override these methods to customize behavior:
+
+- `process_input_messages()`: Customize how query is processed
+- `process_output_response()`: Currently a no-op, but can be overridden if needed
+
+## Supported Call Types
+
+- `CallTypes.rerank` - Synchronous rerank
+- `CallTypes.arerank` - Asynchronous rerank
+
+## Notes
+
+- Only the query is processed by guardrails
+- Documents are not processed (they represent the corpus, not user input)
+- Output processing is a no-op since rankings don't contain text
+- Both sync and async call types use the same handler
+- Works with all rerank providers (Cohere, Together AI, etc.)
+
+## Common Patterns
+
+### PII Masking in Search
+
+```python
+import litellm
+
+response = litellm.rerank(
+ model="rerank-english-v3.0",
+ query="Find info about [email protected]",
+ documents=[
+ "Document 1 content.",
+ "Document 2 content.",
+ "Document 3 content."
+ ],
+ guardrails=["mask_pii"],
+ top_n=2
+)
+
+# Query will have PII masked
+# query becomes: "Find info about [EMAIL_REDACTED]"
+print(response.results)
+```
+
+### Content Filtering
+
+```python
+import litellm
+
+response = litellm.rerank(
+ model="rerank-english-v3.0",
+ query="Search query here",
+ documents=[
+ {"text": "Document 1 content", "id": "doc1"},
+ {"text": "Document 2 content", "id": "doc2"},
+ ],
+ guardrails=["content_filter"],
+)
+```
+
+### Async Rerank with Guardrails
+
+```python
+import litellm
+import asyncio
+
+async def rerank_with_guardrails():
+ response = await litellm.arerank(
+ model="rerank-english-v3.0",
+ query="Technical query",
+ documents=["Doc 1", "Doc 2", "Doc 3"],
+ guardrails=["sanitize"],
+ top_n=2
+ )
+ return response
+
+result = asyncio.run(rerank_with_guardrails())
+```
+
diff --git a/litellm/llms/cohere/rerank/guardrail_translation/__init__.py b/litellm/llms/cohere/rerank/guardrail_translation/__init__.py
new file mode 100644
index 00000000000..70b580facf5
--- /dev/null
+++ b/litellm/llms/cohere/rerank/guardrail_translation/__init__.py
@@ -0,0 +1,11 @@
+"""Cohere Rerank handler for Unified Guardrails."""
+
+from litellm.llms.cohere.rerank.guardrail_translation.handler import CohereRerankHandler
+from litellm.types.utils import CallTypes
+
+guardrail_translation_mappings = {
+ CallTypes.rerank: CohereRerankHandler,
+ CallTypes.arerank: CohereRerankHandler,
+}
+
+__all__ = ["guardrail_translation_mappings", "CohereRerankHandler"]
diff --git a/litellm/llms/cohere/rerank/guardrail_translation/handler.py b/litellm/llms/cohere/rerank/guardrail_translation/handler.py
new file mode 100644
index 00000000000..0c5e50dc41e
--- /dev/null
+++ b/litellm/llms/cohere/rerank/guardrail_translation/handler.py
@@ -0,0 +1,90 @@
+"""
+Cohere Rerank Handler for Unified Guardrails
+
+This module provides guardrail translation support for the rerank endpoint.
+The handler processes only the 'query' parameter for guardrails.
+"""
+
+from typing import TYPE_CHECKING, Any
+
+from litellm._logging import verbose_proxy_logger
+from litellm.llms.base_llm.guardrail_translation.base_translation import BaseTranslation
+
+if TYPE_CHECKING:
+ from litellm.integrations.custom_guardrail import CustomGuardrail
+ from litellm.types.rerank import RerankResponse
+
+
+class CohereRerankHandler(BaseTranslation):
+ """
+ Handler for processing rerank requests with guardrails.
+
+ This class provides methods to:
+ 1. Process input query (pre-call hook)
+ 2. Process output response (post-call hook) - not applicable for rerank
+
+ The handler specifically processes:
+ - The 'query' parameter (string)
+
+ Note: Documents are not processed by guardrails as they are the corpus
+ being searched, not user input.
+ """
+
+ async def process_input_messages(
+ self,
+ data: dict,
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process input query by applying guardrails.
+
+ Args:
+ data: Request data dictionary containing 'query'
+ guardrail_to_apply: The guardrail instance to apply
+
+ Returns:
+ Modified data with guardrails applied to query only
+ """
+ # Process query only
+ query = data.get("query")
+ if query is not None and isinstance(query, str):
+ guardrailed_query = await guardrail_to_apply.apply_guardrail(text=query)
+ data["query"] = guardrailed_query
+
+ verbose_proxy_logger.debug(
+ "Rerank: Applied guardrail to query. "
+ "Original length: %d, New length: %d",
+ len(query),
+ len(guardrailed_query),
+ )
+ else:
+ verbose_proxy_logger.debug(
+ "Rerank: No query to process or query is not a string"
+ )
+
+ return data
+
+ async def process_output_response(
+ self,
+ response: "RerankResponse",
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process output response - not applicable for rerank.
+
+ Rerank responses contain relevance scores and indices, not text,
+ so there's nothing to apply guardrails to. This method returns
+ the response unchanged.
+
+ Args:
+ response: Rerank response object with rankings
+ guardrail_to_apply: The guardrail instance (unused)
+
+ Returns:
+ Unmodified response (rankings don't need text guardrails)
+ """
+ verbose_proxy_logger.debug(
+ "Rerank: Output processing not applicable "
+ "(output contains relevance scores, not text)"
+ )
+ return response
diff --git a/litellm/llms/openai/chat/guardrail_translation/README.md b/litellm/llms/openai/chat/guardrail_translation/README.md
new file mode 100644
index 00000000000..05e3b55e54c
--- /dev/null
+++ b/litellm/llms/openai/chat/guardrail_translation/README.md
@@ -0,0 +1,3 @@
+Translation of OpenAI `/chat/completions` input and output to a custom guardrail.
+
+This enables guardrails to be applied to OpenAI `/chat/completions` requests and responses.
\ No newline at end of file
diff --git a/litellm/llms/openai/chat/guardrail_translation/__init__.py b/litellm/llms/openai/chat/guardrail_translation/__init__.py
new file mode 100644
index 00000000000..b0682aa4758
--- /dev/null
+++ b/litellm/llms/openai/chat/guardrail_translation/__init__.py
@@ -0,0 +1,12 @@
+"""OpenAI Chat Completions message handler for Unified Guardrails."""
+
+from litellm.llms.openai.chat.guardrail_translation.handler import (
+ OpenAIChatCompletionsHandler,
+)
+from litellm.types.utils import CallTypes
+
+guardrail_translation_mappings = {
+ CallTypes.completion: OpenAIChatCompletionsHandler,
+ CallTypes.acompletion: OpenAIChatCompletionsHandler,
+}
+__all__ = ["guardrail_translation_mappings"]
diff --git a/litellm/llms/openai/chat/guardrail_translation/handler.py b/litellm/llms/openai/chat/guardrail_translation/handler.py
new file mode 100644
index 00000000000..12d8cfad23a
--- /dev/null
+++ b/litellm/llms/openai/chat/guardrail_translation/handler.py
@@ -0,0 +1,280 @@
+"""
+OpenAI Chat Completions Message Handler for Unified Guardrails
+
+This module provides a class-based handler for OpenAI-format chat completions.
+The class methods can be overridden for custom behavior.
+
+Pattern Overview:
+-----------------
+1. Extract text content from messages/responses (both string and list formats)
+2. Create async tasks to apply guardrails to each text segment
+3. Track mappings to know where each response belongs
+4. Apply guardrail responses back to the original structure
+
+This pattern can be replicated for other message formats (e.g., Anthropic).
+"""
+
+import asyncio
+from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple, cast
+
+import litellm
+from litellm._logging import verbose_proxy_logger
+from litellm.llms.base_llm.guardrail_translation.base_translation import BaseTranslation
+from litellm.types.utils import Choices
+
+if TYPE_CHECKING:
+ from litellm.integrations.custom_guardrail import CustomGuardrail
+ from litellm.types.utils import ModelResponse
+
+
+class OpenAIChatCompletionsHandler(BaseTranslation):
+ """
+ Handler for processing OpenAI chat completions messages with guardrails.
+
+ This class provides methods to:
+ 1. Process input messages (pre-call hook)
+ 2. Process output responses (post-call hook)
+
+ Methods can be overridden to customize behavior for different message formats.
+ """
+
+ async def process_input_messages(
+ self,
+ data: dict,
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process input messages by applying guardrails to text content.
+ """
+ messages = data.get("messages")
+ if messages is None:
+ return data
+
+ tasks = []
+ task_mappings: List[Tuple[int, Optional[int]]] = []
+ # Track (message_index, content_index) for each task
+ # content_index is None for string content, int for list content
+
+ # Step 1: Extract all text content and create guardrail tasks
+ for msg_idx, message in enumerate(messages):
+ await self._extract_input_text_and_create_tasks(
+ message=message,
+ msg_idx=msg_idx,
+ tasks=tasks,
+ task_mappings=task_mappings,
+ guardrail_to_apply=guardrail_to_apply,
+ )
+
+ # Step 2: Run all guardrail tasks in parallel
+ responses = await asyncio.gather(*tasks)
+
+ # Step 3: Map guardrail responses back to original message structure
+ await self._apply_guardrail_responses_to_input(
+ messages=messages,
+ responses=responses,
+ task_mappings=task_mappings,
+ )
+
+ verbose_proxy_logger.debug(
+ "OpenAI Chat Completions: Processed input messages: %s", messages
+ )
+
+ return data
+
+ async def _extract_input_text_and_create_tasks(
+ self,
+ message: Dict[str, Any],
+ msg_idx: int,
+ tasks: List,
+ task_mappings: List[Tuple[int, Optional[int]]],
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> None:
+ """
+ Extract text content from a message and create guardrail tasks.
+
+ Override this method to customize text extraction logic.
+ """
+ content = message.get("content", None)
+ if content is None:
+ return
+
+ if isinstance(content, str):
+ # Simple string content
+ tasks.append(guardrail_to_apply.apply_guardrail(text=content))
+ task_mappings.append((msg_idx, None))
+
+ elif isinstance(content, list):
+ # List content (e.g., multimodal with text and images)
+ for content_idx, content_item in enumerate(content):
+ text_str = content_item.get("text", None)
+ if text_str is None:
+ continue
+ tasks.append(guardrail_to_apply.apply_guardrail(text=text_str))
+ task_mappings.append((msg_idx, int(content_idx)))
+
+ async def _apply_guardrail_responses_to_input(
+ self,
+ messages: List[Dict[str, Any]],
+ responses: List[str],
+ task_mappings: List[Tuple[int, Optional[int]]],
+ ) -> None:
+ """
+ Apply guardrail responses back to input messages.
+
+ Override this method to customize how responses are applied.
+ """
+ for task_idx, guardrail_response in enumerate(responses):
+ mapping = task_mappings[task_idx]
+ msg_idx = cast(int, mapping[0])
+ content_idx_optional = cast(Optional[int], mapping[1])
+
+ content = messages[msg_idx].get("content", None)
+ if content is None:
+ continue
+
+ if isinstance(content, str) and content_idx_optional is None:
+ # Replace string content with guardrail response
+ messages[msg_idx]["content"] = guardrail_response
+
+ elif isinstance(content, list) and content_idx_optional is not None:
+ # Replace specific text item in list content
+ messages[msg_idx]["content"][content_idx_optional][
+ "text"
+ ] = guardrail_response
+
+ async def process_output_response(
+ self,
+ response: "ModelResponse",
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process output response by applying guardrails to text content.
+
+ Args:
+ response: LiteLLM ModelResponse object
+ guardrail_to_apply: The guardrail instance to apply
+
+ Returns:
+ Modified response with guardrail applied to content
+
+ Response Format Support:
+ - String content: choice.message.content = "text here"
+ - List content: choice.message.content = [{"type": "text", "text": "text here"}, ...]
+ """
+ # Step 0: Check if response has any text content to process
+ if not self._has_text_content(response):
+ verbose_proxy_logger.warning(
+ "OpenAI Chat Completions: No text content in response, skipping guardrail"
+ )
+ return response
+
+ tasks = []
+ task_mappings: List[Tuple[int, Optional[int]]] = []
+ # Track (choice_index, content_index) for each task
+
+ # Step 1: Extract all text content from response choices
+ for choice_idx, choice in enumerate(response.choices):
+ await self._extract_output_text_and_create_tasks(
+ choice=choice,
+ choice_idx=choice_idx,
+ tasks=tasks,
+ task_mappings=task_mappings,
+ guardrail_to_apply=guardrail_to_apply,
+ )
+
+ # Step 2: Run all guardrail tasks in parallel
+ responses = await asyncio.gather(*tasks)
+
+ # Step 3: Map guardrail responses back to original response structure
+ await self._apply_guardrail_responses_to_output(
+ response=response,
+ responses=responses,
+ task_mappings=task_mappings,
+ )
+
+ verbose_proxy_logger.debug(
+ "OpenAI Chat Completions: Processed output response: %s", response
+ )
+
+ return response
+
+ def _has_text_content(self, response: "ModelResponse") -> bool:
+ """
+ Check if response has any text content to process.
+
+ Override this method to customize text content detection.
+ """
+ for choice in response.choices:
+ if isinstance(choice, litellm.Choices):
+ if choice.message.content and isinstance(choice.message.content, str):
+ return True
+ return False
+
+ async def _extract_output_text_and_create_tasks(
+ self,
+ choice: Any,
+ choice_idx: int,
+ tasks: List,
+ task_mappings: List[Tuple[int, Optional[int]]],
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> None:
+ """
+ Extract text content from a response choice and create guardrail tasks.
+
+ Override this method to customize text extraction logic.
+ """
+ if not isinstance(choice, litellm.Choices):
+ return
+
+ verbose_proxy_logger.debug(
+ "OpenAI Chat Completions: Processing choice: %s", choice
+ )
+
+ if choice.message.content and isinstance(choice.message.content, str):
+ # Simple string content
+ tasks.append(
+ guardrail_to_apply.apply_guardrail(text=choice.message.content)
+ )
+ task_mappings.append((choice_idx, None))
+
+ elif choice.message.content and isinstance(choice.message.content, list):
+ # List content (e.g., multimodal response)
+ for content_idx, content_item in enumerate(choice.message.content):
+ content_text = content_item.get("text")
+ if content_text:
+ tasks.append(guardrail_to_apply.apply_guardrail(text=content_text))
+ task_mappings.append((choice_idx, int(content_idx)))
+
+ async def _apply_guardrail_responses_to_output(
+ self,
+ response: "ModelResponse",
+ responses: List[str],
+ task_mappings: List[Tuple[int, Optional[int]]],
+ ) -> None:
+ """
+ Apply guardrail responses back to output response.
+
+ Override this method to customize how responses are applied.
+ """
+ for task_idx, guardrail_response in enumerate(responses):
+ mapping = task_mappings[task_idx]
+ choice_idx = cast(int, mapping[0])
+ content_idx_optional = cast(Optional[int], mapping[1])
+
+ content = cast(Choices, response.choices[choice_idx]).message.content
+ if content is None:
+ continue
+
+ if isinstance(content, str) and content_idx_optional is None:
+ # Replace string content with guardrail response
+ cast(Choices, response.choices[choice_idx]).message.content = (
+ guardrail_response
+ )
+
+ elif isinstance(content, list) and content_idx_optional is not None:
+ # Replace specific text item in list content
+ cast(Choices, response.choices[choice_idx]).message.content[ # type: ignore
+ content_idx_optional
+ ][
+ "text"
+ ] = guardrail_response
diff --git a/litellm/llms/openai/completion/guardrail_translation/README.md b/litellm/llms/openai/completion/guardrail_translation/README.md
new file mode 100644
index 00000000000..93762206c47
--- /dev/null
+++ b/litellm/llms/openai/completion/guardrail_translation/README.md
@@ -0,0 +1,158 @@
+# OpenAI Text Completion Guardrail Translation Handler
+
+Handler for processing OpenAI's text completion endpoint (`/v1/completions`) with guardrails.
+
+## Overview
+
+This handler processes text completion requests by:
+1. Extracting the text prompt(s) from the request
+2. Applying guardrails to the prompt text(s)
+3. Updating the request with the guardrailed prompt(s)
+4. Applying guardrails to the completion output text
+
+## Data Format
+
+### Input Format
+
+**Single Prompt:**
+```json
+{
+ "model": "gpt-3.5-turbo-instruct",
+ "prompt": "Say this is a test",
+ "max_tokens": 7,
+ "temperature": 0
+}
+```
+
+**Multiple Prompts (Batch):**
+```json
+{
+ "model": "gpt-3.5-turbo-instruct",
+ "prompt": [
+ "Tell me a joke",
+ "Write a poem"
+ ],
+ "max_tokens": 50
+}
+```
+
+### Output Format
+
+```json
+{
+ "id": "cmpl-uqkvlQyYK7bGYrRHQ0eXlWi7",
+ "object": "text_completion",
+ "created": 1589478378,
+ "model": "gpt-3.5-turbo-instruct",
+ "choices": [
+ {
+ "text": "\n\nThis is indeed a test",
+ "index": 0,
+ "logprobs": null,
+ "finish_reason": "length"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 5,
+ "completion_tokens": 7,
+ "total_tokens": 12
+ }
+}
+```
+
+## Usage
+
+The handler is automatically discovered and applied when guardrails are used with the text completion endpoint.
+
+### Example: Using Guardrails with Text Completion
+
+```bash
+curl -X POST 'http://localhost:4000/v1/completions' \
+-H 'Content-Type: application/json' \
+-H 'Authorization: Bearer your-api-key' \
+-d '{
+ "model": "gpt-3.5-turbo-instruct",
+ "prompt": "Say this is a test",
+ "guardrails": ["content_moderation"],
+ "max_tokens": 7
+}'
+```
+
+The guardrail will be applied to both:
+- **Input**: The prompt text before sending to the LLM
+- **Output**: The completion text in the response
+
+### Example: PII Masking in Prompts and Completions
+
+```bash
+curl -X POST 'http://localhost:4000/v1/completions' \
+-H 'Content-Type: application/json' \
+-H 'Authorization: Bearer your-api-key' \
+-d '{
+ "model": "gpt-3.5-turbo-instruct",
+ "prompt": "My name is John Doe and my email is [email protected]",
+ "guardrails": ["mask_pii"],
+ "metadata": {
+ "guardrails": ["mask_pii"]
+ }
+}'
+```
+
+### Example: Batch Prompts with Guardrails
+
+```bash
+curl -X POST 'http://localhost:4000/v1/completions' \
+-H 'Content-Type: application/json' \
+-H 'Authorization: Bearer your-api-key' \
+-d '{
+ "model": "gpt-3.5-turbo-instruct",
+ "prompt": [
+ "Tell me about AI",
+ "What is machine learning?"
+ ],
+ "guardrails": ["content_filter"],
+ "max_tokens": 100
+}'
+```
+
+## Implementation Details
+
+### Input Processing
+
+- **Field**: `prompt` (string or list of strings)
+- **Processing**:
+ - String prompts: Apply guardrail directly
+ - List prompts: Apply guardrail to each string in the list
+- **Result**: Updated prompt(s) in request
+
+### Output Processing
+
+- **Field**: `choices[*].text` (string)
+- **Processing**: Applies guardrail to each completion text
+- **Result**: Updated completion texts in response
+
+### Supported Prompt Types
+
+1. **String**: Single prompt as a string
+2. **List of Strings**: Multiple prompts for batch completion
+3. **List of Lists**: Token-based prompts (passed through unchanged)
+
+## Extension
+
+Override these methods to customize behavior:
+
+- `process_input_messages()`: Customize how prompts are processed
+- `process_output_response()`: Customize how completion texts are processed
+
+## Supported Call Types
+
+- `CallTypes.text_completion` - Synchronous text completion
+- `CallTypes.atext_completion` - Asynchronous text completion
+
+## Notes
+
+- The handler processes both input prompts and output completion texts
+- List prompts are processed individually (each string in the list)
+- Non-string prompt items (e.g., token lists) are passed through unchanged
+- Both sync and async call types use the same handler
+
diff --git a/litellm/llms/openai/completion/guardrail_translation/__init__.py b/litellm/llms/openai/completion/guardrail_translation/__init__.py
new file mode 100644
index 00000000000..51e43c45937
--- /dev/null
+++ b/litellm/llms/openai/completion/guardrail_translation/__init__.py
@@ -0,0 +1,13 @@
+"""OpenAI Text Completion handler for Unified Guardrails."""
+
+from litellm.llms.openai.completion.guardrail_translation.handler import (
+ OpenAITextCompletionHandler,
+)
+from litellm.types.utils import CallTypes
+
+guardrail_translation_mappings = {
+ CallTypes.text_completion: OpenAITextCompletionHandler,
+ CallTypes.atext_completion: OpenAITextCompletionHandler,
+}
+
+__all__ = ["guardrail_translation_mappings", "OpenAITextCompletionHandler"]
diff --git a/litellm/llms/openai/completion/guardrail_translation/handler.py b/litellm/llms/openai/completion/guardrail_translation/handler.py
new file mode 100644
index 00000000000..b5db730620e
--- /dev/null
+++ b/litellm/llms/openai/completion/guardrail_translation/handler.py
@@ -0,0 +1,137 @@
+"""
+OpenAI Text Completion Handler for Unified Guardrails
+
+This module provides guardrail translation support for OpenAI's text completion endpoint.
+The handler processes the 'prompt' parameter for guardrails.
+"""
+
+from typing import TYPE_CHECKING, Any
+
+from litellm._logging import verbose_proxy_logger
+from litellm.llms.base_llm.guardrail_translation.base_translation import BaseTranslation
+
+if TYPE_CHECKING:
+ from litellm.integrations.custom_guardrail import CustomGuardrail
+ from litellm.types.utils import TextCompletionResponse
+
+
+class OpenAITextCompletionHandler(BaseTranslation):
+ """
+ Handler for processing OpenAI text completion requests with guardrails.
+
+ This class provides methods to:
+ 1. Process input prompt (pre-call hook)
+ 2. Process output response (post-call hook)
+
+ The handler specifically processes the 'prompt' parameter which can be:
+ - A single string
+ - A list of strings (for batch completions)
+ """
+
+ async def process_input_messages(
+ self,
+ data: dict,
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process input prompt by applying guardrails to text content.
+
+ Args:
+ data: Request data dictionary containing 'prompt' parameter
+ guardrail_to_apply: The guardrail instance to apply
+
+ Returns:
+ Modified data with guardrails applied to prompt
+ """
+ prompt = data.get("prompt")
+ if prompt is None:
+ verbose_proxy_logger.debug(
+ "OpenAI Text Completion: No prompt found in request data"
+ )
+ return data
+
+ if isinstance(prompt, str):
+ # Single string prompt
+ guardrailed_prompt = await guardrail_to_apply.apply_guardrail(text=prompt)
+ data["prompt"] = guardrailed_prompt
+
+ verbose_proxy_logger.debug(
+ "OpenAI Text Completion: Applied guardrail to string prompt. "
+ "Original length: %d, New length: %d",
+ len(prompt),
+ len(guardrailed_prompt),
+ )
+
+ elif isinstance(prompt, list):
+ # List of string prompts (batch completion)
+ guardrailed_prompts = []
+ for idx, p in enumerate(prompt):
+ if isinstance(p, str):
+ guardrailed_p = await guardrail_to_apply.apply_guardrail(text=p)
+ guardrailed_prompts.append(guardrailed_p)
+ verbose_proxy_logger.debug(
+ "OpenAI Text Completion: Applied guardrail to prompt[%d]. "
+ "Original length: %d, New length: %d",
+ idx,
+ len(p),
+ len(guardrailed_p),
+ )
+ else:
+ # For non-string items (e.g., token lists), keep unchanged
+ guardrailed_prompts.append(p)
+ verbose_proxy_logger.debug(
+ "OpenAI Text Completion: Skipping guardrail for prompt[%d] "
+ "(not a string, type: %s)",
+ idx,
+ type(p),
+ )
+
+ data["prompt"] = guardrailed_prompts
+
+ else:
+ verbose_proxy_logger.warning(
+ "OpenAI Text Completion: Unexpected prompt type: %s. Expected string or list.",
+ type(prompt),
+ )
+
+ return data
+
+ async def process_output_response(
+ self,
+ response: "TextCompletionResponse",
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process output response by applying guardrails to completion text.
+
+ Args:
+ response: Text completion response object
+ guardrail_to_apply: The guardrail instance to apply
+
+ Returns:
+ Modified response with guardrails applied to completion text
+ """
+ if not hasattr(response, "choices") or not response.choices:
+ verbose_proxy_logger.debug(
+ "OpenAI Text Completion: No choices in response to process"
+ )
+ return response
+
+ # Apply guardrails to each choice's text
+ for idx, choice in enumerate(response.choices):
+ if hasattr(choice, "text") and isinstance(choice.text, str):
+ original_text = choice.text
+ guardrailed_text = await guardrail_to_apply.apply_guardrail(
+ text=original_text
+ )
+ choice.text = guardrailed_text
+
+ verbose_proxy_logger.debug(
+ "OpenAI Text Completion: Applied guardrail to choice[%d] text. "
+ "Original length: %d, New length: %d",
+ idx,
+ len(original_text),
+ len(guardrailed_text),
+ )
+
+ return response
diff --git a/litellm/llms/openai/image_generation/__init__.py b/litellm/llms/openai/image_generation/__init__.py
index eb2a0576b66..e20c80f20bb 100644
--- a/litellm/llms/openai/image_generation/__init__.py
+++ b/litellm/llms/openai/image_generation/__init__.py
@@ -5,11 +5,17 @@ from litellm.llms.base_llm.image_generation.transformation import (
from .dall_e_2_transformation import DallE2ImageGenerationConfig
from .dall_e_3_transformation import DallE3ImageGenerationConfig
from .gpt_transformation import GPTImageGenerationConfig
+from .guardrail_translation import (
+ OpenAIImageGenerationHandler,
+ guardrail_translation_mappings,
+)
__all__ = [
"DallE2ImageGenerationConfig",
"DallE3ImageGenerationConfig",
"GPTImageGenerationConfig",
+ "OpenAIImageGenerationHandler",
+ "guardrail_translation_mappings",
]
diff --git a/litellm/llms/openai/image_generation/guardrail_translation/README.md b/litellm/llms/openai/image_generation/guardrail_translation/README.md
new file mode 100644
index 00000000000..fcbd2d154de
--- /dev/null
+++ b/litellm/llms/openai/image_generation/guardrail_translation/README.md
@@ -0,0 +1,106 @@
+# OpenAI Image Generation Guardrail Translation Handler
+
+Handler for processing OpenAI's image generation endpoint with guardrails.
+
+## Overview
+
+This handler processes image generation requests by:
+1. Extracting the text prompt from the request
+2. Applying guardrails to the prompt text
+3. Updating the request with the guardrailed prompt
+
+## Data Format
+
+### Input Format
+
+```json
+{
+ "model": "dall-e-3",
+ "prompt": "A cute baby sea otter",
+ "n": 1,
+ "size": "1024x1024",
+ "quality": "standard"
+}
+```
+
+### Output Format
+
+```json
+{
+ "created": 1589478378,
+ "data": [
+ {
+ "url": "https://...",
+ "revised_prompt": "A cute baby sea otter..."
+ }
+ ]
+}
+```
+
+## Usage
+
+The handler is automatically discovered and applied when guardrails are used with the image generation endpoint.
+
+### Example: Using Guardrails with Image Generation
+
+```bash
+curl -X POST 'http://localhost:4000/v1/images/generations' \
+-H 'Content-Type: application/json' \
+-H 'Authorization: Bearer your-api-key' \
+-d '{
+ "model": "dall-e-3",
+ "prompt": "A cute baby sea otter wearing a hat",
+ "guardrails": ["content_moderation"],
+ "size": "1024x1024"
+}'
+```
+
+The guardrail will be applied to the prompt text before the image generation request is sent to the provider.
+
+### Example: PII Masking in Prompts
+
+```bash
+curl -X POST 'http://localhost:4000/v1/images/generations' \
+-H 'Content-Type: application/json' \
+-H 'Authorization: Bearer your-api-key' \
+-d '{
+ "model": "dall-e-3",
+ "prompt": "Generate an image of John Doe at [email protected]",
+ "guardrails": ["mask_pii"],
+ "metadata": {
+ "guardrails": ["mask_pii"]
+ }
+}'
+```
+
+## Implementation Details
+
+### Input Processing
+
+- **Field**: `prompt` (string)
+- **Processing**: Applies guardrail to prompt text
+- **Result**: Updated prompt in request
+
+### Output Processing
+
+- **Processing**: Not applicable (images don't contain text to guardrail)
+- **Result**: Response returned unchanged
+
+## Extension
+
+Override these methods to customize behavior:
+
+- `process_input_messages()`: Customize how the prompt is processed
+- `process_output_response()`: Add custom processing for image metadata if needed
+
+## Supported Call Types
+
+- `CallTypes.image_generation` - Synchronous image generation
+- `CallTypes.aimage_generation` - Asynchronous image generation
+
+## Notes
+
+- The handler only processes the `prompt` parameter
+- Output processing is a no-op since images don't contain text
+- Both sync and async call types use the same handler
+
diff --git a/litellm/llms/openai/image_generation/guardrail_translation/__init__.py b/litellm/llms/openai/image_generation/guardrail_translation/__init__.py
new file mode 100644
index 00000000000..1fba2a36927
--- /dev/null
+++ b/litellm/llms/openai/image_generation/guardrail_translation/__init__.py
@@ -0,0 +1,13 @@
+"""OpenAI Image Generation handler for Unified Guardrails."""
+
+from litellm.llms.openai.image_generation.guardrail_translation.handler import (
+ OpenAIImageGenerationHandler,
+)
+from litellm.types.utils import CallTypes
+
+guardrail_translation_mappings = {
+ CallTypes.image_generation: OpenAIImageGenerationHandler,
+ CallTypes.aimage_generation: OpenAIImageGenerationHandler,
+}
+
+__all__ = ["guardrail_translation_mappings", "OpenAIImageGenerationHandler"]
diff --git a/litellm/llms/openai/image_generation/guardrail_translation/handler.py b/litellm/llms/openai/image_generation/guardrail_translation/handler.py
new file mode 100644
index 00000000000..5fcb5278f01
--- /dev/null
+++ b/litellm/llms/openai/image_generation/guardrail_translation/handler.py
@@ -0,0 +1,93 @@
+"""
+OpenAI Image Generation Handler for Unified Guardrails
+
+This module provides guardrail translation support for OpenAI's image generation endpoint.
+The handler processes the 'prompt' parameter for guardrails.
+"""
+
+from typing import TYPE_CHECKING, Any
+
+from litellm._logging import verbose_proxy_logger
+from litellm.llms.base_llm.guardrail_translation.base_translation import BaseTranslation
+
+if TYPE_CHECKING:
+ from litellm.integrations.custom_guardrail import CustomGuardrail
+ from litellm.utils import ImageResponse
+
+
+class OpenAIImageGenerationHandler(BaseTranslation):
+ """
+ Handler for processing OpenAI image generation requests with guardrails.
+
+ This class provides methods to:
+ 1. Process input prompt (pre-call hook)
+ 2. Process output response (post-call hook) - typically not needed for images
+
+ The handler specifically processes the 'prompt' parameter which contains
+ the text description for image generation.
+ """
+
+ async def process_input_messages(
+ self,
+ data: dict,
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process input prompt by applying guardrails to text content.
+
+ Args:
+ data: Request data dictionary containing 'prompt' parameter
+ guardrail_to_apply: The guardrail instance to apply
+
+ Returns:
+ Modified data with guardrails applied to prompt
+ """
+ prompt = data.get("prompt")
+ if prompt is None:
+ verbose_proxy_logger.debug(
+ "OpenAI Image Generation: No prompt found in request data"
+ )
+ return data
+
+ # Apply guardrail to the prompt
+ if isinstance(prompt, str):
+ guardrailed_prompt = await guardrail_to_apply.apply_guardrail(text=prompt)
+ data["prompt"] = guardrailed_prompt
+
+ verbose_proxy_logger.debug(
+ "OpenAI Image Generation: Applied guardrail to prompt. "
+ "Original length: %d, New length: %d",
+ len(prompt),
+ len(guardrailed_prompt),
+ )
+ else:
+ verbose_proxy_logger.debug(
+ "OpenAI Image Generation: Unexpected prompt type: %s. Expected string.",
+ type(prompt),
+ )
+
+ return data
+
+ async def process_output_response(
+ self,
+ response: "ImageResponse",
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process output response - typically not needed for image generation.
+
+ Image responses don't contain text to apply guardrails to, so this
+ method returns the response unchanged. This is provided for completeness
+ and can be overridden if needed for custom image metadata processing.
+
+ Args:
+ response: Image generation response object
+ guardrail_to_apply: The guardrail instance to apply
+
+ Returns:
+ Unmodified response (images don't need text guardrails)
+ """
+ verbose_proxy_logger.debug(
+ "OpenAI Image Generation: Output processing not needed for image responses"
+ )
+ return response
diff --git a/litellm/llms/openai/responses/guardrail_translation/README.md b/litellm/llms/openai/responses/guardrail_translation/README.md
new file mode 100644
index 00000000000..bc1bd6f4f2c
--- /dev/null
+++ b/litellm/llms/openai/responses/guardrail_translation/README.md
@@ -0,0 +1,119 @@
+# OpenAI Responses API Guardrail Translation Handler
+
+This module provides guardrail translation support for the OpenAI Responses API format.
+
+## Overview
+
+The `OpenAIResponsesHandler` class handles the translation of guardrail operations for both input and output of the Responses API. It follows the same pattern as the Chat Completions handler but is adapted for the Responses API's specific data structures.
+
+## Responses API Format
+
+### Input Format
+The Responses API accepts input in two formats:
+
+1. **String input**: Simple text string
+ ```python
+ {"input": "Hello world", "model": "gpt-4"}
+ ```
+
+2. **List input**: Array of message objects (ResponseInputParam)
+ ```python
+ {
+ "input": [
+ {
+ "role": "user",
+ "content": "Hello", # Can be string or list of content items
+ "type": "message"
+ }
+ ],
+ "model": "gpt-4"
+ }
+ ```
+
+### Output Format
+The Responses API returns a `ResponsesAPIResponse` object with:
+
+```python
+{
+ "id": "resp_123",
+ "output": [
+ {
+ "type": "message",
+ "id": "msg_123",
+ "status": "completed",
+ "role": "assistant",
+ "content": [
+ {
+ "type": "output_text",
+ "text": "Assistant response",
+ "annotations": []
+ }
+ ]
+ }
+ ]
+}
+```
+
+## Usage
+
+The handler is automatically discovered and registered for `CallTypes.responses` and `CallTypes.aresponses`.
+
+### Example
+
+```python
+from litellm.llms import get_guardrail_translation_mapping
+from litellm.types.utils import CallTypes
+
+# Get the handler
+handler_class = get_guardrail_translation_mapping(CallTypes.responses)
+handler = handler_class()
+
+# Process input
+data = {"input": "User message", "model": "gpt-4"}
+processed_data = await handler.process_input_messages(data, guardrail_instance)
+
+# Process output
+response = await litellm.aresponses(**processed_data)
+processed_response = await handler.process_output_response(response, guardrail_instance)
+```
+
+## Key Methods
+
+### `process_input_messages(data, guardrail_to_apply)`
+Processes input data by:
+1. Handling both string and list input formats
+2. Extracting text content from messages
+3. Applying guardrails to text content in parallel
+4. Mapping guardrail responses back to the original structure
+
+### `process_output_response(response, guardrail_to_apply)`
+Processes output response by:
+1. Extracting text from output items' content
+2. Applying guardrails to all text content in parallel
+3. Replacing original text with guardrailed versions
+
+## Extending the Handler
+
+The handler can be customized by overriding these methods:
+
+- `_extract_input_text_and_create_tasks()`: Customize input text extraction logic
+- `_apply_guardrail_responses_to_input()`: Customize how guardrail responses are applied to input
+- `_extract_output_text_and_create_tasks()`: Customize output text extraction logic
+- `_apply_guardrail_responses_to_output()`: Customize how guardrail responses are applied to output
+- `_has_text_content()`: Customize text content detection
+
+## Testing
+
+Comprehensive tests are available in `tests/llm_translation/test_openai_responses_guardrail_handler.py`:
+
+```bash
+pytest tests/llm_translation/test_openai_responses_guardrail_handler.py -v
+```
+
+## Implementation Details
+
+- **Parallel Processing**: All text content is processed in parallel using `asyncio.gather()`
+- **Mapping Tracking**: Uses tuples to track the location of each text segment for accurate replacement
+- **Type Safety**: Handles both Pydantic objects and dict representations
+- **Multimodal Support**: Properly handles mixed content with text and other media types
+
diff --git a/litellm/llms/openai/responses/guardrail_translation/__init__.py b/litellm/llms/openai/responses/guardrail_translation/__init__.py
new file mode 100644
index 00000000000..d2d9e5375c1
--- /dev/null
+++ b/litellm/llms/openai/responses/guardrail_translation/__init__.py
@@ -0,0 +1,12 @@
+"""OpenAI Responses API handler for Unified Guardrails."""
+
+from litellm.llms.openai.responses.guardrail_translation.handler import (
+ OpenAIResponsesHandler,
+)
+from litellm.types.utils import CallTypes
+
+guardrail_translation_mappings = {
+ CallTypes.responses: OpenAIResponsesHandler,
+ CallTypes.aresponses: OpenAIResponsesHandler,
+}
+__all__ = ["guardrail_translation_mappings"]
diff --git a/litellm/llms/openai/responses/guardrail_translation/handler.py b/litellm/llms/openai/responses/guardrail_translation/handler.py
new file mode 100644
index 00000000000..40b1d73ddcb
--- /dev/null
+++ b/litellm/llms/openai/responses/guardrail_translation/handler.py
@@ -0,0 +1,332 @@
+"""
+OpenAI Responses API Handler for Unified Guardrails
+
+This module provides a class-based handler for OpenAI Responses API format.
+The class methods can be overridden for custom behavior.
+
+Pattern Overview:
+-----------------
+1. Extract text content from input/output (both string and list formats)
+2. Create async tasks to apply guardrails to each text segment
+3. Track mappings to know where each response belongs
+4. Apply guardrail responses back to the original structure
+
+Responses API Format:
+---------------------
+Input: Union[str, List[Dict]] where each dict has:
+ - role: str
+ - content: Union[str, List[Dict]] (can have text items)
+ - type: str (e.g., "message")
+
+Output: response.output is List[GenericResponseOutputItem] where each has:
+ - type: str (e.g., "message")
+ - id: str
+ - status: str
+ - role: str
+ - content: List[OutputText] where OutputText has:
+ - type: str (e.g., "output_text")
+ - text: str
+"""
+
+import asyncio
+from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple, Union, cast
+
+from litellm._logging import verbose_proxy_logger
+from litellm.llms.base_llm.guardrail_translation.base_translation import BaseTranslation
+from litellm.types.responses.main import GenericResponseOutputItem, OutputText
+
+if TYPE_CHECKING:
+ from litellm.integrations.custom_guardrail import CustomGuardrail
+ from litellm.types.llms.openai import ResponseInputParam
+ from litellm.types.utils import ResponsesAPIResponse
+
+
+class OpenAIResponsesHandler(BaseTranslation):
+ """
+ Handler for processing OpenAI Responses API with guardrails.
+
+ This class provides methods to:
+ 1. Process input (pre-call hook)
+ 2. Process output response (post-call hook)
+
+ Methods can be overridden to customize behavior for different message formats.
+ """
+
+ async def process_input_messages(
+ self,
+ data: dict,
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process input by applying guardrails to text content.
+
+ Handles both string input and list of message objects.
+ """
+ input_data: Optional[Union[str, "ResponseInputParam"]] = data.get("input")
+ if input_data is None:
+ return data
+
+ # Handle simple string input
+ if isinstance(input_data, str):
+ guardrail_response = await guardrail_to_apply.apply_guardrail(
+ text=input_data
+ )
+ data["input"] = guardrail_response
+ verbose_proxy_logger.debug("OpenAI Responses API: Processed string input")
+ return data
+
+ # Handle list input (ResponseInputParam)
+ if not isinstance(input_data, list):
+ return data
+
+ tasks = []
+ task_mappings: List[Tuple[int, Optional[int]]] = []
+ # Track (message_index, content_index) for each task
+ # content_index is None for string content, int for list content
+
+ # Step 1: Extract all text content and create guardrail tasks
+ for msg_idx, message in enumerate(input_data):
+ await self._extract_input_text_and_create_tasks(
+ message=message,
+ msg_idx=msg_idx,
+ tasks=tasks,
+ task_mappings=task_mappings,
+ guardrail_to_apply=guardrail_to_apply,
+ )
+
+ # Step 2: Run all guardrail tasks in parallel
+ if tasks:
+ responses = await asyncio.gather(*tasks)
+
+ # Step 3: Map guardrail responses back to original input structure
+ await self._apply_guardrail_responses_to_input(
+ messages=input_data,
+ responses=responses,
+ task_mappings=task_mappings,
+ )
+
+ verbose_proxy_logger.debug(
+ "OpenAI Responses API: Processed input messages: %s", input_data
+ )
+
+ return data
+
+ async def _extract_input_text_and_create_tasks(
+ self,
+ message: Dict[str, Any],
+ msg_idx: int,
+ tasks: List,
+ task_mappings: List[Tuple[int, Optional[int]]],
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> None:
+ """
+ Extract text content from an input message and create guardrail tasks.
+
+ Override this method to customize text extraction logic.
+ """
+ content = message.get("content", None)
+ if content is None:
+ return
+
+ if isinstance(content, str):
+ # Simple string content
+ tasks.append(guardrail_to_apply.apply_guardrail(text=content))
+ task_mappings.append((msg_idx, None))
+
+ elif isinstance(content, list):
+ # List content (e.g., multimodal with text and images)
+ for content_idx, content_item in enumerate(content):
+ if isinstance(content_item, dict):
+ text_str = content_item.get("text", None)
+ if text_str is not None:
+ tasks.append(guardrail_to_apply.apply_guardrail(text=text_str))
+ task_mappings.append((msg_idx, int(content_idx)))
+
+ async def _apply_guardrail_responses_to_input(
+ self,
+ messages: List[Dict[str, Any]],
+ responses: List[str],
+ task_mappings: List[Tuple[int, Optional[int]]],
+ ) -> None:
+ """
+ Apply guardrail responses back to input messages.
+
+ Override this method to customize how responses are applied.
+ """
+ for task_idx, guardrail_response in enumerate(responses):
+ mapping = task_mappings[task_idx]
+ msg_idx = cast(int, mapping[0])
+ content_idx_optional = cast(Optional[int], mapping[1])
+
+ content = messages[msg_idx].get("content", None)
+ if content is None:
+ continue
+
+ if isinstance(content, str) and content_idx_optional is None:
+ # Replace string content with guardrail response
+ messages[msg_idx]["content"] = guardrail_response
+
+ elif isinstance(content, list) and content_idx_optional is not None:
+ # Replace specific text item in list content
+ if isinstance(messages[msg_idx]["content"][content_idx_optional], dict):
+ messages[msg_idx]["content"][content_idx_optional][
+ "text"
+ ] = guardrail_response
+
+ async def process_output_response(
+ self,
+ response: "ResponsesAPIResponse",
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process output response by applying guardrails to text content.
+
+ Args:
+ response: LiteLLM ResponsesAPIResponse object
+ guardrail_to_apply: The guardrail instance to apply
+
+ Returns:
+ Modified response with guardrail applied to content
+
+ Response Format Support:
+ - response.output is a list of output items
+ - Each output item has a content list with OutputText objects
+ - Each OutputText object has a text field
+ """
+ # Step 0: Check if response has any text content to process
+ if not self._has_text_content(response):
+ verbose_proxy_logger.warning(
+ "OpenAI Responses API: No text content in response, skipping guardrail"
+ )
+ return response
+
+ tasks = []
+ task_mappings: List[Tuple[int, int]] = []
+ # Track (output_item_index, content_index) for each task
+
+ # Step 1: Extract all text content from response output
+ for output_idx, output_item in enumerate(response.output):
+ await self._extract_output_text_and_create_tasks(
+ output_item=output_item,
+ output_idx=output_idx,
+ tasks=tasks,
+ task_mappings=task_mappings,
+ guardrail_to_apply=guardrail_to_apply,
+ )
+
+ # Step 2: Run all guardrail tasks in parallel
+ if tasks:
+ responses = await asyncio.gather(*tasks)
+
+ # Step 3: Map guardrail responses back to original response structure
+ await self._apply_guardrail_responses_to_output(
+ response=response,
+ responses=responses,
+ task_mappings=task_mappings,
+ )
+
+ verbose_proxy_logger.debug(
+ "OpenAI Responses API: Processed output response: %s", response
+ )
+
+ return response
+
+ def _has_text_content(self, response: "ResponsesAPIResponse") -> bool:
+ """
+ Check if response has any text content to process.
+
+ Override this method to customize text content detection.
+ """
+ if not hasattr(response, "output") or response.output is None:
+ return False
+
+ for output_item in response.output:
+ if isinstance(output_item, (GenericResponseOutputItem, dict)):
+ content = (
+ output_item.content
+ if isinstance(output_item, GenericResponseOutputItem)
+ else output_item.get("content", [])
+ )
+ if content:
+ for content_item in content:
+ # Check if it's an OutputText with text
+ if isinstance(content_item, OutputText):
+ if content_item.text:
+ return True
+ elif isinstance(content_item, dict):
+ if content_item.get("text"):
+ return True
+ return False
+
+ async def _extract_output_text_and_create_tasks(
+ self,
+ output_item: Any,
+ output_idx: int,
+ tasks: List,
+ task_mappings: List[Tuple[int, int]],
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> None:
+ """
+ Extract text content from a response output item and create guardrail tasks.
+
+ Override this method to customize text extraction logic.
+ """
+ # Handle both GenericResponseOutputItem and dict
+ if isinstance(output_item, GenericResponseOutputItem):
+ content = output_item.content
+ elif isinstance(output_item, dict):
+ content = output_item.get("content", [])
+ else:
+ return
+
+ if not content:
+ return
+
+ verbose_proxy_logger.debug(
+ "OpenAI Responses API: Processing output item: %s", output_item
+ )
+
+ # Iterate through content items (list of OutputText objects)
+ for content_idx, content_item in enumerate(content):
+ # Handle both OutputText objects and dicts
+ if isinstance(content_item, OutputText):
+ text_content = content_item.text
+ elif isinstance(content_item, dict):
+ text_content = content_item.get("text")
+ else:
+ continue
+
+ if text_content:
+ tasks.append(guardrail_to_apply.apply_guardrail(text=text_content))
+ task_mappings.append((output_idx, int(content_idx)))
+
+ async def _apply_guardrail_responses_to_output(
+ self,
+ response: "ResponsesAPIResponse",
+ responses: List[str],
+ task_mappings: List[Tuple[int, int]],
+ ) -> None:
+ """
+ Apply guardrail responses back to output response.
+
+ Override this method to customize how responses are applied.
+ """
+ for task_idx, guardrail_response in enumerate(responses):
+ mapping = task_mappings[task_idx]
+ output_idx = cast(int, mapping[0])
+ content_idx = cast(int, mapping[1])
+
+ output_item = response.output[output_idx]
+
+ # Handle both GenericResponseOutputItem and dict
+ if isinstance(output_item, GenericResponseOutputItem):
+ content_item = output_item.content[content_idx]
+ if isinstance(content_item, OutputText):
+ content_item.text = guardrail_response
+ elif isinstance(content_item, dict):
+ content_item["text"] = guardrail_response
+ elif isinstance(output_item, dict):
+ content = output_item.get("content", [])
+ if content and content_idx < len(content):
+ if isinstance(content[content_idx], dict):
+ content[content_idx]["text"] = guardrail_response
diff --git a/litellm/llms/openai/speech/guardrail_translation/README.md b/litellm/llms/openai/speech/guardrail_translation/README.md
new file mode 100644
index 00000000000..52e89ffa929
--- /dev/null
+++ b/litellm/llms/openai/speech/guardrail_translation/README.md
@@ -0,0 +1,178 @@
+# OpenAI Text-to-Speech Guardrail Translation Handler
+
+Handler for processing OpenAI's text-to-speech endpoint (`/v1/audio/speech`) with guardrails.
+
+## Overview
+
+This handler processes text-to-speech requests by:
+1. Extracting the input text from the request
+2. Applying guardrails to the input text
+3. Updating the request with the guardrailed text
+4. Returning the output unchanged (audio is binary, not text)
+
+## Data Format
+
+### Input Format
+
+```json
+{
+ "model": "tts-1",
+ "input": "The quick brown fox jumped over the lazy dog.",
+ "voice": "alloy",
+ "response_format": "mp3",
+ "speed": 1.0
+}
+```
+
+### Output Format
+
+The output is binary audio data (MP3, WAV, etc.), not text, so it cannot be guardrailed.
+
+## Usage
+
+The handler is automatically discovered and applied when guardrails are used with the text-to-speech endpoint.
+
+### Example: Using Guardrails with Text-to-Speech
+
+```bash
+curl -X POST 'http://localhost:4000/v1/audio/speech' \
+-H 'Content-Type: application/json' \
+-H 'Authorization: Bearer your-api-key' \
+-d '{
+ "model": "tts-1",
+ "input": "The quick brown fox jumped over the lazy dog.",
+ "voice": "alloy",
+ "guardrails": ["content_moderation"]
+}' \
+--output speech.mp3
+```
+
+The guardrail will be applied to the input text before the text-to-speech conversion.
+
+### Example: PII Masking in TTS Input
+
+```bash
+curl -X POST 'http://localhost:4000/v1/audio/speech' \
+-H 'Content-Type: application/json' \
+-H 'Authorization: Bearer your-api-key' \
+-d '{
+ "model": "tts-1",
+ "input": "Please call John Doe at [email protected]",
+ "voice": "nova",
+ "guardrails": ["mask_pii"]
+}' \
+--output speech.mp3
+```
+
+The audio will say: "Please call [NAME_REDACTED] at [EMAIL_REDACTED]"
+
+### Example: Content Filtering Before TTS
+
+```bash
+curl -X POST 'http://localhost:4000/v1/audio/speech' \
+-H 'Content-Type: application/json' \
+-H 'Authorization: Bearer your-api-key' \
+-d '{
+ "model": "tts-1-hd",
+ "input": "This is the text that will be spoken",
+ "voice": "shimmer",
+ "guardrails": ["content_filter"]
+}' \
+--output speech.mp3
+```
+
+## Implementation Details
+
+### Input Processing
+
+- **Field**: `input` (string)
+- **Processing**: Applies guardrail to input text
+- **Result**: Updated input text in request
+
+### Output Processing
+
+- **Processing**: Not applicable (audio is binary data)
+- **Result**: Response returned unchanged
+
+## Use Cases
+
+1. **PII Protection**: Remove personally identifiable information before converting to speech
+2. **Content Filtering**: Remove inappropriate content before TTS conversion
+3. **Compliance**: Ensure text meets requirements before voice synthesis
+4. **Text Sanitization**: Clean up text before audio generation
+
+## Extension
+
+Override these methods to customize behavior:
+
+- `process_input_messages()`: Customize how input text is processed
+- `process_output_response()`: Currently a no-op, but can be overridden if needed
+
+## Supported Call Types
+
+- `CallTypes.speech` - Synchronous text-to-speech
+- `CallTypes.aspeech` - Asynchronous text-to-speech
+
+## Notes
+
+- Only the input text is processed by guardrails
+- Output processing is a no-op since audio cannot be text-guardrailed
+- Both sync and async call types use the same handler
+- Works with all TTS models (tts-1, tts-1-hd, etc.)
+- Works with all voice options
+
+## Common Patterns
+
+### Remove PII Before TTS
+
+```python
+import litellm
+from pathlib import Path
+
+speech_file_path = Path(__file__).parent / "speech.mp3"
+response = litellm.speech(
+ model="tts-1",
+ voice="alloy",
+ input="Hi, this is John Doe calling from [email protected]",
+ guardrails=["mask_pii"],
+)
+response.stream_to_file(speech_file_path)
+# Audio will have PII masked
+```
+
+### Content Moderation Before TTS
+
+```python
+import litellm
+from pathlib import Path
+
+speech_file_path = Path(__file__).parent / "speech.mp3"
+response = litellm.speech(
+ model="tts-1-hd",
+ voice="nova",
+ input="Your text here",
+ guardrails=["content_moderation"],
+)
+response.stream_to_file(speech_file_path)
+```
+
+### Async TTS with Guardrails
+
+```python
+import litellm
+import asyncio
+from pathlib import Path
+
+async def generate_speech():
+ speech_file_path = Path(__file__).parent / "speech.mp3"
+ response = await litellm.aspeech(
+ model="tts-1",
+ voice="echo",
+ input="Text to convert to speech",
+ guardrails=["pii_mask"],
+ )
+ response.stream_to_file(speech_file_path)
+
+asyncio.run(generate_speech())
+```
+
diff --git a/litellm/llms/openai/speech/guardrail_translation/__init__.py b/litellm/llms/openai/speech/guardrail_translation/__init__.py
new file mode 100644
index 00000000000..ef7d50f861a
--- /dev/null
+++ b/litellm/llms/openai/speech/guardrail_translation/__init__.py
@@ -0,0 +1,13 @@
+"""OpenAI Text-to-Speech handler for Unified Guardrails."""
+
+from litellm.llms.openai.speech.guardrail_translation.handler import (
+ OpenAITextToSpeechHandler,
+)
+from litellm.types.utils import CallTypes
+
+guardrail_translation_mappings = {
+ CallTypes.speech: OpenAITextToSpeechHandler,
+ CallTypes.aspeech: OpenAITextToSpeechHandler,
+}
+
+__all__ = ["guardrail_translation_mappings", "OpenAITextToSpeechHandler"]
diff --git a/litellm/llms/openai/speech/guardrail_translation/handler.py b/litellm/llms/openai/speech/guardrail_translation/handler.py
new file mode 100644
index 00000000000..aa049801d16
--- /dev/null
+++ b/litellm/llms/openai/speech/guardrail_translation/handler.py
@@ -0,0 +1,93 @@
+"""
+OpenAI Text-to-Speech Handler for Unified Guardrails
+
+This module provides guardrail translation support for OpenAI's text-to-speech endpoint.
+The handler processes the 'input' text parameter (output is audio, so no text to guardrail).
+"""
+
+from typing import TYPE_CHECKING, Any
+
+from litellm._logging import verbose_proxy_logger
+from litellm.llms.base_llm.guardrail_translation.base_translation import BaseTranslation
+
+if TYPE_CHECKING:
+ from litellm.integrations.custom_guardrail import CustomGuardrail
+ from litellm.types.llms.openai import HttpxBinaryResponseContent
+
+
+class OpenAITextToSpeechHandler(BaseTranslation):
+ """
+ Handler for processing OpenAI text-to-speech requests with guardrails.
+
+ This class provides methods to:
+ 1. Process input text (pre-call hook)
+
+ Note: Output processing is not applicable since the output is audio (binary),
+ not text. Only the input text is processed.
+ """
+
+ async def process_input_messages(
+ self,
+ data: dict,
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process input text by applying guardrails.
+
+ Args:
+ data: Request data dictionary containing 'input' parameter
+ guardrail_to_apply: The guardrail instance to apply
+
+ Returns:
+ Modified data with guardrails applied to input text
+ """
+ input_text = data.get("input")
+ if input_text is None:
+ verbose_proxy_logger.debug(
+ "OpenAI Text-to-Speech: No input text found in request data"
+ )
+ return data
+
+ if isinstance(input_text, str):
+ guardrailed_input = await guardrail_to_apply.apply_guardrail(
+ text=input_text
+ )
+ data["input"] = guardrailed_input
+
+ verbose_proxy_logger.debug(
+ "OpenAI Text-to-Speech: Applied guardrail to input text. "
+ "Original length: %d, New length: %d",
+ len(input_text),
+ len(guardrailed_input),
+ )
+ else:
+ verbose_proxy_logger.debug(
+ "OpenAI Text-to-Speech: Unexpected input type: %s. Expected string.",
+ type(input_text),
+ )
+
+ return data
+
+ async def process_output_response(
+ self,
+ response: "HttpxBinaryResponseContent",
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process output - not applicable for text-to-speech.
+
+ The output is audio (binary data), not text, so there's nothing to apply
+ guardrails to. This method returns the response unchanged.
+
+ Args:
+ response: Binary audio response
+ guardrail_to_apply: The guardrail instance (unused)
+
+ Returns:
+ Unmodified response (audio data doesn't need text guardrails)
+ """
+ verbose_proxy_logger.debug(
+ "OpenAI Text-to-Speech: Output processing not applicable "
+ "(output is audio data, not text)"
+ )
+ return response
diff --git a/litellm/llms/openai/transcriptions/guardrail_translation/README.md b/litellm/llms/openai/transcriptions/guardrail_translation/README.md
new file mode 100644
index 00000000000..08e5b6f85c5
--- /dev/null
+++ b/litellm/llms/openai/transcriptions/guardrail_translation/README.md
@@ -0,0 +1,159 @@
+# OpenAI Audio Transcription Guardrail Translation Handler
+
+Handler for processing OpenAI's audio transcription endpoint (`/v1/audio/transcriptions`) with guardrails.
+
+## Overview
+
+This handler processes audio transcription responses by:
+1. Applying guardrails to the transcribed text output
+2. Returning the input unchanged (since input is an audio file, not text)
+
+## Data Format
+
+### Input Format
+
+The input is an audio file, which cannot be guardrailed (it's binary data, not text).
+
+```json
+{
+ "model": "whisper-1",
+ "file": "<audio file>",
+ "response_format": "json",
+ "language": "en"
+}
+```
+
+### Output Format
+
+```json
+{
+ "text": "This is the transcribed text from the audio file."
+}
+```
+
+Or with additional metadata:
+
+```json
+{
+ "text": "This is the transcribed text from the audio file.",
+ "duration": 3.5,
+ "language": "en"
+}
+```
+
+## Usage
+
+The handler is automatically discovered and applied when guardrails are used with the audio transcription endpoint.
+
+### Example: Using Guardrails with Audio Transcription
+
+```bash
+curl -X POST 'http://localhost:4000/v1/audio/transcriptions' \
+-H 'Authorization: Bearer your-api-key' \
+-F 'model=whisper-1' \
+-F 'guardrails=["pii_mask"]'
+```
+
+The guardrail will be applied to the **output** transcribed text only.
+
+### Example: PII Masking in Transcribed Text
+
+```bash
+curl -X POST 'http://localhost:4000/v1/audio/transcriptions' \
+-H 'Authorization: Bearer your-api-key' \
+-F 'file=@meeting_recording.mp3' \
+-F 'model=whisper-1' \
+-F 'guardrails=["mask_pii"]' \
+-F 'response_format=json'
+```
+
+If the audio contains: "My name is John Doe and my email is [email protected]"
+
+The transcription output will be: "My name is [NAME_REDACTED] and my email is [EMAIL_REDACTED]"
+
+### Example: Content Moderation on Transcriptions
+
+```bash
+curl -X POST 'http://localhost:4000/v1/audio/transcriptions' \
+-H 'Authorization: Bearer your-api-key' \
+-F 'model=whisper-1' \
+-F 'guardrails=["content_moderation"]'
+```
+
+## Implementation Details
+
+### Input Processing
+
+- **Status**: Not applicable
+- **Reason**: Input is an audio file (binary data), not text
+- **Result**: Request data returned unchanged
+
+### Output Processing
+
+- **Field**: `text` (string)
+- **Processing**: Applies guardrail to the transcribed text
+- **Result**: Updated text in response
+
+## Use Cases
+
+1. **PII Protection**: Automatically redact personally identifiable information from transcriptions
+2. **Content Filtering**: Remove or flag inappropriate content in transcribed audio
+3. **Compliance**: Ensure transcriptions meet regulatory requirements
+4. **Data Sanitization**: Clean up transcriptions before storage or further processing
+
+## Extension
+
+Override these methods to customize behavior:
+
+- `process_output_response()`: Customize how transcribed text is processed
+- `process_input_messages()`: Currently a no-op, but can be overridden if needed
+
+## Supported Call Types
+
+- `CallTypes.transcription` - Synchronous audio transcription
+- `CallTypes.atranscription` - Asynchronous audio transcription
+
+## Notes
+
+- Input processing is a no-op since audio files cannot be text-guardrailed
+- Only the transcribed text output is processed
+- Guardrails apply after transcription is complete
+- Both sync and async call types use the same handler
+- Works with all Whisper models and response formats
+
+## Common Patterns
+
+### Transcribe and Redact PII
+
+```python
+import litellm
+
+response = litellm.transcription(
+ model="whisper-1",
+ file=open("interview.mp3", "rb"),
+ guardrails=["mask_pii"],
+)
+
+# response.text will have PII redacted
+print(response.text)
+```
+
+### Async Transcription with Guardrails
+
+```python
+import litellm
+import asyncio
+
+async def transcribe_with_guardrails():
+ response = await litellm.atranscription(
+ model="whisper-1",
+ file=open("audio.mp3", "rb"),
+ guardrails=["content_filter"],
+ )
+ return response.text
+
+text = asyncio.run(transcribe_with_guardrails())
+```
+
diff --git a/litellm/llms/openai/transcriptions/guardrail_translation/__init__.py b/litellm/llms/openai/transcriptions/guardrail_translation/__init__.py
new file mode 100644
index 00000000000..a6a1a8c2ccf
--- /dev/null
+++ b/litellm/llms/openai/transcriptions/guardrail_translation/__init__.py
@@ -0,0 +1,13 @@
+"""OpenAI Audio Transcription handler for Unified Guardrails."""
+
+from litellm.llms.openai.transcriptions.guardrail_translation.handler import (
+ OpenAIAudioTranscriptionHandler,
+)
+from litellm.types.utils import CallTypes
+
+guardrail_translation_mappings = {
+ CallTypes.transcription: OpenAIAudioTranscriptionHandler,
+ CallTypes.atranscription: OpenAIAudioTranscriptionHandler,
+}
+
+__all__ = ["guardrail_translation_mappings", "OpenAIAudioTranscriptionHandler"]
diff --git a/litellm/llms/openai/transcriptions/guardrail_translation/handler.py b/litellm/llms/openai/transcriptions/guardrail_translation/handler.py
new file mode 100644
index 00000000000..22b93251be6
--- /dev/null
+++ b/litellm/llms/openai/transcriptions/guardrail_translation/handler.py
@@ -0,0 +1,93 @@
+"""
+OpenAI Audio Transcription Handler for Unified Guardrails
+
+This module provides guardrail translation support for OpenAI's audio transcription endpoint.
+The handler processes the output transcribed text (input is audio, so no text to guardrail).
+"""
+
+from typing import TYPE_CHECKING, Any
+
+from litellm._logging import verbose_proxy_logger
+from litellm.llms.base_llm.guardrail_translation.base_translation import BaseTranslation
+
+if TYPE_CHECKING:
+ from litellm.integrations.custom_guardrail import CustomGuardrail
+ from litellm.utils import TranscriptionResponse
+
+
+class OpenAIAudioTranscriptionHandler(BaseTranslation):
+ """
+ Handler for processing OpenAI audio transcription responses with guardrails.
+
+ This class provides methods to:
+ 1. Process output transcription text (post-call hook)
+
+ Note: Input processing is not applicable since the input is an audio file,
+ not text. Only the transcribed text output is processed.
+ """
+
+ async def process_input_messages(
+ self,
+ data: dict,
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process input - not applicable for audio transcription.
+
+ The input is an audio file, not text, so there's nothing to apply
+ guardrails to. This method returns the data unchanged.
+
+ Args:
+ data: Request data dictionary containing audio file
+ guardrail_to_apply: The guardrail instance (unused)
+
+ Returns:
+ Unmodified data (audio files don't need text guardrails)
+ """
+ verbose_proxy_logger.debug(
+ "OpenAI Audio Transcription: Input processing not applicable "
+ "(input is audio file, not text)"
+ )
+ return data
+
+ async def process_output_response(
+ self,
+ response: "TranscriptionResponse",
+ guardrail_to_apply: "CustomGuardrail",
+ ) -> Any:
+ """
+ Process output transcription by applying guardrails to transcribed text.
+
+ Args:
+ response: Transcription response object containing transcribed text
+ guardrail_to_apply: The guardrail instance to apply
+
+ Returns:
+ Modified response with guardrails applied to transcribed text
+ """
+ if not hasattr(response, "text") or response.text is None:
+ verbose_proxy_logger.debug(
+ "OpenAI Audio Transcription: No text in response to process"
+ )
+ return response
+
+ if isinstance(response.text, str):
+ original_text = response.text
+ guardrailed_text = await guardrail_to_apply.apply_guardrail(
+ text=original_text
+ )
+ response.text = guardrailed_text
+
+ verbose_proxy_logger.debug(
+ "OpenAI Audio Transcription: Applied guardrail to transcribed text. "
+ "Original length: %d, New length: %d",
+ len(original_text),
+ len(guardrailed_text),
+ )
+ else:
+ verbose_proxy_logger.debug(
+ "OpenAI Audio Transcription: Unexpected text type: %s. Expected string.",
+ type(response.text),
+ )
+
+ return response
diff --git a/litellm/proxy/_experimental/out/_next/static/chunks/8049-26a565b2b753c5e8.js b/litellm/proxy/_experimental/out/_next/static/chunks/8049-26a565b2b753c5e8.js
index 26b543de395..15abe7d53de 100644
--- a/litellm/proxy/_experimental/out/_next/static/chunks/8049-26a565b2b753c5e8.js
+++ b/litellm/proxy/_experimental/out/_next/static/chunks/8049-26a565b2b753c5e8.js
@@ -1 +1 @@
-"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8049],{31283:function(e,t,o){o.d(t,{o:function(){return a.Z}});var a=o(49566)},63610:function(e,t,o){o.d(t,{d:function(){return h}});var a=o(57437),r=o(2265),n=o(64482),l=o(52787),c=o(20577),i=o(13634),s=o(31283),d=o(15424),u=o(89970),p=o(19250);let h=["metadata","config","enforced_params","aliases"],g=(e,t)=>h.includes(e)||"json"===t.format,m=e=>{if(!e)return!0;try{return JSON.parse(e),!0}catch(e){return!1}},f=(e,t,o)=>{let a={max_budget:"Enter maximum budget in USD (e.g., 100.50)",budget_duration:"Select a time period for budget reset",tpm_limit:"Enter maximum tokens per minute (whole number)",rpm_limit:"Enter maximum requests per minute (whole number)",duration:"Enter duration (e.g., 30s, 24h, 7d)",metadata:'Enter JSON object with key-value pairs\nExample: {"team": "research", "project": "nlp"}',config:'Enter configuration as JSON object\nExample: {"setting": "value"}',permissions:"Enter comma-separated permission strings",enforced_params:'Enter parameters as JSON object\nExample: {"param": "value"}',blocked:"Enter true/false or specific block conditions",aliases:'Enter aliases as JSON object\nExample: {"alias1": "value1", "alias2": "value2"}',models:"Select one or more model names",key_alias:"Enter a unique identifier for this key",tags:"Enter comma-separated tag strings"}[e]||({string:"Text input",number:"Numeric input",integer:"Whole number input",boolean:"True/False value"})[o]||"Text input";return g(e,t)?"".concat(a,"\nMust be valid JSON format"):t.enum?"Select from available options\nAllowed values: ".concat(t.enum.join(", ")):a};t.Z=e=>{let{schemaComponent:t,excludedFields:o=[],form:h,overrideLabels:w={},overrideTooltips:y={},customValidation:j={},defaultValues:_={}}=e,[C,k]=(0,r.useState)(null),[v,T]=(0,r.useState)(null);(0,r.useEffect)(()=>{(async()=>{try{let e=(await (0,p.getOpenAPISchema)()).components.schemas[t];if(!e)throw Error('Schema component "'.concat(t,'" not found'));k(e);let a={};Object.keys(e.properties).filter(e=>!o.includes(e)&&void 0!==_[e]).forEach(e=>{a[e]=_[e]}),h.setFieldsValue(a)}catch(e){console.error("Schema fetch error:",e),T(e instanceof Error?e.message:"Failed to fetch schema")}})()},[t,h,o]);let E=e=>{if(e.type)return e.type;if(e.anyOf){let t=e.anyOf.map(e=>e.type);if(t.includes("number")||t.includes("integer"))return"number";t.includes("string")}return"string"},S=(e,t)=>{var o;let r;let p=E(t),h=null==C?void 0:null===(o=C.required)||void 0===o?void 0:o.includes(e),k=w[e]||t.title||e,v=y[e]||t.description,T=[];h&&T.push({required:!0,message:"".concat(k," is required")}),j[e]&&T.push({validator:j[e]}),g(e,t)&&T.push({validator:async(e,t)=>{if(t&&!m(t))throw Error("Please enter valid JSON")}});let S=v?(0,a.jsxs)("span",{children:[k," ",(0,a.jsx)(u.Z,{title:v,children:(0,a.jsx)(d.Z,{style:{marginLeft:"4px"}})})]}):k;return r=g(e,t)?(0,a.jsx)(n.default.TextArea,{rows:4,placeholder:"Enter as JSON",className:"font-mono"}):t.enum?(0,a.jsx)(l.default,{children:t.enum.map(e=>(0,a.jsx)(l.default.Option,{value:e,children:e},e))}):"number"===p||"integer"===p?(0,a.jsx)(c.Z,{style:{width:"100%"},precision:"integer"===p?0:void 0}):"duration"===e?(0,a.jsx)(s.o,{placeholder:"eg: 30s, 30h, 30d"}):(0,a.jsx)(s.o,{placeholder:v||""}),(0,a.jsx)(i.Z.Item,{label:S,name:e,className:"mt-8",rules:T,initialValue:_[e],help:(0,a.jsx)("div",{className:"text-xs text-gray-500",children:f(e,t,p)}),children:r},e)};return v?(0,a.jsxs)("div",{className:"text-red-500",children:["Error: ",v]}):(null==C?void 0:C.properties)?(0,a.jsx)("div",{children:Object.entries(C.properties).filter(e=>{let[t]=e;return!o.includes(t)}).map(e=>{let[t,o]=e;return S(t,o)})}):null}},9114:function(e,t,o){var a=o(2265),r=o(57271),n=o(85968);function l(){return"topRight"}function c(e,t){var o;return"string"==typeof e?{message:t,description:e}:{message:null!==(o=e.message)&&void 0!==o?o:t,...e}}function i(e){return"number"==typeof e?e:"string"==typeof e&&/^\d+$/.test(e)?parseInt(e,10):void 0}let s=["invalid api key","invalid authorization header format","authentication error","invalid proxy server token","invalid jwt token","invalid jwt submitted","unauthorized access to metrics endpoint"],d=["admin-only endpoint","not allowed to access model","user does not have permission","access forbidden","invalid credentials used to access ui","user not allowed to access proxy"],u=["db not connected","database not initialized","no db connected","prisma client not initialized","service unhealthy"],p=["no models configured on proxy","llm router not initialized","no deployments available","no healthy deployment available","not allowed to access model due to tags configuration","invalid model name passed in"],h=["deployment over user-defined ratelimit","crossed tpm / rpm / max parallel request limit","max parallel request limit"],g=["budget exceeded","crossed budget","provider budget"],m=["must be a litellm enterprise user","only be available for liteLLM enterprise users","missing litellm-enterprise package","only available on the docker image","enterprise feature","premium user"],f=["invalid json payload","invalid request type","invalid key format","invalid hash key","invalid sort column","invalid sort order","invalid limit","invalid file type","invalid field","invalid date format"],w=["model not found","model with id","credential not found","user not found","team not found","organization not found","mcp server with id","tool '"],y=["already exists","team member is already in team","user already exists"],j=["violated openai moderation policy","violated jailbreak threshold","violated prompt_injection threshold","violated content safety policy","violated lasso guardrail policy","blocked by pillar security guardrail","violated azure prompt shield guardrail policy","content blocked by model armor","response blocked by model armor","streaming response blocked by model armor","guardrail","moderation"],_=["invalid purpose","service must be specified","invalid response - response.response is none"],C=["cloudzero settings not configured","failed to decrypt cloudzero api key","cloudzero settings not found"],k=["created successfully","updated successfully","deleted successfully","credential created successfully","model added successfully","team created successfully","user created successfully","organization created successfully","cloudzero settings initialized successfully","cloudzero settings updated successfully","cloudzero export completed successfully","mock llm request made","mock slack alert sent","mock email alert sent","spend for all api keys and teams reset successfully","monthlyglobalspend view refreshed","cache cleared successfully","cache set successfully","ip ","deleted successfully"],v=["rate limit reached for deployment","deployment cooldown period active"],T=["this feature is only available for litellm enterprise users","enterprise features are not available","regenerating virtual keys is an enterprise feature","trying to set allowed_routes. this is an enterprise feature"],E=["invalid maximum_spend_logs_retention_interval value","error has invalid or non-convertible code","failed to save health check to database"];t.Z={error(e){var t,o;let a=c(e,"Error");r.ZP.error({...a,placement:null!==(t=a.placement)&&void 0!==t?t:l(),duration:null!==(o=a.duration)&&void 0!==o?o:6})},warning(e){var t,o;let a=c(e,"Warning");r.ZP.warning({...a,placement:null!==(t=a.placement)&&void 0!==t?t:l(),duration:null!==(o=a.duration)&&void 0!==o?o:5})},info(e){var t,o;let a=c(e,"Info");r.ZP.info({...a,placement:null!==(t=a.placement)&&void 0!==t?t:l(),duration:null!==(o=a.duration)&&void 0!==o?o:4})},success(e){var t,o;if(a.isValidElement(e)){r.ZP.success({message:"Success",description:e,placement:l(),duration:3.5});return}let n=c(e,"Success");r.ZP.success({...n,placement:null!==(t=n.placement)&&void 0!==t?t:l(),duration:null!==(o=n.duration)&&void 0!==o?o:3.5})},fromBackend(e,t){var o,a,c,S,b,F,P,O,B,N,x,G;let A=null!==(G=null!==(x=i(null==e?void 0:null===(N=e.response)||void 0===N?void 0:N.status))&&void 0!==x?x:i(null==e?void 0:e.status_code))&&void 0!==G?G:i(null==e?void 0:e.code),J=function(e){var t,o,a,r,l,c,i,s,d,u,p,h;if("string"==typeof e)return e;let g=null!==(h=null!==(p=null!==(u=null!==(d=null!==(s=null==e?void 0:null===(a=e.response)||void 0===a?void 0:null===(o=a.data)||void 0===o?void 0:null===(t=o.error)||void 0===t?void 0:t.message)&&void 0!==s?s:null==e?void 0:null===(l=e.response)||void 0===l?void 0:null===(r=l.data)||void 0===r?void 0:r.message)&&void 0!==d?d:null==e?void 0:null===(i=e.response)||void 0===i?void 0:null===(c=i.data)||void 0===c?void 0:c.error)&&void 0!==u?u:null==e?void 0:e.detail)&&void 0!==p?p:null==e?void 0:e.message)&&void 0!==h?h:e;return(0,n.O)(g)}(e),U={...null!=t?t:{},description:J,placement:null!==(o=null==t?void 0:t.placement)&&void 0!==o?o:l()};if(void 0!==A||e instanceof Error||"string"==typeof e||e&&"object"==typeof e&&("error"in e||"detail"in e)){let e=function(e,t){var o,a,r,n,l;let c=(t||"").toLowerCase();return s.some(e=>c.includes(e))?"Authentication Error":d.some(e=>c.includes(e))?"Access Denied":(null==u?void 0:null===(o=u.some)||void 0===o?void 0:o.call(u,e=>c.includes(e)))||503===e?"Service Unavailable":(null==g?void 0:null===(a=g.some)||void 0===a?void 0:a.call(g,e=>c.includes(e)))?"Budget Exceeded":(null==m?void 0:null===(r=m.some)||void 0===r?void 0:r.call(m,e=>c.includes(e)))?"Feature Unavailable":(null==p?void 0:null===(n=p.some)||void 0===n?void 0:n.call(p,e=>c.includes(e)))?"Routing Error":y.some(e=>c.includes(e))?"Already Exists":j.some(e=>c.includes(e))?"Content Blocked":_.some(e=>c.includes(e))?"Validation Error":C.some(e=>c.includes(e))?"Integration Error":f.some(e=>c.includes(e))?"Validation Error":404===e||c.includes("not found")||w.some(e=>c.includes(e))?"Not Found":429===e||c.includes("rate limit")||c.includes("tpm")||c.includes("rpm")||(null==h?void 0:null===(l=h.some)||void 0===l?void 0:l.call(h,e=>c.includes(e)))?"Rate Limit Exceeded":e&&e>=500?"Server Error":401===e?"Authentication Error":403===e?"Access Denied":c.includes("enterprise")||c.includes("premium")?"Info":e&&e>=400?"Request Error":"Error"}(A,J),o={...U,message:e};if("Rate Limit Exceeded"===e||"Info"===e||"Budget Exceeded"===e||"Feature Unavailable"===e||"Content Blocked"===e||"Integration Error"===e){r.ZP.warning({...o,duration:null!==(a=null==t?void 0:t.duration)&&void 0!==a?a:7});return}if("Server Error"===e){r.ZP.error({...o,duration:null!==(c=null==t?void 0:t.duration)&&void 0!==c?c:8});return}if("Request Error"===e||"Authentication Error"===e||"Access Denied"===e||"Not Found"===e||"Error"===e){r.ZP.error({...o,duration:null!==(S=null==t?void 0:t.duration)&&void 0!==S?S:6});return}r.ZP.info({...o,duration:null!==(b=null==t?void 0:t.duration)&&void 0!==b?b:4});return}let R=function(e){let t=(e||"").toLowerCase();return k.some(e=>t.includes(e))?{kind:"success",title:"Success"}:T.some(e=>t.includes(e))?{kind:"warning",title:"Feature Notice"}:E.some(e=>t.includes(e))?{kind:"warning",title:"Configuration Warning"}:v.some(e=>t.includes(e))?{kind:"warning",title:"Rate Limit"}:null}(J),I={...U,message:null!==(F=null==R?void 0:R.title)&&void 0!==F?F:"Info"};if((null==R?void 0:R.kind)==="success"){r.ZP.success({...I,duration:null!==(P=null==t?void 0:t.duration)&&void 0!==P?P:3.5});return}if((null==R?void 0:R.kind)==="warning"){r.ZP.warning({...I,duration:null!==(O=null==t?void 0:t.duration)&&void 0!==O?O:6});return}r.ZP.info({...I,duration:null!==(B=null==t?void 0:t.duration)&&void 0!==B?B:4})},clear(){r.ZP.destroy()}}},19250:function(e,t,o){o.r(t),o.d(t,{DEFAULT_ORGANIZATION:function(){return m},PredictedSpendLogsCall:function(){return ts},addAllowedIP:function(){return ew},adminGlobalActivity:function(){return eU},adminGlobalActivityExceptions:function(){return eM},adminGlobalActivityExceptionsPerDeployment:function(){return ez},adminGlobalActivityPerModel:function(){return eI},adminGlobalCacheActivity:function(){return eR},adminSpendLogsCall:function(){return ex},adminTopEndUsersCall:function(){return eA},adminTopKeysCall:function(){return eG},adminTopModelsCall:function(){return eL},adminspendByProvider:function(){return eJ},alertingSettingsCall:function(){return R},allEndUsersCall:function(){return eP},allTagNamesCall:function(){return eF},availableTeamListCall:function(){return K},budgetCreateCall:function(){return G},budgetDeleteCall:function(){return x},budgetUpdateCall:function(){return A},cachingHealthCheckCall:function(){return tS},callMCPTool:function(){return tW},cancelModelCostMapReload:function(){return F},claimOnboardingToken:function(){return ei},convertPromptFileToJson:function(){return tJ},createGuardrailCall:function(){return tR},createMCPServer:function(){return tV},createPassThroughEndpoint:function(){return tj},createPromptCall:function(){return tx},credentialCreateCall:function(){return e1},credentialDeleteCall:function(){return e3},credentialGetCall:function(){return e4},credentialListCall:function(){return e2},credentialUpdateCall:function(){return e5},defaultProxyBaseUrl:function(){return i},deleteAllowedIP:function(){return ey},deleteCallback:function(){return og},deleteConfigFieldSetting:function(){return tC},deleteGuardrailCall:function(){return oa},deleteMCPServer:function(){return tq},deletePassThroughEndpointsCall:function(){return tk},deletePromptCall:function(){return tA},fetchMCPAccessGroups:function(){return tD},fetchMCPServers:function(){return tL},formatDate:function(){return c},getAllowedIPs:function(){return ef},getBudgetList:function(){return tp},getBudgetSettings:function(){return th},getCallbacksCall:function(){return tg},getConfigFieldSetting:function(){return tw},getDefaultTeamSettings:function(){return t0},getEmailEventSettings:function(){return oe},getGeneralSettingsCall:function(){return tm},getGuardrailInfo:function(){return ol},getGuardrailProviderSpecificParams:function(){return on},getGuardrailUISettings:function(){return or},getGuardrailsList:function(){return tO},getInternalUserSettings:function(){return tM},getModelCostMapReloadStatus:function(){return P},getOnboardingCredentials:function(){return ec},getOpenAPISchema:function(){return T},getPassThroughEndpointInfo:function(){return oh},getPassThroughEndpointsCall:function(){return tf},getPossibleUserRoles:function(){return eX},getPromptInfo:function(){return tN},getPromptsList:function(){return tB},getProxyBaseUrl:function(){return h},getProxyUISettings:function(){return tP},getPublicModelHubInfo:function(){return v},getRemainingUsers:function(){return ou},getSSOSettings:function(){return oi},getTeamPermissionsCall:function(){return t2},getTotalSpendCall:function(){return el},getUiConfig:function(){return k},healthCheckCall:function(){return tT},healthCheckHistoryCall:function(){return tb},individualModelHealthCheckCall:function(){return tE},invitationClaimCall:function(){return U},invitationCreateCall:function(){return J},keyAliasesCall:function(){return eH},keyCreateCall:function(){return M},keyCreateServiceAccountCall:function(){return I},keyDeleteCall:function(){return L},keyInfoCall:function(){return eD},keyInfoV1Call:function(){return eZ},keyListCall:function(){return eq},keySpendLogsCall:function(){return eE},keyUpdateCall:function(){return e6},latestHealthChecksCall:function(){return tF},listMCPTools:function(){return tH},makeModelGroupPublic:function(){return C},mcpToolsCall:function(){return om},modelAvailableCall:function(){return eT},modelCostMap:function(){return E},modelCreateCall:function(){return O},modelDeleteCall:function(){return N},modelExceptionsCall:function(){return ek},modelHubCall:function(){return em},modelHubPublicModelsCall:function(){return eg},modelInfoCall:function(){return ep},modelInfoV1Call:function(){return eh},modelMetricsCall:function(){return ej},modelMetricsSlowResponsesCall:function(){return eC},modelPatchUpdateCall:function(){return e7},modelSettingsCall:function(){return B},modelUpdateCall:function(){return e8},organizationCreateCall:function(){return X},organizationDeleteCall:function(){return et},organizationInfoCall:function(){return Q},organizationListCall:function(){return $},organizationMemberAddCall:function(){return tr},organizationMemberDeleteCall:function(){return tn},organizationMemberUpdateCall:function(){return tl},organizationUpdateCall:function(){return ee},patchPromptCall:function(){return tU},perUserAnalyticsCall:function(){return oE},proxyBaseUrl:function(){return d},regenerateKeyCall:function(){return es},reloadModelCostMap:function(){return S},resetEmailEventSettings:function(){return oo},scheduleModelCostMapReload:function(){return b},serverRootPath:function(){return s},serviceHealthCheck:function(){return tu},sessionSpendLogsCall:function(){return t3},setCallbacksCall:function(){return tv},setGlobalLitellmHeaderName:function(){return _},slackBudgetAlertsHealthCheck:function(){return td},spendUsersCall:function(){return eW},streamingModelMetricsCall:function(){return e_},tagCreateCall:function(){return tY},tagDailyActivityCall:function(){return er},tagDauCall:function(){return o_},tagDeleteCall:function(){return tX},tagDistinctCall:function(){return ov},tagInfoCall:function(){return t$},tagListCall:function(){return tQ},tagMauCall:function(){return ok},tagUpdateCall:function(){return tK},tagWauCall:function(){return oC},tagsSpendLogsCall:function(){return eb},teamBulkMemberAddCall:function(){return tt},teamCreateCall:function(){return e0},teamDailyActivityCall:function(){return en},teamDeleteCall:function(){return V},teamInfoCall:function(){return H},teamListCall:function(){return Y},teamMemberAddCall:function(){return te},teamMemberDeleteCall:function(){return ta},teamMemberUpdateCall:function(){return to},teamPermissionsUpdateCall:function(){return t4},teamSpendLogsCall:function(){return eS},teamUpdateCall:function(){return e9},testConnectionRequest:function(){return eV},testMCPConnectionRequest:function(){return of},testMCPToolsListRequest:function(){return ow},transformRequestCall:function(){return eo},uiAuditLogsCall:function(){return od},uiSpendLogDetailsCall:function(){return tI},uiSpendLogsCall:function(){return eN},updateConfigFieldSetting:function(){return t_},updateDefaultTeamSettings:function(){return t1},updateEmailEventSettings:function(){return ot},updateGuardrailCall:function(){return oc},updateInternalUserSettings:function(){return tz},updateMCPServer:function(){return tZ},updatePassThroughEndpoint:function(){return op},updatePassThroughFieldSetting:function(){return ty},updatePromptCall:function(){return tG},updateSSOSettings:function(){return os},updateUsefulLinksCall:function(){return ev},userAgentAnalyticsCall:function(){return oj},userAgentSummaryCall:function(){return oT},userBulkUpdateUserCall:function(){return ti},userCreateCall:function(){return z},userDailyActivityAggregatedCall:function(){return e$},userDailyActivityCall:function(){return ea},userDeleteCall:function(){return D},userFilterUICall:function(){return eO},userGetAllUsersCall:function(){return eQ},userGetRequesedtModelsCall:function(){return eK},userInfoCall:function(){return q},userListCall:function(){return Z},userRequestModelCall:function(){return eY},userSpendLogsCall:function(){return eB},userUpdateUserCall:function(){return tc},v2TeamListCall:function(){return W},vectorStoreCreateCall:function(){return t5},vectorStoreDeleteCall:function(){return t9},vectorStoreInfoCall:function(){return t7},vectorStoreListCall:function(){return t6},vectorStoreSearchCall:function(){return oy},vectorStoreUpdateCall:function(){return t8}});var a=o(42264),r=o(3914),n=o(63610),l=o(9114);let c=e=>{let t=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(o,"-").concat(a)},i=null,s="/",d=null;console.log=function(){};let u=()=>window.location,p=function(e){var t;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=u(),r=null!==(t=null==a?void 0:a.origin)&&void 0!==t?t:null,n=o||r;if(console.log("proxyBaseUrl:",d),console.log("serverRootPath:",e),!n){console.log("Updated proxyBaseUrl:",d=null!=d?d:null);return}e.length>0&&!n.endsWith(e)&&"/"!=e&&(n+=e),console.log("Updated proxyBaseUrl:",d=n)},h=()=>{var e;if(d)return d;let t=u();return null!==(e=null==t?void 0:t.origin)&&void 0!==e?e:""},g={GET:"GET",DELETE:"DELETE"},m="default_organization",f=0,w=async e=>{let t=Date.now();if(t-f>6e4){if(e.includes("Authentication Error - Expired Key")){l.Z.info("UI Session Expired. Logging out."),f=t,(0,r.b)();let e=u();e&&(window.location.href=e.pathname)}f=t}else console.log("Error suppressed to prevent spam:",e)},y="Authorization",j="x-mcp-auth";function _(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Authorization";console.log("setGlobalLitellmHeaderName: ".concat(e)),y=e}let C=async(e,t)=>{let o=d?"".concat(d,"/model_group/make_public"):"/model_group/make_public";return(await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({model_groups:t})})).json()},k=async()=>{console.log("Getting UI config");let e=await fetch(i?"".concat(i,"/litellm/.well-known/litellm-ui-config"):"/litellm/.well-known/litellm-ui-config"),t=await e.json();return console.log("jsonData in getUiConfig:",t),p(t.server_root_path,t.proxy_base_url),t},v=async()=>{let e=await fetch(i?"".concat(i,"/public/model_hub/info"):"/public/model_hub/info");return await e.json()},T=async()=>{let e=d?"".concat(d,"/openapi.json"):"/openapi.json",t=await fetch(e);return await t.json()},E=async e=>{try{let t=d?"".concat(d,"/get/litellm_model_cost_map"):"/get/litellm_model_cost_map",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}}),a=await o.json();return console.log("received litellm model cost data: ".concat(a)),a}catch(e){throw console.error("Failed to get model cost map:",e),e}},S=async e=>{try{let t=d?"".concat(d,"/reload/model_cost_map"):"/reload/model_cost_map",o=await fetch(t,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}}),a=await o.json();return console.log("Model cost map reload response: ".concat(a)),a}catch(e){throw console.error("Failed to reload model cost map:",e),e}},b=async(e,t)=>{try{let o=d?"".concat(d,"/schedule/model_cost_map_reload?hours=").concat(t):"/schedule/model_cost_map_reload?hours=".concat(t),a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}}),r=await a.json();return console.log("Schedule model cost map reload response: ".concat(r)),r}catch(e){throw console.error("Failed to schedule model cost map reload:",e),e}},F=async e=>{try{let t=d?"".concat(d,"/schedule/model_cost_map_reload"):"/schedule/model_cost_map_reload",o=await fetch(t,{method:"DELETE",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}}),a=await o.json();return console.log("Cancel model cost map reload response: ".concat(a)),a}catch(e){throw console.error("Failed to cancel model cost map reload:",e),e}},P=async e=>{try{let t=d?"".concat(d,"/schedule/model_cost_map_reload/status"):"/schedule/model_cost_map_reload/status";console.log("Fetching status from URL:",t);let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){console.error("Status request failed with status: ".concat(o.status));let e=await o.text();throw console.error("Error response:",e),Error("HTTP ".concat(o.status,": ").concat(e))}let a=await o.json();return console.log("Model cost map reload status:",a),a}catch(e){throw console.error("Failed to get model cost map reload status:",e),e}},O=async(e,t)=>{try{let o=d?"".concat(d,"/model/new"):"/model/new",r=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("API Response:",n),a.ZP.destroy(),l.Z.success("Model ".concat(t.model_name," created successfully")),n}catch(e){throw console.error("Failed to create key:",e),e}},B=async e=>{try{let t=d?"".concat(d,"/model/settings"):"/model/settings",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){console.error("Failed to get model settings:",e)}},N=async(e,t)=>{console.log("model_id in model delete call: ".concat(t));try{let o=d?"".concat(d,"/model/delete"):"/model/delete",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({id:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},x=async(e,t)=>{if(console.log("budget_id in budget delete call: ".concat(t)),null!=e)try{let o=d?"".concat(d,"/budget/delete"):"/budget/delete",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({id:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},G=async(e,t)=>{try{console.log("Form Values in budgetCreateCall:",t),console.log("Form Values after check:",t);let o=d?"".concat(d,"/budget/new"):"/budget/new",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},A=async(e,t)=>{try{console.log("Form Values in budgetUpdateCall:",t),console.log("Form Values after check:",t);let o=d?"".concat(d,"/budget/update"):"/budget/update",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},J=async(e,t)=>{try{let o=d?"".concat(d,"/invitation/new"):"/invitation/new",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({user_id:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},U=async(e,t)=>{try{console.log("Form Values in invitationCreateCall:",t),console.log("Form Values after check:",t);let o=d?"".concat(d,"/invitation/claim"):"/invitation/claim",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},R=async e=>{try{let t=d?"".concat(d,"/alerting/settings"):"/alerting/settings",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to get callbacks:",e),e}},I=async(e,t)=>{try{for(let e of(console.log("Form Values in keyCreateServiceAccountCall:",t),t.description&&(t.metadata||(t.metadata={}),t.metadata.description=t.description,delete t.description,t.metadata=JSON.stringify(t.metadata)),n.d))if(t[e]){console.log("formValues.".concat(e,":"),t[e]);try{t[e]=JSON.parse(t[e])}catch(t){throw Error("Failed to parse ".concat(e,": ")+t)}}console.log("Form Values after check:",t);let o=d?"".concat(d,"/key/service-account/generate"):"/key/service-account/generate",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.text();throw w(e),console.error("Error response from the server:",e),Error(e)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},M=async(e,t,o)=>{try{for(let e of(console.log("Form Values in keyCreateCall:",o),o.description&&(o.metadata||(o.metadata={}),o.metadata.description=o.description,delete o.description,o.metadata=JSON.stringify(o.metadata)),n.d))if(o[e]){console.log("formValues.".concat(e,":"),o[e]);try{o[e]=JSON.parse(o[e])}catch(t){throw Error("Failed to parse ".concat(e,": ")+t)}}console.log("Form Values after check:",o);let a=d?"".concat(d,"/key/generate"):"/key/generate",r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({user_id:t,...o})});if(!r.ok){let e=await r.text();throw w(e),console.error("Error response from the server:",e),Error(e)}let l=await r.json();return console.log("API Response:",l),l}catch(e){throw console.error("Failed to create key:",e),e}},z=async(e,t,o)=>{try{if(console.log("Form Values in keyCreateCall:",o),o.description&&(o.metadata||(o.metadata={}),o.metadata.description=o.description,delete o.description,o.metadata=JSON.stringify(o.metadata)),o.auto_create_key=!1,o.metadata){console.log("formValues.metadata:",o.metadata);try{o.metadata=JSON.parse(o.metadata)}catch(e){throw Error("Failed to parse metadata: "+e)}}console.log("Form Values after check:",o);let a=d?"".concat(d,"/user/new"):"/user/new",r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({user_id:t,...o})});if(!r.ok){let e=await r.text();throw w(e),console.error("Error response from the server:",e),Error(e)}let n=await r.json();return console.log("API Response:",n),n}catch(e){throw console.error("Failed to create key:",e),e}},L=async(e,t)=>{try{let o=d?"".concat(d,"/key/delete"):"/key/delete";console.log("in keyDeleteCall:",t);let a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({keys:[t]})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to create key:",e),e}},D=async(e,t)=>{try{let o=d?"".concat(d,"/user/delete"):"/user/delete";console.log("in userDeleteCall:",t);let a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({user_ids:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to delete user(s):",e),e}},V=async(e,t)=>{try{let o=d?"".concat(d,"/team/delete"):"/team/delete";console.log("in teamDeleteCall:",t);let a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({team_ids:[t]})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to delete key:",e),e}},Z=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,i=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,s=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null;try{let u=d?"".concat(d,"/user/list"):"/user/list";console.log("in userListCall");let p=new URLSearchParams;if(t&&t.length>0){let e=t.join(",");p.append("user_ids",e)}o&&p.append("page",o.toString()),a&&p.append("page_size",a.toString()),r&&p.append("user_email",r),n&&p.append("role",n),l&&p.append("team",l),c&&p.append("sso_user_ids",c),i&&p.append("sort_by",i),s&&p.append("sort_order",s);let h=p.toString();h&&(u+="?".concat(h));let g=await fetch(u,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!g.ok){let e=await g.json(),t=oS(e);throw w(t),Error(t)}let m=await g.json();return console.log("/user/list API Response:",m),m}catch(e){throw console.error("Failed to create key:",e),e}},q=async function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4?arguments[4]:void 0,n=arguments.length>5?arguments[5]:void 0,l=arguments.length>6&&void 0!==arguments[6]&&arguments[6];console.log("userInfoCall: ".concat(t,", ").concat(o,", ").concat(a,", ").concat(r,", ").concat(n,", ").concat(l));try{let c;if(a){c=d?"".concat(d,"/user/list"):"/user/list";let e=new URLSearchParams;null!=r&&e.append("page",r.toString()),null!=n&&e.append("page_size",n.toString()),c+="?".concat(e.toString())}else c=d?"".concat(d,"/user/info"):"/user/info",("Admin"!==o&&"Admin Viewer"!==o||l)&&t&&(c+="?user_id=".concat(t));console.log("Requesting user data from:",c);let i=await fetch(c,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!i.ok){let e=await i.json(),t=oS(e);throw w(t),Error(t)}let s=await i.json();return console.log("API Response:",s),s}catch(e){throw console.error("Failed to fetch user data:",e),e}},H=async(e,t)=>{try{let o=d?"".concat(d,"/team/info"):"/team/info";t&&(o="".concat(o,"?team_id=").concat(t)),console.log("in teamInfoCall");let a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},W=async function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;arguments.length>5&&void 0!==arguments[5]&&arguments[5],arguments.length>6&&void 0!==arguments[6]&&arguments[6],arguments.length>7&&void 0!==arguments[7]&&arguments[7],arguments.length>8&&void 0!==arguments[8]&&arguments[8];try{let n=d?"".concat(d,"/v2/team/list"):"/v2/team/list";console.log("in teamInfoCall");let l=new URLSearchParams;o&&l.append("user_id",o.toString()),t&&l.append("organization_id",t.toString()),a&&l.append("team_id",a.toString()),r&&l.append("team_alias",r.toString());let c=l.toString();c&&(n+="?".concat(c));let i=await fetch(n,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!i.ok){let e=await i.json(),t=oS(e);throw w(t),Error(t)}let s=await i.json();return console.log("/v2/team/list API Response:",s),s}catch(e){throw console.error("Failed to create key:",e),e}},Y=async function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;try{let n=d?"".concat(d,"/team/list"):"/team/list";console.log("in teamInfoCall");let l=new URLSearchParams;o&&l.append("user_id",o.toString()),t&&l.append("organization_id",t.toString()),a&&l.append("team_id",a.toString()),r&&l.append("team_alias",r.toString());let c=l.toString();c&&(n+="?".concat(c));let i=await fetch(n,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!i.ok){let e=await i.json(),t=oS(e);throw w(t),Error(t)}let s=await i.json();return console.log("/team/list API Response:",s),s}catch(e){throw console.error("Failed to create key:",e),e}},K=async e=>{try{let t=d?"".concat(d,"/team/available"):"/team/available";console.log("in availableTeamListCall");let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("/team/available_teams API Response:",a),a}catch(e){throw e}},$=async e=>{try{let t=d?"".concat(d,"/organization/list"):"/organization/list",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to create key:",e),e}},Q=async(e,t)=>{try{let o=d?"".concat(d,"/organization/info"):"/organization/info";t&&(o="".concat(o,"?organization_id=").concat(t)),console.log("in teamInfoCall");let a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},X=async(e,t)=>{try{if(console.log("Form Values in organizationCreateCall:",t),t.metadata){console.log("formValues.metadata:",t.metadata);try{t.metadata=JSON.parse(t.metadata)}catch(e){throw console.error("Failed to parse metadata:",e),Error("Failed to parse metadata: "+e)}}let o=d?"".concat(d,"/organization/new"):"/organization/new",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},ee=async(e,t)=>{try{console.log("Form Values in organizationUpdateCall:",t);let o=d?"".concat(d,"/organization/update"):"/organization/update",a=await fetch(o,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("Update Team Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},et=async(e,t)=>{try{let o=d?"".concat(d,"/organization/delete"):"/organization/delete",a=await fetch(o,{method:"DELETE",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({organization_ids:[t]})});if(!a.ok){let e=await a.text();throw w(e),Error("Error deleting organization: ".concat(e))}return await a.json()}catch(e){throw console.error("Failed to delete organization:",e),e}},eo=async(e,t)=>{try{let o=d?"".concat(d,"/utils/transform_request"):"/utils/transform_request",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to create key:",e),e}},ea=async function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;try{let r=d?"".concat(d,"/user/daily/activity"):"/user/daily/activity",n=new URLSearchParams;n.append("start_date",c(t)),n.append("end_date",c(o)),n.append("page_size","1000"),n.append("page",a.toString());let l=n.toString();l&&(r+="?".concat(l));let i=await fetch(r,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!i.ok){let e=await i.json(),t=oS(e);throw w(t),Error(t)}return await i.json()}catch(e){throw console.error("Failed to create key:",e),e}},er=async function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;try{let n=d?"".concat(d,"/tag/daily/activity"):"/tag/daily/activity",l=new URLSearchParams;l.append("start_date",c(t)),l.append("end_date",c(o)),l.append("page_size","1000"),l.append("page",a.toString()),r&&l.append("tags",r.join(","));let i=l.toString();i&&(n+="?".concat(i));let s=await fetch(n,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!s.ok){let e=await s.json(),t=oS(e);throw w(t),Error(t)}return await s.json()}catch(e){throw console.error("Failed to create key:",e),e}},en=async function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;try{let n=d?"".concat(d,"/team/daily/activity"):"/team/daily/activity",l=new URLSearchParams;l.append("start_date",c(t)),l.append("end_date",c(o)),l.append("page_size","1000"),l.append("page",a.toString()),r&&l.append("team_ids",r.join(",")),l.append("exclude_team_ids","litellm-dashboard");let i=l.toString();i&&(n+="?".concat(i));let s=await fetch(n,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!s.ok){let e=await s.json(),t=oS(e);throw w(t),Error(t)}return await s.json()}catch(e){throw console.error("Failed to create key:",e),e}},el=async e=>{try{let t=d?"".concat(d,"/global/spend"):"/global/spend",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to create key:",e),e}},ec=async e=>{try{let t=d?"".concat(d,"/onboarding/get_token"):"/onboarding/get_token";t+="?invite_link=".concat(e);let o=await fetch(t,{method:"GET",headers:{"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to create key:",e),e}},ei=async(e,t,o,a)=>{let r=d?"".concat(d,"/onboarding/claim_token"):"/onboarding/claim_token";try{let n=await fetch(r,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({invitation_link:t,user_id:o,password:a})});if(!n.ok){let e=await n.json(),t=oS(e);throw w(t),Error(t)}let l=await n.json();return console.log(l),l}catch(e){throw console.error("Failed to delete key:",e),e}},es=async(e,t,o)=>{try{let a=d?"".concat(d,"/key/").concat(t,"/regenerate"):"/key/".concat(t,"/regenerate"),r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(o)});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("Regenerate key Response:",n),n}catch(e){throw console.error("Failed to regenerate key:",e),e}},ed=!1,eu=null,ep=async(e,t,o)=>{try{console.log("modelInfoCall:",e,t,o);let a=d?"".concat(d,"/v2/model/info"):"/v2/model/info",r=new URLSearchParams;r.append("include_team_models","true"),r.toString()&&(a+="?".concat(r.toString()));let n=await fetch(a,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!n.ok){let e=await n.text();throw e+="error shown=".concat(ed),ed||(e.includes("No model list passed")&&(e="No Models Exist. Click Add Model to get started."),l.Z.info(e),ed=!0,eu&&clearTimeout(eu),eu=setTimeout(()=>{ed=!1},1e4)),Error("Network response was not ok")}let c=await n.json();return console.log("modelInfoCall:",c),c}catch(e){throw console.error("Failed to create key:",e),e}},eh=async(e,t)=>{try{let o=d?"".concat(d,"/v1/model/info"):"/v1/model/info";o+="?litellm_model_id=".concat(t);let a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("modelInfoV1Call:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},eg=async()=>{let e=d?"".concat(d,"/public/model_hub"):"/public/model_hub";return(await fetch(e,{method:"GET",headers:{"Content-Type":"application/json"}})).json()},em=async e=>{try{let t=d?"".concat(d,"/model_group/info"):"/model_group/info",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("modelHubCall:",a),a}catch(e){throw console.error("Failed to create key:",e),e}},ef=async e=>{try{let t=d?"".concat(d,"/get/allowed_ips"):"/get/allowed_ips",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("getAllowedIPs:",a),a.data}catch(e){throw console.error("Failed to get allowed IPs:",e),e}},ew=async(e,t)=>{try{let o=d?"".concat(d,"/add/allowed_ip"):"/add/allowed_ip",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({ip:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("addAllowedIP:",r),r}catch(e){throw console.error("Failed to add allowed IP:",e),e}},ey=async(e,t)=>{try{let o=d?"".concat(d,"/delete/allowed_ip"):"/delete/allowed_ip",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({ip:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("deleteAllowedIP:",r),r}catch(e){throw console.error("Failed to delete allowed IP:",e),e}},ej=async(e,t,o,a,r,n,l,c)=>{try{let t=d?"".concat(d,"/model/metrics"):"/model/metrics";a&&(t="".concat(t,"?_selected_model_group=").concat(a,"&startTime=").concat(r,"&endTime=").concat(n,"&api_key=").concat(l,"&customer=").concat(c));let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to create key:",e),e}},e_=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/model/streaming_metrics"):"/model/streaming_metrics";t&&(r="".concat(r,"?_selected_model_group=").concat(t,"&startTime=").concat(o,"&endTime=").concat(a));let n=await fetch(r,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!n.ok){let e=await n.json(),t=oS(e);throw w(t),Error(t)}return await n.json()}catch(e){throw console.error("Failed to create key:",e),e}},eC=async(e,t,o,a,r,n,l,c)=>{try{let t=d?"".concat(d,"/model/metrics/slow_responses"):"/model/metrics/slow_responses";a&&(t="".concat(t,"?_selected_model_group=").concat(a,"&startTime=").concat(r,"&endTime=").concat(n,"&api_key=").concat(l,"&customer=").concat(c));let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to create key:",e),e}},ek=async(e,t,o,a,r,n,l,c)=>{try{let t=d?"".concat(d,"/model/metrics/exceptions"):"/model/metrics/exceptions";a&&(t="".concat(t,"?_selected_model_group=").concat(a,"&startTime=").concat(r,"&endTime=").concat(n,"&api_key=").concat(l,"&customer=").concat(c));let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to create key:",e),e}},ev=async(e,t)=>{try{let o=d?"".concat(d,"/model_hub/update_useful_links"):"/model_hub/update_useful_links",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({useful_links:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to create key:",e),e}},eT=async function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,n=(arguments.length>5&&void 0!==arguments[5]&&arguments[5],arguments.length>6&&void 0!==arguments[6]&&arguments[6]);console.log("in /models calls, globalLitellmHeaderName",y);try{let t=d?"".concat(d,"/models"):"/models",o=new URLSearchParams;o.append("include_model_access_groups","True"),!0===a&&o.append("return_wildcard_routes","True"),!0===n&&o.append("only_model_access_groups","True"),r&&o.append("team_id",r.toString()),o.toString()&&(t+="?".concat(o.toString()));let l=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!l.ok){let e=await l.json(),t=oS(e);throw w(t),Error(t)}return await l.json()}catch(e){throw console.error("Failed to create key:",e),e}},eE=async(e,t)=>{try{let o=d?"".concat(d,"/global/spend/logs"):"/global/spend/logs";console.log("in keySpendLogsCall:",o);let a=await fetch("".concat(o,"?api_key=").concat(t),{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to create key:",e),e}},eS=async e=>{try{let t=d?"".concat(d,"/global/spend/teams"):"/global/spend/teams";console.log("in teamSpendLogsCall:",t);let o=await fetch("".concat(t),{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log(a),a}catch(e){throw console.error("Failed to create key:",e),e}},eb=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/global/spend/tags"):"/global/spend/tags";t&&o&&(r="".concat(r,"?start_date=").concat(t,"&end_date=").concat(o)),a&&(r+="".concat(r,"&tags=").concat(a.join(","))),console.log("in tagsSpendLogsCall:",r);let n=await fetch("".concat(r),{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!n.ok){let e=await n.json(),t=oS(e);throw w(t),Error(t)}let l=await n.json();return console.log(l),l}catch(e){throw console.error("Failed to create key:",e),e}},eF=async e=>{try{let t=d?"".concat(d,"/global/spend/all_tag_names"):"/global/spend/all_tag_names";console.log("in global/spend/all_tag_names call",t);let o=await fetch("".concat(t),{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log(a),a}catch(e){throw console.error("Failed to create key:",e),e}},eP=async e=>{try{let t=d?"".concat(d,"/customer/list"):"/customer/list";console.log("in customer/list",t);let o=await fetch("".concat(t),{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log(a),a}catch(e){throw console.error("Failed to create key:",e),e}},eO=async(e,t)=>{try{let o=d?"".concat(d,"/user/filter/ui"):"/user/filter/ui";t.get("user_email")&&(o+="?user_email=".concat(t.get("user_email"))),t.get("user_id")&&(o+="?user_id=".concat(t.get("user_id")));let a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to create key:",e),e}},eB=async(e,t,o,a,r,n)=>{try{console.log("user role in spend logs call: ".concat(o));let t=d?"".concat(d,"/spend/logs"):"/spend/logs";t="App Owner"==o?"".concat(t,"?user_id=").concat(a,"&start_date=").concat(r,"&end_date=").concat(n):"".concat(t,"?start_date=").concat(r,"&end_date=").concat(n);let l=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!l.ok){let e=await l.json(),t=oS(e);throw w(t),Error(t)}let c=await l.json();return console.log(c),c}catch(e){throw console.error("Failed to create key:",e),e}},eN=async(e,t,o,a,r,n,l,c,i,s,u,p,h)=>{try{let g=d?"".concat(d,"/spend/logs/ui"):"/spend/logs/ui",m=new URLSearchParams;t&&m.append("api_key",t),o&&m.append("team_id",o),a&&m.append("request_id",a),r&&m.append("start_date",r),n&&m.append("end_date",n),l&&m.append("page",l.toString()),c&&m.append("page_size",c.toString()),i&&m.append("user_id",i),s&&m.append("end_user",s),u&&m.append("status_filter",u),p&&m.append("model",p),h&&m.append("key_alias",h);let f=m.toString();f&&(g+="?".concat(f));let j=await fetch(g,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!j.ok){let e=await j.json(),t=oS(e);throw w(t),Error(t)}let _=await j.json();return console.log("Spend Logs Response:",_),_}catch(e){throw console.error("Failed to fetch spend logs:",e),e}},ex=async e=>{try{let t=d?"".concat(d,"/global/spend/logs"):"/global/spend/logs",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log(a),a}catch(e){throw console.error("Failed to create key:",e),e}},eG=async e=>{try{let t=d?"".concat(d,"/global/spend/keys?limit=5"):"/global/spend/keys?limit=5",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log(a),a}catch(e){throw console.error("Failed to create key:",e),e}},eA=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/global/spend/end_users"):"/global/spend/end_users",n="";n=t?JSON.stringify({api_key:t,startTime:o,endTime:a}):JSON.stringify({startTime:o,endTime:a});let l={method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:n},c=await fetch(r,l);if(!c.ok){let e=await c.json(),t=oS(e);throw w(t),Error(t)}let i=await c.json();return console.log(i),i}catch(e){throw console.error("Failed to create key:",e),e}},eJ=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/global/spend/provider"):"/global/spend/provider";o&&a&&(r+="?start_date=".concat(o,"&end_date=").concat(a)),t&&(r+="&api_key=".concat(t));let n={method:"GET",headers:{[y]:"Bearer ".concat(e)}},l=await fetch(r,n);if(!l.ok){let e=await l.json(),t=oS(e);throw w(t),Error(t)}let c=await l.json();return console.log(c),c}catch(e){throw console.error("Failed to fetch spend data:",e),e}},eU=async(e,t,o)=>{try{let a=d?"".concat(d,"/global/activity"):"/global/activity";t&&o&&(a+="?start_date=".concat(t,"&end_date=").concat(o));let r={method:"GET",headers:{[y]:"Bearer ".concat(e)}},n=await fetch(a,r);if(!n.ok){let e=await n.json(),t=oS(e);throw w(t),Error(t)}let l=await n.json();return console.log(l),l}catch(e){throw console.error("Failed to fetch spend data:",e),e}},eR=async(e,t,o)=>{try{let a=d?"".concat(d,"/global/activity/cache_hits"):"/global/activity/cache_hits";t&&o&&(a+="?start_date=".concat(t,"&end_date=").concat(o));let r={method:"GET",headers:{[y]:"Bearer ".concat(e)}},n=await fetch(a,r);if(!n.ok){let e=await n.json(),t=oS(e);throw w(t),Error(t)}let l=await n.json();return console.log(l),l}catch(e){throw console.error("Failed to fetch spend data:",e),e}},eI=async(e,t,o)=>{try{let a=d?"".concat(d,"/global/activity/model"):"/global/activity/model";t&&o&&(a+="?start_date=".concat(t,"&end_date=").concat(o));let r={method:"GET",headers:{[y]:"Bearer ".concat(e)}},n=await fetch(a,r);if(!n.ok){let e=await n.json(),t=oS(e);throw w(t),Error(t)}let l=await n.json();return console.log(l),l}catch(e){throw console.error("Failed to fetch spend data:",e),e}},eM=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/global/activity/exceptions"):"/global/activity/exceptions";t&&o&&(r+="?start_date=".concat(t,"&end_date=").concat(o)),a&&(r+="&model_group=".concat(a));let n={method:"GET",headers:{[y]:"Bearer ".concat(e)}},l=await fetch(r,n);if(!l.ok){let e=await l.json(),t=oS(e);throw w(t),Error(t)}let c=await l.json();return console.log(c),c}catch(e){throw console.error("Failed to fetch spend data:",e),e}},ez=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/global/activity/exceptions/deployment"):"/global/activity/exceptions/deployment";t&&o&&(r+="?start_date=".concat(t,"&end_date=").concat(o)),a&&(r+="&model_group=".concat(a));let n={method:"GET",headers:{[y]:"Bearer ".concat(e)}},l=await fetch(r,n);if(!l.ok){let e=await l.json(),t=oS(e);throw w(t),Error(t)}let c=await l.json();return console.log(c),c}catch(e){throw console.error("Failed to fetch spend data:",e),e}},eL=async e=>{try{let t=d?"".concat(d,"/global/spend/models?limit=5"):"/global/spend/models?limit=5",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log(a),a}catch(e){throw console.error("Failed to create key:",e),e}},eD=async(e,t)=>{try{let o=d?"".concat(d,"/v2/key/info"):"/v2/key/info",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({keys:t})});if(!a.ok){let e=await a.text();if(e.includes("Invalid proxy server token passed"))throw Error("Invalid proxy server token passed");throw w(e),Error("Network response was not ok")}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to create key:",e),e}},eV=async(e,t,o,a)=>{try{console.log("Sending model connection test request:",JSON.stringify(t));let n=d?"".concat(d,"/health/test_connection"):"/health/test_connection",l=await fetch(n,{method:"POST",headers:{"Content-Type":"application/json",[y]:"Bearer ".concat(e)},body:JSON.stringify({litellm_params:t,model_info:o,mode:a})}),c=l.headers.get("content-type");if(!c||!c.includes("application/json")){let e=await l.text();throw console.error("Received non-JSON response:",e),Error("Received non-JSON response (".concat(l.status,": ").concat(l.statusText,"). Check network tab for details."))}let i=await l.json();if(!l.ok||"error"===i.status){if("error"===i.status);else{var r;return{status:"error",message:(null===(r=i.error)||void 0===r?void 0:r.message)||"Connection test failed: ".concat(l.status," ").concat(l.statusText)}}}return i}catch(e){throw console.error("Model connection test error:",e),e}},eZ=async(e,t)=>{try{console.log("entering keyInfoV1Call");let o=d?"".concat(d,"/key/info"):"/key/info";o="".concat(o,"?key=").concat(t);let a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(console.log("response",a),!a.ok){let e=await a.text();w(e),l.Z.fromBackend("Failed to fetch key info - "+e)}let r=await a.json();return console.log("data",r),r}catch(e){throw console.error("Failed to fetch key info:",e),e}},eq=async function(e,t,o,a,r,n,l,c){let i=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,s=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null;try{let u=d?"".concat(d,"/key/list"):"/key/list";console.log("in keyListCall");let p=new URLSearchParams;o&&p.append("team_id",o.toString()),t&&p.append("organization_id",t.toString()),a&&p.append("key_alias",a),n&&p.append("key_hash",n),r&&p.append("user_id",r.toString()),l&&p.append("page",l.toString()),c&&p.append("size",c.toString()),i&&p.append("sort_by",i),s&&p.append("sort_order",s),p.append("return_full_object","true"),p.append("include_team_keys","true"),p.append("include_created_by_keys","true");let h=p.toString();h&&(u+="?".concat(h));let g=await fetch(u,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!g.ok){let e=await g.json(),t=oS(e);throw w(t),Error(t)}let m=await g.json();return console.log("/team/list API Response:",m),m}catch(e){throw console.error("Failed to create key:",e),e}},eH=async e=>{try{let t=d?"".concat(d,"/key/aliases"):"/key/aliases";console.log("in keyAliasesCall");let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("/key/aliases API Response:",a),a}catch(e){throw console.error("Failed to fetch key aliases:",e),e}},eW=async(e,t)=>{try{let o=d?"".concat(d,"/spend/users"):"/spend/users";console.log("in spendUsersCall:",o);let a=await fetch("".concat(o,"?user_id=").concat(t),{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to get spend for user",e),e}},eY=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/user/request_model"):"/user/request_model",n=await fetch(r,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({models:[t],user_id:o,justification:a})});if(!n.ok){let e=await n.json(),t=oS(e);throw w(t),Error(t)}let l=await n.json();return console.log(l),l}catch(e){throw console.error("Failed to create key:",e),e}},eK=async e=>{try{let t=d?"".concat(d,"/user/get_requests"):"/user/get_requests";console.log("in userGetRequesedtModelsCall:",t);let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log(a),a}catch(e){throw console.error("Failed to get requested models:",e),e}},e$=async(e,t,o)=>{try{let a=d?"".concat(d,"/user/daily/activity/aggregated"):"/user/daily/activity/aggregated",r=new URLSearchParams,n=e=>{let t=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(o,"-").concat(a)};r.append("start_date",n(t)),r.append("end_date",n(o));let l=r.toString();l&&(a+="?".concat(l));let c=await fetch(a,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!c.ok){let e=await c.json(),t=oS(e);throw w(t),Error(t)}return await c.json()}catch(e){throw console.error("Failed to fetch aggregated user daily activity:",e),e}},eQ=async(e,t)=>{try{let o=d?"".concat(d,"/user/get_users?role=").concat(t):"/user/get_users?role=".concat(t);console.log("in userGetAllUsersCall:",o);let a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to get requested models:",e),e}},eX=async e=>{try{let t=d?"".concat(d,"/user/available_roles"):"/user/available_roles",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("response from user/available_role",a),a}catch(e){throw e}},e0=async(e,t)=>{try{if(console.log("Form Values in teamCreateCall:",t),t.metadata){console.log("formValues.metadata:",t.metadata);try{t.metadata=JSON.parse(t.metadata)}catch(e){throw Error("Failed to parse metadata: "+e)}}let o=d?"".concat(d,"/team/new"):"/team/new",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},e1=async(e,t)=>{try{if(console.log("Form Values in credentialCreateCall:",t),t.metadata){console.log("formValues.metadata:",t.metadata);try{t.metadata=JSON.parse(t.metadata)}catch(e){throw Error("Failed to parse metadata: "+e)}}let o=d?"".concat(d,"/credentials"):"/credentials",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},e2=async e=>{try{let t=d?"".concat(d,"/credentials"):"/credentials";console.log("in credentialListCall");let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("/credentials API Response:",a),a}catch(e){throw console.error("Failed to create key:",e),e}},e4=async(e,t,o)=>{try{let a=d?"".concat(d,"/credentials"):"/credentials";t?a+="/by_name/".concat(t):o&&(a+="/by_model/".concat(o)),console.log("in credentialListCall");let r=await fetch(a,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("/credentials API Response:",n),n}catch(e){throw console.error("Failed to create key:",e),e}},e3=async(e,t)=>{try{let o=d?"".concat(d,"/credentials/").concat(t):"/credentials/".concat(t);console.log("in credentialDeleteCall:",t);let a=await fetch(o,{method:"DELETE",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to delete key:",e),e}},e5=async(e,t,o)=>{try{if(console.log("Form Values in credentialUpdateCall:",o),o.metadata){console.log("formValues.metadata:",o.metadata);try{o.metadata=JSON.parse(o.metadata)}catch(e){throw Error("Failed to parse metadata: "+e)}}let a=d?"".concat(d,"/credentials/").concat(t):"/credentials/".concat(t),r=await fetch(a,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...o})});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("API Response:",n),n}catch(e){throw console.error("Failed to create key:",e),e}},e6=async(e,t)=>{try{if(console.log("Form Values in keyUpdateCall:",t),t.model_tpm_limit){console.log("formValues.model_tpm_limit:",t.model_tpm_limit);try{t.model_tpm_limit=JSON.parse(t.model_tpm_limit)}catch(e){throw Error("Failed to parse model_tpm_limit: "+e)}}if(t.model_rpm_limit){console.log("formValues.model_rpm_limit:",t.model_rpm_limit);try{t.model_rpm_limit=JSON.parse(t.model_rpm_limit)}catch(e){throw Error("Failed to parse model_rpm_limit: "+e)}}let o=d?"".concat(d,"/key/update"):"/key/update",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.text();throw w(e),console.error("Error response from the server:",e),Error(e)}let r=await a.json();return console.log("Update key Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},e9=async(e,t)=>{try{console.log("Form Values in teamUpateCall:",t);let o=d?"".concat(d,"/team/update"):"/team/update",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.text();throw w(e),console.error("Error response from the server:",e),l.Z.fromBackend("Failed to update team settings: "+e),Error(e)}let r=await a.json();return console.log("Update Team Response:",r),r}catch(e){throw console.error("Failed to update team:",e),e}},e7=async(e,t,o)=>{try{console.log("Form Values in modelUpateCall:",t);let a=d?"".concat(d,"/model/").concat(o,"/update"):"/model/".concat(o,"/update"),r=await fetch(a,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!r.ok){let e=await r.text();throw w(e),console.error("Error update from the server:",e),Error("Network response was not ok")}let n=await r.json();return console.log("Update model Response:",n),n}catch(e){throw console.error("Failed to update model:",e),e}},e8=async(e,t)=>{try{console.log("Form Values in modelUpateCall:",t);let o=d?"".concat(d,"/model/update"):"/model/update",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.text();throw w(e),console.error("Error update from the server:",e),Error("Network response was not ok")}let r=await a.json();return console.log("Update model Response:",r),r}catch(e){throw console.error("Failed to update model:",e),e}},te=async(e,t,o)=>{try{console.log("Form Values in teamMemberAddCall:",o);let r=d?"".concat(d,"/team/member_add"):"/team/member_add",n=await fetch(r,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({team_id:t,member:o})});if(!n.ok){var a;let e=await n.text(),t={};try{t=JSON.parse(e)}catch(t){console.warn("Failed to parse error body as JSON:",e)}let o=(null==t?void 0:null===(a=t.detail)||void 0===a?void 0:a.error)||"Failed to add team member",r=Error(o);throw r.raw=t,r}let l=await n.json();return console.log("API Response:",l),l}catch(e){throw console.error("Failed to create key:",e),e}},tt=async(e,t,o,a,r)=>{try{console.log("Bulk add team members:",{teamId:t,members:o,maxBudgetInTeam:a});let l=d?"".concat(d,"/team/bulk_member_add"):"/team/bulk_member_add",c={team_id:t};r?c.all_users=!0:c.members=o,null!=a&&(c.max_budget_in_team=a);let i=await fetch(l,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(c)});if(!i.ok){var n;let e=await i.text(),t={};try{t=JSON.parse(e)}catch(t){console.warn("Failed to parse error body as JSON:",e)}let o=(null==t?void 0:null===(n=t.detail)||void 0===n?void 0:n.error)||"Failed to bulk add team members",a=Error(o);throw a.raw=t,a}let s=await i.json();return console.log("Bulk team member add API Response:",s),s}catch(e){throw console.error("Failed to bulk add team members:",e),e}},to=async(e,t,o)=>{try{console.log("Form Values in teamMemberUpdateCall:",o),console.log("Budget value:",o.max_budget_in_team),console.log("TPM limit:",o.tpm_limit),console.log("RPM limit:",o.rpm_limit);let r=d?"".concat(d,"/team/member_update"):"/team/member_update",n={team_id:t,role:o.role,user_id:o.user_id};void 0!==o.user_email&&(n.user_email=o.user_email),void 0!==o.max_budget_in_team&&null!==o.max_budget_in_team&&(n.max_budget_in_team=o.max_budget_in_team),void 0!==o.tpm_limit&&null!==o.tpm_limit&&(n.tpm_limit=o.tpm_limit),void 0!==o.rpm_limit&&null!==o.rpm_limit&&(n.rpm_limit=o.rpm_limit),console.log("Final request body:",n);let l=await fetch(r,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(n)});if(!l.ok){var a;let e=await l.text(),t={};try{t=JSON.parse(e)}catch(t){console.warn("Failed to parse error body as JSON:",e)}let o=(null==t?void 0:null===(a=t.detail)||void 0===a?void 0:a.error)||"Failed to add team member",r=Error(o);throw r.raw=t,r}let c=await l.json();return console.log("API Response:",c),c}catch(e){throw console.error("Failed to update team member:",e),e}},ta=async(e,t,o)=>{try{console.log("Form Values in teamMemberAddCall:",o);let a=d?"".concat(d,"/team/member_delete"):"/team/member_delete",r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({team_id:t,...void 0!==o.user_email&&{user_email:o.user_email},...void 0!==o.user_id&&{user_id:o.user_id}})});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("API Response:",n),n}catch(e){throw console.error("Failed to create key:",e),e}},tr=async(e,t,o)=>{try{console.log("Form Values in teamMemberAddCall:",o);let a=d?"".concat(d,"/organization/member_add"):"/organization/member_add",r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({organization_id:t,member:o})});if(!r.ok){let e=await r.text();throw w(e),console.error("Error response from the server:",e),Error(e)}let n=await r.json();return console.log("API Response:",n),n}catch(e){throw console.error("Failed to create organization member:",e),e}},tn=async(e,t,o)=>{try{console.log("Form Values in organizationMemberDeleteCall:",o);let a=d?"".concat(d,"/organization/member_delete"):"/organization/member_delete",r=await fetch(a,{method:"DELETE",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({organization_id:t,user_id:o})});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("API Response:",n),n}catch(e){throw console.error("Failed to delete organization member:",e),e}},tl=async(e,t,o)=>{try{console.log("Form Values in organizationMemberUpdateCall:",o);let a=d?"".concat(d,"/organization/member_update"):"/organization/member_update",r=await fetch(a,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({organization_id:t,...o})});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("API Response:",n),n}catch(e){throw console.error("Failed to update organization member:",e),e}},tc=async(e,t,o)=>{try{console.log("Form Values in userUpdateUserCall:",t);let a=d?"".concat(d,"/user/update"):"/user/update",r={...t};null!==o&&(r.user_role=o),r=JSON.stringify(r);let n=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:r});if(!n.ok){let e=await n.json(),t=oS(e);throw w(t),Error(t)}let l=await n.json();return console.log("API Response:",l),l}catch(e){throw console.error("Failed to create key:",e),e}},ti=async function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];try{let r;console.log("Form Values in userUpdateUserCall:",t);let n=d?"".concat(d,"/user/bulk_update"):"/user/bulk_update";if(a)r=JSON.stringify({all_users:!0,user_updates:t});else if(o&&o.length>0){let e=[];for(let a of o)e.push({user_id:a,...t});r=JSON.stringify({users:e})}else throw Error("Must provide either userIds or set allUsers=true");let l=await fetch(n,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:r});if(!l.ok){let e=await l.json(),t=oS(e);throw w(t),Error(t)}let c=await l.json();return console.log("API Response:",c),c}catch(e){throw console.error("Failed to create key:",e),e}},ts=async(e,t)=>{try{let o=d?"".concat(d,"/global/predict/spend/logs"):"/global/predict/spend/logs",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({data:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to create key:",e),e}},td=async e=>{try{let t=d?"".concat(d,"/health/services?service=slack_budget_alerts"):"/health/services?service=slack_budget_alerts";console.log("Checking Slack Budget Alerts service health");let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.text();throw w(e),Error(e)}let a=await o.json();return l.Z.success("Test Slack Alert worked - check your Slack!"),console.log("Service Health Response:",a),a}catch(e){throw console.error("Failed to perform health check:",e),e}},tu=async(e,t)=>{try{let o=d?"".concat(d,"/health/services?service=").concat(t):"/health/services?service=".concat(t);console.log("Checking Slack Budget Alerts service health");let a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.text();throw w(e),Error(e)}return await a.json()}catch(e){throw console.error("Failed to perform health check:",e),e}},tp=async e=>{try{let t=d?"".concat(d,"/budget/list"):"/budget/list",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to get callbacks:",e),e}},th=async e=>{try{let t=d?"".concat(d,"/budget/settings"):"/budget/settings",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to get callbacks:",e),e}},tg=async(e,t,o)=>{try{let t=d?"".concat(d,"/get/config/callbacks"):"/get/config/callbacks",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to get callbacks:",e),e}},tm=async e=>{try{let t=d?"".concat(d,"/config/list?config_type=general_settings"):"/config/list?config_type=general_settings",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to get callbacks:",e),e}},tf=async(e,t)=>{try{let o=d?"".concat(d,"/config/pass_through_endpoint"):"/config/pass_through_endpoint";t&&(o+="/team/".concat(t));let a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to get callbacks:",e),e}},tw=async(e,t)=>{try{let o=d?"".concat(d,"/config/field/info?field_name=").concat(t):"/config/field/info?field_name=".concat(t),a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to set callbacks:",e),e}},ty=async(e,t,o)=>{try{let a=d?"".concat(d,"/config/pass_through_endpoint"):"/config/pass_through_endpoint",r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({field_name:t,field_value:o})});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return l.Z.success("Successfully updated value!"),n}catch(e){throw console.error("Failed to set callbacks:",e),e}},tj=async(e,t)=>{try{let o=d?"".concat(d,"/config/pass_through_endpoint"):"/config/pass_through_endpoint",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to set callbacks:",e),e}},t_=async(e,t,o)=>{try{let a=d?"".concat(d,"/config/field/update"):"/config/field/update",r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({field_name:t,field_value:o,config_type:"general_settings"})});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return l.Z.success("Successfully updated value!"),n}catch(e){throw console.error("Failed to set callbacks:",e),e}},tC=async(e,t)=>{try{let o=d?"".concat(d,"/config/field/delete"):"/config/field/delete",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({field_name:t,config_type:"general_settings"})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return l.Z.success("Field reset on proxy"),r}catch(e){throw console.error("Failed to get callbacks:",e),e}},tk=async(e,t)=>{try{let o=d?"".concat(d,"/config/pass_through_endpoint?endpoint_id=").concat(t):"/config/pass_through_endpoint?endpoint_id=".concat(t),a=await fetch(o,{method:"DELETE",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to get callbacks:",e),e}},tv=async(e,t)=>{try{let o=d?"".concat(d,"/config/update"):"/config/update",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to set callbacks:",e),e}},tT=async e=>{try{let t=d?"".concat(d,"/health"):"/health",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to call /health:",e),e}},tE=async(e,t)=>{try{let o=d?"".concat(d,"/health?model=").concat(encodeURIComponent(t)):"/health?model=".concat(encodeURIComponent(t)),a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to call /health for model ".concat(t,":"),e),e}},tS=async e=>{try{let t=d?"".concat(d,"/cache/ping"):"/cache/ping",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.text();throw w(e),Error(e)}return await o.json()}catch(e){throw console.error("Failed to call /cache/ping:",e),e}},tb=async function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:100,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;try{let n=d?"".concat(d,"/health/history"):"/health/history",l=new URLSearchParams;t&&l.append("model",t),o&&l.append("status_filter",o),l.append("limit",a.toString()),l.append("offset",r.toString()),l.toString()&&(n+="?".concat(l.toString()));let c=await fetch(n,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!c.ok){let e=await c.text();throw w(e),Error(e)}return await c.json()}catch(e){throw console.error("Failed to call /health/history:",e),e}},tF=async e=>{try{let t=d?"".concat(d,"/health/latest"):"/health/latest",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.text();throw w(e),Error(e)}return await o.json()}catch(e){throw console.error("Failed to call /health/latest:",e),e}},tP=async e=>{try{console.log("Getting proxy UI settings"),console.log("proxyBaseUrl in getProxyUISettings:",d);let t=d?"".concat(d,"/sso/get/ui_settings"):"/sso/get/ui_settings",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to get callbacks:",e),e}},tO=async e=>{try{let t=d?"".concat(d,"/v2/guardrails/list"):"/v2/guardrails/list",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to get guardrails list:",e),e}},tB=async e=>{try{let t=d?"".concat(d,"/prompts/list"):"/prompts/list",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to get prompts list:",e),e}},tN=async(e,t)=>{try{let o=d?"".concat(d,"/prompts/").concat(t,"/info"):"/prompts/".concat(t,"/info"),a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to get prompt info:",e),e}},tx=async(e,t)=>{try{let o=d?"".concat(d,"/prompts"):"/prompts",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to create prompt:",e),e}},tG=async(e,t,o)=>{try{let a=d?"".concat(d,"/prompts/").concat(t):"/prompts/".concat(t),r=await fetch(a,{method:"PUT",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(o)});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}return await r.json()}catch(e){throw console.error("Failed to update prompt:",e),e}},tA=async(e,t)=>{try{let o=d?"".concat(d,"/prompts/").concat(t):"/prompts/".concat(t),a=await fetch(o,{method:"DELETE",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to delete prompt:",e),e}},tJ=async(e,t)=>{try{let o=new FormData;o.append("file",t);let a=d?"".concat(d,"/utils/dotprompt_json_converter"):"/utils/dotprompt_json_converter",r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e)},body:o});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}return await r.json()}catch(e){throw console.error("Failed to convert prompt file:",e),e}},tU=async(e,t,o)=>{try{let a=d?"".concat(d,"/prompts/").concat(t):"/prompts/".concat(t),r=await fetch(a,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(o)});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}return await r.json()}catch(e){throw console.error("Failed to patch prompt:",e),e}},tR=async(e,t)=>{try{let o=d?"".concat(d,"/guardrails"):"/guardrails",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({guardrail:t})});if(!a.ok){let e=await a.text();throw w(e),Error(e)}let r=await a.json();return console.log("Create guardrail response:",r),r}catch(e){throw console.error("Failed to create guardrail:",e),e}},tI=async(e,t,o)=>{try{let a=d?"".concat(d,"/spend/logs/ui/").concat(t,"?start_date=").concat(encodeURIComponent(o)):"/spend/logs/ui/".concat(t,"?start_date=").concat(encodeURIComponent(o));console.log("Fetching log details from:",a);let r=await fetch(a,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("Fetched log details:",n),n}catch(e){throw console.error("Failed to fetch log details:",e),e}},tM=async e=>{try{let t=d?"".concat(d,"/get/internal_user_settings"):"/get/internal_user_settings";console.log("Fetching SSO settings from:",t);let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("Fetched SSO settings:",a),a}catch(e){throw console.error("Failed to fetch SSO settings:",e),e}},tz=async(e,t)=>{try{let o=d?"".concat(d,"/update/internal_user_settings"):"/update/internal_user_settings";console.log("Updating internal user settings:",t);let a=await fetch(o,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok){let e=await a.text();throw w(e),Error(e)}let r=await a.json();return console.log("Updated internal user settings:",r),l.Z.success("Internal user settings updated successfully"),r}catch(e){throw console.error("Failed to update internal user settings:",e),e}},tL=async e=>{try{let t=d?"".concat(d,"/v1/mcp/server"):"/v1/mcp/server";console.log("Fetching MCP servers from:",t);let o=await fetch(t,{method:g.GET,headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("Fetched MCP servers:",a),a}catch(e){throw console.error("Failed to fetch MCP servers:",e),e}},tD=async e=>{try{let t=d?"".concat(d,"/v1/mcp/access_groups"):"/v1/mcp/access_groups";console.log("Fetching MCP access groups from:",t);let o=await fetch(t,{method:g.GET,headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("Fetched MCP access groups:",a),a.access_groups||[]}catch(e){throw console.error("Failed to fetch MCP access groups:",e),e}},tV=async(e,t)=>{try{console.log("Form Values in createMCPServer:",t);let o=d?"".concat(d,"/v1/mcp/server"):"/v1/mcp/server",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},tZ=async(e,t)=>{try{let o=d?"".concat(d,"/v1/mcp/server"):"/v1/mcp/server",a=await fetch(o,{method:"PUT",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to update MCP server:",e),e}},tq=async(e,t)=>{try{let o=(d?"".concat(d):"")+"/v1/mcp/server/".concat(t);console.log("in deleteMCPServer:",t);let a=await fetch(o,{method:g.DELETE,headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}}catch(e){throw console.error("Failed to delete key:",e),e}},tH=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/mcp-rest/tools/list?server_id=").concat(t):"/mcp-rest/tools/list?server_id=".concat(t);console.log("Fetching MCP tools from:",r);let n={[y]:"Bearer ".concat(e),"Content-Type":"application/json"};a&&o?n["x-mcp-".concat(a,"-authorization")]=o:o&&(n[j]=o);let l=await fetch(r,{method:"GET",headers:n}),c=await l.json();if(console.log("Fetched MCP tools response:",c),!l.ok){if(c.error&&c.message)throw Error(c.message);throw Error("Failed to fetch MCP tools")}return c}catch(e){return console.error("Failed to fetch MCP tools:",e),{tools:[],error:"network_error",message:e instanceof Error?e.message:"Failed to fetch MCP tools"}}},tW=async(e,t,o,a,r)=>{try{let n=d?"".concat(d,"/mcp-rest/tools/call"):"/mcp-rest/tools/call";console.log("Calling MCP tool:",t,"with arguments:",o);let l={[y]:"Bearer ".concat(e),"Content-Type":"application/json"};r?l["x-mcp-".concat(r,"-authorization")]=a:l[j]=a;let c=await fetch(n,{method:"POST",headers:l,body:JSON.stringify({name:t,arguments:o})});if(!c.ok){let e="Network response was not ok",t=null,o=await c.text();try{let a=JSON.parse(o);a.detail?"string"==typeof a.detail?e=a.detail:"object"==typeof a.detail&&(e=a.detail.message||a.detail.error||"An error occurred",t=a.detail):e=a.message||a.error||e}catch(t){console.error("Failed to parse JSON error response:",t),o&&(e=o)}let a=Error(e);throw a.status=c.status,a.statusText=c.statusText,a.details=t,w(e),a}let i=await c.json();return console.log("MCP tool call response:",i),i}catch(e){throw console.error("Failed to call MCP tool:",e),console.error("Error type:",typeof e),e instanceof Error&&(console.error("Error message:",e.message),console.error("Error stack:",e.stack)),e}},tY=async(e,t)=>{try{let o=d?"".concat(d,"/tag/new"):"/tag/new",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify(t)});if(!a.ok){let e=await a.text();await w(e);return}return await a.json()}catch(e){throw console.error("Error creating tag:",e),e}},tK=async(e,t)=>{try{let o=d?"".concat(d,"/tag/update"):"/tag/update",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify(t)});if(!a.ok){let e=await a.text();await w(e);return}return await a.json()}catch(e){throw console.error("Error updating tag:",e),e}},t$=async(e,t)=>{try{let o=d?"".concat(d,"/tag/info"):"/tag/info",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify({names:t})});if(!a.ok){let e=await a.text();return await w(e),{}}return await a.json()}catch(e){throw console.error("Error getting tag info:",e),e}},tQ=async e=>{try{let t=d?"".concat(d,"/tag/list"):"/tag/list",o=await fetch(t,{method:"GET",headers:{Authorization:"Bearer ".concat(e)}});if(!o.ok){let e=await o.text();return await w(e),{}}return await o.json()}catch(e){throw console.error("Error listing tags:",e),e}},tX=async(e,t)=>{try{let o=d?"".concat(d,"/tag/delete"):"/tag/delete",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify({name:t})});if(!a.ok){let e=await a.text();await w(e);return}return await a.json()}catch(e){throw console.error("Error deleting tag:",e),e}},t0=async e=>{try{let t=d?"".concat(d,"/get/default_team_settings"):"/get/default_team_settings";console.log("Fetching default team settings from:",t);let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("Fetched default team settings:",a),a}catch(e){throw console.error("Failed to fetch default team settings:",e),e}},t1=async(e,t)=>{try{let o=d?"".concat(d,"/update/default_team_settings"):"/update/default_team_settings";console.log("Updating default team settings:",t);let a=await fetch(o,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("Updated default team settings:",r),l.Z.success("Default team settings updated successfully"),r}catch(e){throw console.error("Failed to update default team settings:",e),e}},t2=async(e,t)=>{try{let o=d?"".concat(d,"/team/permissions_list?team_id=").concat(t):"/team/permissions_list?team_id=".concat(t),a=await fetch(o,{method:"GET",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("Team permissions response:",r),r}catch(e){throw console.error("Failed to get team permissions:",e),e}},t4=async(e,t,o)=>{try{let a=d?"".concat(d,"/team/permissions_update"):"/team/permissions_update",r=await fetch(a,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify({team_id:t,team_member_permissions:o})});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("Team permissions response:",n),n}catch(e){throw console.error("Failed to update team permissions:",e),e}},t3=async(e,t)=>{try{let o=d?"".concat(d,"/spend/logs/session/ui?session_id=").concat(encodeURIComponent(t)):"/spend/logs/session/ui?session_id=".concat(encodeURIComponent(t)),a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to fetch session logs:",e),e}},t5=async(e,t)=>{try{let o=d?"".concat(d,"/vector_store/new"):"/vector_store/new",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify(t)});if(!a.ok){let e=await a.json();throw Error(e.detail||"Failed to create vector store")}return await a.json()}catch(e){throw console.error("Error creating vector store:",e),e}},t6=async function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1],arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{let t=d?"".concat(d,"/vector_store/list"):"/vector_store/list",o=await fetch(t,{method:"GET",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)}});if(!o.ok){let e=await o.json();throw Error(e.detail||"Failed to list vector stores")}return await o.json()}catch(e){throw console.error("Error listing vector stores:",e),e}},t9=async(e,t)=>{try{let o=d?"".concat(d,"/vector_store/delete"):"/vector_store/delete",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify({vector_store_id:t})});if(!a.ok){let e=await a.json();throw Error(e.detail||"Failed to delete vector store")}return await a.json()}catch(e){throw console.error("Error deleting vector store:",e),e}},t7=async(e,t)=>{try{let o=d?"".concat(d,"/vector_store/info"):"/vector_store/info",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify({vector_store_id:t})});if(!a.ok){let e=await a.json();throw Error(e.detail||"Failed to get vector store info")}return await a.json()}catch(e){throw console.error("Error getting vector store info:",e),e}},t8=async(e,t)=>{try{let o=d?"".concat(d,"/vector_store/update"):"/vector_store/update",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify(t)});if(!a.ok){let e=await a.json();throw Error(e.detail||"Failed to update vector store")}return await a.json()}catch(e){throw console.error("Error updating vector store:",e),e}},oe=async e=>{try{let t=d?"".concat(d,"/email/event_settings"):"/email/event_settings",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.text();throw w(e),Error("Failed to get email event settings")}let a=await o.json();return console.log("Email event settings response:",a),a}catch(e){throw console.error("Failed to get email event settings:",e),e}},ot=async(e,t)=>{try{let o=d?"".concat(d,"/email/event_settings"):"/email/event_settings",a=await fetch(o,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok){let e=await a.text();throw w(e),Error("Failed to update email event settings")}let r=await a.json();return console.log("Update email event settings response:",r),r}catch(e){throw console.error("Failed to update email event settings:",e),e}},oo=async e=>{try{let t=d?"".concat(d,"/email/event_settings/reset"):"/email/event_settings/reset",o=await fetch(t,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.text();throw w(e),Error("Failed to reset email event settings")}let a=await o.json();return console.log("Reset email event settings response:",a),a}catch(e){throw console.error("Failed to reset email event settings:",e),e}},oa=async(e,t)=>{try{let o=d?"".concat(d,"/guardrails/").concat(t):"/guardrails/".concat(t),a=await fetch(o,{method:"DELETE",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.text();throw w(e),Error(e)}let r=await a.json();return console.log("Delete guardrail response:",r),r}catch(e){throw console.error("Failed to delete guardrail:",e),e}},or=async e=>{try{let t=d?"".concat(d,"/guardrails/ui/add_guardrail_settings"):"/guardrails/ui/add_guardrail_settings",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.text();throw w(e),Error("Failed to get guardrail UI settings")}let a=await o.json();return console.log("Guardrail UI settings response:",a),a}catch(e){throw console.error("Failed to get guardrail UI settings:",e),e}},on=async e=>{try{let t=d?"".concat(d,"/guardrails/ui/provider_specific_params"):"/guardrails/ui/provider_specific_params",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.text();throw w(e),Error("Failed to get guardrail provider specific parameters")}let a=await o.json();return console.log("Guardrail provider specific params response:",a),a}catch(e){throw console.error("Failed to get guardrail provider specific parameters:",e),e}},ol=async(e,t)=>{try{let o=d?"".concat(d,"/guardrails/").concat(t,"/info"):"/guardrails/".concat(t,"/info"),a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.text();throw w(e),Error("Failed to get guardrail info")}let r=await a.json();return console.log("Guardrail info response:",r),r}catch(e){throw console.error("Failed to get guardrail info:",e),e}},oc=async(e,t,o)=>{try{let a=d?"".concat(d,"/guardrails/").concat(t):"/guardrails/".concat(t),r=await fetch(a,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(o)});if(!r.ok){let e=await r.text();throw w(e),Error("Failed to update guardrail")}let n=await r.json();return console.log("Update guardrail response:",n),n}catch(e){throw console.error("Failed to update guardrail:",e),e}},oi=async e=>{try{let t=d?"".concat(d,"/get/sso_settings"):"/get/sso_settings";console.log("Fetching SSO configuration from:",t);let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("Fetched SSO configuration:",a),a}catch(e){throw console.error("Failed to fetch SSO configuration:",e),e}},os=async(e,t)=>{try{let o=d?"".concat(d,"/update/sso_settings"):"/update/sso_settings";console.log("Updating SSO configuration:",t);let a=await fetch(o,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("Updated SSO configuration:",r),r}catch(e){throw console.error("Failed to update SSO configuration:",e),e}},od=async(e,t,o,a,r)=>{try{let t=d?"".concat(d,"/audit"):"/audit",o=new URLSearchParams;a&&o.append("page",a.toString()),r&&o.append("page_size",r.toString());let n=o.toString();n&&(t+="?".concat(n));let l=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!l.ok){let e=await l.json(),t=oS(e);throw w(t),Error(t)}return await l.json()}catch(e){throw console.error("Failed to fetch audit logs:",e),e}},ou=async e=>{try{let t=d?"".concat(d,"/user/available_users"):"/user/available_users",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e)}});if(!o.ok){if(404===o.status)return null;let e=await o.text();throw w(e),Error("Network response was not ok")}return await o.json()}catch(e){throw console.error("Failed to fetch remaining users:",e),e}},op=async(e,t,o)=>{try{let a=d?"".concat(d,"/config/pass_through_endpoint/").concat(encodeURIComponent(t)):"/config/pass_through_endpoint/".concat(encodeURIComponent(t)),r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(o)});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return l.Z.success("Pass through endpoint updated successfully"),n}catch(e){throw console.error("Failed to update pass through endpoint:",e),e}},oh=async(e,t)=>{try{let o=d?"".concat(d,"/config/pass_through_endpoint?endpoint_id=").concat(encodeURIComponent(t)):"/config/pass_through_endpoint?endpoint_id=".concat(encodeURIComponent(t)),a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=(await a.json()).endpoints;if(!r||0===r.length)throw Error("Pass through endpoint not found");return r[0]}catch(e){throw console.error("Failed to get pass through endpoint info:",e),e}},og=async(e,t)=>{try{let o=d?"".concat(d,"/config/callback/delete"):"/config/callback/delete",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({callback_name:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to delete specific callback:",e),e}},om=async e=>{let t=h(),o=await fetch("".concat(t,"/v1/mcp/tools"),{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok)throw Error("HTTP error! status: ".concat(o.status));return await o.json()},of=async(e,t)=>{try{console.log("Testing MCP connection with config:",JSON.stringify(t));let a=d?"".concat(d,"/mcp-rest/test/connection"):"/mcp-rest/test/connection",r=await fetch(a,{method:"POST",headers:{"Content-Type":"application/json",[y]:"Bearer ".concat(e)},body:JSON.stringify(t)}),n=r.headers.get("content-type");if(!n||!n.includes("application/json")){let e=await r.text();throw console.error("Received non-JSON response:",e),Error("Received non-JSON response (".concat(r.status,": ").concat(r.statusText,"). Check network tab for details."))}let l=await r.json();if(!r.ok||"error"===l.status){if("error"===l.status);else{var o;return{status:"error",message:(null===(o=l.error)||void 0===o?void 0:o.message)||"MCP connection test failed: ".concat(r.status," ").concat(r.statusText)}}}return l}catch(e){throw console.error("MCP connection test error:",e),e}},ow=async(e,t)=>{try{console.log("Testing MCP tools list with config:",JSON.stringify(t));let o=d?"".concat(d,"/mcp-rest/test/tools/list"):"/mcp-rest/test/tools/list",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",[y]:"Bearer ".concat(e)},body:JSON.stringify(t)}),r=a.headers.get("content-type");if(!r||!r.includes("application/json")){let e=await a.text();throw console.error("Received non-JSON response:",e),Error("Received non-JSON response (".concat(a.status,": ").concat(a.statusText,"). Check network tab for details."))}let n=await a.json();if((!a.ok||n.error)&&!n.error)return{tools:[],error:"request_failed",message:n.message||"MCP tools list failed: ".concat(a.status," ").concat(a.statusText)};return n}catch(e){throw console.error("MCP tools list test error:",e),e}},oy=async(e,t,o)=>{try{let a="".concat(h(),"/v1/vector_stores/").concat(t,"/search"),r=await fetch(a,{method:"POST",headers:{Authorization:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({query:o})});if(!r.ok){let e=await r.text();return await w(e),null}return await r.json()}catch(e){throw console.error("Error testing vector store search:",e),e}},oj=async function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:50,n=arguments.length>5?arguments[5]:void 0;try{let l=d?"".concat(d,"/tag/user-agent/analytics"):"/tag/user-agent/analytics",c=new URLSearchParams,i=e=>{let t=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(o,"-").concat(a)};c.append("start_date",i(t)),c.append("end_date",i(o)),c.append("page",a.toString()),c.append("page_size",r.toString()),n&&c.append("user_agent_filter",n);let s=c.toString();s&&(l+="?".concat(s));let u=await fetch(l,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!u.ok){let e=await u.json(),t=oS(e);throw w(t),Error(t)}return await u.json()}catch(e){throw console.error("Failed to fetch user agent analytics:",e),e}},o_=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/tag/dau"):"/tag/dau",n=new URLSearchParams;n.append("end_date",(e=>{let t=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(o,"-").concat(a)})(t)),a&&a.length>0?a.forEach(e=>{n.append("tag_filters",e)}):o&&n.append("tag_filter",o);let l=n.toString();l&&(r+="?".concat(l));let c=await fetch(r,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!c.ok){let e=await c.json(),t=oS(e);throw w(t),Error(t)}return await c.json()}catch(e){throw console.error("Failed to fetch DAU:",e),e}},oC=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/tag/wau"):"/tag/wau",n=new URLSearchParams;n.append("end_date",(e=>{let t=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(o,"-").concat(a)})(t)),a&&a.length>0?a.forEach(e=>{n.append("tag_filters",e)}):o&&n.append("tag_filter",o);let l=n.toString();l&&(r+="?".concat(l));let c=await fetch(r,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!c.ok){let e=await c.json(),t=oS(e);throw w(t),Error(t)}return await c.json()}catch(e){throw console.error("Failed to fetch WAU:",e),e}},ok=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/tag/mau"):"/tag/mau",n=new URLSearchParams;n.append("end_date",(e=>{let t=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(o,"-").concat(a)})(t)),a&&a.length>0?a.forEach(e=>{n.append("tag_filters",e)}):o&&n.append("tag_filter",o);let l=n.toString();l&&(r+="?".concat(l));let c=await fetch(r,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!c.ok){let e=await c.json(),t=oS(e);throw w(t),Error(t)}return await c.json()}catch(e){throw console.error("Failed to fetch MAU:",e),e}},ov=async e=>{try{let t=d?"".concat(d,"/tag/distinct"):"/tag/distinct",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to fetch distinct tags:",e),e}},oT=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/tag/summary"):"/tag/summary",n=new URLSearchParams,l=e=>{let t=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(o,"-").concat(a)};n.append("start_date",l(t)),n.append("end_date",l(o)),a&&a.length>0&&a.forEach(e=>{n.append("tag_filters",e)});let c=n.toString();c&&(r+="?".concat(c));let i=await fetch(r,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!i.ok){let e=await i.json(),t=oS(e);throw w(t),Error(t)}return await i.json()}catch(e){throw console.error("Failed to fetch user agent summary:",e),e}},oE=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:50,a=arguments.length>3?arguments[3]:void 0;try{let r=d?"".concat(d,"/tag/user-agent/per-user-analytics"):"/tag/user-agent/per-user-analytics",n=new URLSearchParams;n.append("page",t.toString()),n.append("page_size",o.toString()),a&&a.length>0&&a.forEach(e=>{n.append("tag_filters",e)});let l=n.toString();l&&(r+="?".concat(l));let c=await fetch(r,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!c.ok){let e=await c.json(),t=oS(e);throw w(t),Error(t)}return await c.json()}catch(e){throw console.error("Failed to fetch per-user analytics:",e),e}},oS=e=>(null==e?void 0:e.error)&&(e.error.message||e.error)||(null==e?void 0:e.message)||(null==e?void 0:e.detail)||(null==e?void 0:e.error)||JSON.stringify(e)},85968:function(e,t,o){o.d(t,{O:function(){return a}});let a=e=>{if(!e)return"An unknown error occurred";if("string"==typeof e)return e;if(e.message)try{let t=JSON.parse(e.message);if(t.error&&t.error.message)return t.error.message;return"string"==typeof t?t:JSON.stringify(t,null,2)}catch(t){return e.message}if(e.response&&e.response.data){if("string"==typeof e.response.data)return e.response.data;if(e.response.data.message)return e.response.data.message;if(e.response.data.error)return"string"==typeof e.response.data.error?e.response.data.error:e.response.data.error.message||JSON.stringify(e.response.data.error)}return String(e)}},3914:function(e,t,o){function a(){if("undefined"==typeof document)return;let e=window.location.hostname,t=["Lax","Strict","None"];["/","/ui"].forEach(o=>{document.cookie="token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=".concat(o,";"),document.cookie="token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=".concat(o,"; domain=").concat(e,";"),t.forEach(t=>{let a="None"===t?" Secure;":"";document.cookie="token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=".concat(o,"; SameSite=").concat(t,";").concat(a),document.cookie="token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=".concat(o,"; domain=").concat(e,"; SameSite=").concat(t,";").concat(a)})}),console.log("After clearing cookies:",document.cookie)}function r(e){if("undefined"==typeof document)return null;let t=document.cookie.split("; ").find(t=>t.startsWith(e+"="));return t?t.split("=")[1]:null}o.d(t,{b:function(){return a},e:function(){return r}})}}]);
\ No newline at end of file
+"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8049],{31283:function(e,t,o){o.d(t,{o:function(){return a.Z}});var a=o(49566)},63610:function(e,t,o){o.d(t,{d:function(){return h}});var a=o(57437),r=o(2265),n=o(64482),l=o(52787),c=o(20577),i=o(13634),s=o(31283),d=o(15424),u=o(89970),p=o(19250);let h=["metadata","config","enforced_params","aliases"],g=(e,t)=>h.includes(e)||"json"===t.format,m=e=>{if(!e)return!0;try{return JSON.parse(e),!0}catch(e){return!1}},f=(e,t,o)=>{let a={max_budget:"Enter maximum budget in USD (e.g., 100.50)",budget_duration:"Select a time period for budget reset",tpm_limit:"Enter maximum tokens per minute (whole number)",rpm_limit:"Enter maximum requests per minute (whole number)",duration:"Enter duration (e.g., 30s, 24h, 7d)",metadata:'Enter JSON object with key-value pairs\nExample: {"team": "research", "project": "nlp"}',config:'Enter configuration as JSON object\nExample: {"setting": "value"}',permissions:"Enter comma-separated permission strings",enforced_params:'Enter parameters as JSON object\nExample: {"param": "value"}',blocked:"Enter true/false or specific block conditions",aliases:'Enter aliases as JSON object\nExample: {"alias1": "value1", "alias2": "value2"}',models:"Select one or more model names",key_alias:"Enter a unique identifier for this key",tags:"Enter comma-separated tag strings"}[e]||({string:"Text input",number:"Numeric input",integer:"Whole number input",boolean:"True/False value"})[o]||"Text input";return g(e,t)?"".concat(a,"\nMust be valid JSON format"):t.enum?"Select from available options\nAllowed values: ".concat(t.enum.join(", ")):a};t.Z=e=>{let{schemaComponent:t,excludedFields:o=[],form:h,overrideLabels:w={},overrideTooltips:y={},customValidation:j={},defaultValues:_={}}=e,[C,k]=(0,r.useState)(null),[v,T]=(0,r.useState)(null);(0,r.useEffect)(()=>{(async()=>{try{let e=(await (0,p.getOpenAPISchema)()).components.schemas[t];if(!e)throw Error('Schema component "'.concat(t,'" not found'));k(e);let a={};Object.keys(e.properties).filter(e=>!o.includes(e)&&void 0!==_[e]).forEach(e=>{a[e]=_[e]}),h.setFieldsValue(a)}catch(e){console.error("Schema fetch error:",e),T(e instanceof Error?e.message:"Failed to fetch schema")}})()},[t,h,o]);let E=e=>{if(e.type)return e.type;if(e.anyOf){let t=e.anyOf.map(e=>e.type);if(t.includes("number")||t.includes("integer"))return"number";t.includes("string")}return"string"},S=(e,t)=>{var o;let r;let p=E(t),h=null==C?void 0:null===(o=C.required)||void 0===o?void 0:o.includes(e),k=w[e]||t.title||e,v=y[e]||t.description,T=[];h&&T.push({required:!0,message:"".concat(k," is required")}),j[e]&&T.push({validator:j[e]}),g(e,t)&&T.push({validator:async(e,t)=>{if(t&&!m(t))throw Error("Please enter valid JSON")}});let S=v?(0,a.jsxs)("span",{children:[k," ",(0,a.jsx)(u.Z,{title:v,children:(0,a.jsx)(d.Z,{style:{marginLeft:"4px"}})})]}):k;return r=g(e,t)?(0,a.jsx)(n.default.TextArea,{rows:4,placeholder:"Enter as JSON",className:"font-mono"}):t.enum?(0,a.jsx)(l.default,{children:t.enum.map(e=>(0,a.jsx)(l.default.Option,{value:e,children:e},e))}):"number"===p||"integer"===p?(0,a.jsx)(c.Z,{style:{width:"100%"},precision:"integer"===p?0:void 0}):"duration"===e?(0,a.jsx)(s.o,{placeholder:"eg: 30s, 30h, 30d"}):(0,a.jsx)(s.o,{placeholder:v||""}),(0,a.jsx)(i.Z.Item,{label:S,name:e,className:"mt-8",rules:T,initialValue:_[e],help:(0,a.jsx)("div",{className:"text-xs text-gray-500",children:f(e,t,p)}),children:r},e)};return v?(0,a.jsxs)("div",{className:"text-red-500",children:["Error: ",v]}):(null==C?void 0:C.properties)?(0,a.jsx)("div",{children:Object.entries(C.properties).filter(e=>{let[t]=e;return!o.includes(t)}).map(e=>{let[t,o]=e;return S(t,o)})}):null}},9114:function(e,t,o){var a=o(2265),r=o(57271),n=o(85968);function l(){return"topRight"}function c(e,t){var o;return"string"==typeof e?{message:t,description:e}:{message:null!==(o=e.message)&&void 0!==o?o:t,...e}}function i(e){return"number"==typeof e?e:"string"==typeof e&&/^\d+$/.test(e)?parseInt(e,10):void 0}let s=["invalid api key","invalid authorization header format","authentication error","invalid proxy server token","invalid jwt token","invalid jwt submitted","unauthorized access to metrics endpoint"],d=["admin-only endpoint","not allowed to access model","user does not have permission","access forbidden","invalid credentials used to access ui","user not allowed to access proxy"],u=["db not connected","database not initialized","no db connected","prisma client not initialized","service unhealthy"],p=["no models configured on proxy","llm router not initialized","no deployments available","no healthy deployment available","not allowed to access model due to tags configuration","invalid model name passed in"],h=["deployment over user-defined ratelimit","crossed tpm / rpm / max parallel request limit","max parallel request limit"],g=["budget exceeded","crossed budget","provider budget"],m=["must be a litellm enterprise user","only be available for liteLLM enterprise users","missing litellm-enterprise package","only available on the docker image","enterprise feature","premium user"],f=["invalid json payload","invalid request type","invalid key format","invalid hash key","invalid sort column","invalid sort order","invalid limit","invalid file type","invalid field","invalid date format"],w=["model not found","model with id","credential not found","user not found","team not found","organization not found","mcp server with id","tool '"],y=["already exists","team member is already in team","user already exists"],j=["violated openai moderation policy","violated jailbreak threshold","violated prompt_injection threshold","violated content safety policy","violated lasso guardrail policy","blocked by pillar security guardrail","violated azure prompt shield guardrail policy","content blocked by model armor","response blocked by model armor","streaming response blocked by model armor","guardrail","moderation"],_=["invalid purpose","service must be specified","invalid response - response.response is none"],C=["cloudzero settings not configured","failed to decrypt cloudzero api key","cloudzero settings not found"],k=["created successfully","updated successfully","deleted successfully","credential created successfully","model added successfully","team created successfully","user created successfully","organization created successfully","cloudzero settings initialized successfully","cloudzero settings updated successfully","cloudzero export completed successfully","mock llm request made","mock slack alert sent","mock email alert sent","spend for all api keys and teams reset successfully","monthlyglobalspend view refreshed","cache cleared successfully","cache set successfully","ip ","deleted successfully"],v=["rate limit reached for deployment","deployment cooldown period active"],T=["this feature is only available for litellm enterprise users","enterprise features are not available","regenerating virtual keys is an enterprise feature","trying to set allowed_routes. this is an enterprise feature"],E=["invalid maximum_spend_logs_retention_interval value","error has invalid or non-convertible code","failed to save health check to database"];t.Z={error(e){var t,o;let a=c(e,"Error");r.ZP.error({...a,placement:null!==(t=a.placement)&&void 0!==t?t:l(),duration:null!==(o=a.duration)&&void 0!==o?o:6})},warning(e){var t,o;let a=c(e,"Warning");r.ZP.warning({...a,placement:null!==(t=a.placement)&&void 0!==t?t:l(),duration:null!==(o=a.duration)&&void 0!==o?o:5})},info(e){var t,o;let a=c(e,"Info");r.ZP.info({...a,placement:null!==(t=a.placement)&&void 0!==t?t:l(),duration:null!==(o=a.duration)&&void 0!==o?o:4})},success(e){var t,o;if(a.isValidElement(e)){r.ZP.success({message:"Success",description:e,placement:l(),duration:3.5});return}let n=c(e,"Success");r.ZP.success({...n,placement:null!==(t=n.placement)&&void 0!==t?t:l(),duration:null!==(o=n.duration)&&void 0!==o?o:3.5})},fromBackend(e,t){var o,a,c,S,b,F,P,O,B,N,x,G;let A=null!==(G=null!==(x=i(null==e?void 0:null===(N=e.response)||void 0===N?void 0:N.status))&&void 0!==x?x:i(null==e?void 0:e.status_code))&&void 0!==G?G:i(null==e?void 0:e.code),J=function(e){var t,o,a,r,l,c,i,s,d,u,p,h;if("string"==typeof e)return e;let g=null!==(h=null!==(p=null!==(u=null!==(d=null!==(s=null==e?void 0:null===(a=e.response)||void 0===a?void 0:null===(o=a.data)||void 0===o?void 0:null===(t=o.error)||void 0===t?void 0:t.message)&&void 0!==s?s:null==e?void 0:null===(l=e.response)||void 0===l?void 0:null===(r=l.data)||void 0===r?void 0:r.message)&&void 0!==d?d:null==e?void 0:null===(i=e.response)||void 0===i?void 0:null===(c=i.data)||void 0===c?void 0:c.error)&&void 0!==u?u:null==e?void 0:e.detail)&&void 0!==p?p:null==e?void 0:e.message)&&void 0!==h?h:e;return(0,n.O)(g)}(e),U={...null!=t?t:{},description:J,placement:null!==(o=null==t?void 0:t.placement)&&void 0!==o?o:l()};if(void 0!==A||e instanceof Error||"string"==typeof e||e&&"object"==typeof e&&("error"in e||"detail"in e)){let e=function(e,t){var o,a,r,n,l;let c=(t||"").toLowerCase();return s.some(e=>c.includes(e))?"Authentication Error":d.some(e=>c.includes(e))?"Access Denied":(null==u?void 0:null===(o=u.some)||void 0===o?void 0:o.call(u,e=>c.includes(e)))||503===e?"Service Unavailable":(null==g?void 0:null===(a=g.some)||void 0===a?void 0:a.call(g,e=>c.includes(e)))?"Budget Exceeded":(null==m?void 0:null===(r=m.some)||void 0===r?void 0:r.call(m,e=>c.includes(e)))?"Feature Unavailable":(null==p?void 0:null===(n=p.some)||void 0===n?void 0:n.call(p,e=>c.includes(e)))?"Routing Error":y.some(e=>c.includes(e))?"Already Exists":j.some(e=>c.includes(e))?"Content Blocked":_.some(e=>c.includes(e))?"Validation Error":C.some(e=>c.includes(e))?"Integration Error":f.some(e=>c.includes(e))?"Validation Error":404===e||c.includes("not found")||w.some(e=>c.includes(e))?"Not Found":429===e||c.includes("rate limit")||c.includes("tpm")||c.includes("rpm")||(null==h?void 0:null===(l=h.some)||void 0===l?void 0:l.call(h,e=>c.includes(e)))?"Rate Limit Exceeded":e&&e>=500?"Server Error":401===e?"Authentication Error":403===e?"Access Denied":c.includes("enterprise")||c.includes("premium")?"Info":e&&e>=400?"Request Error":"Error"}(A,J),o={...U,message:e};if("Rate Limit Exceeded"===e||"Info"===e||"Budget Exceeded"===e||"Feature Unavailable"===e||"Content Blocked"===e||"Integration Error"===e){r.ZP.warning({...o,duration:null!==(a=null==t?void 0:t.duration)&&void 0!==a?a:7});return}if("Server Error"===e){r.ZP.error({...o,duration:null!==(c=null==t?void 0:t.duration)&&void 0!==c?c:8});return}if("Request Error"===e||"Authentication Error"===e||"Access Denied"===e||"Not Found"===e||"Error"===e){r.ZP.error({...o,duration:null!==(S=null==t?void 0:t.duration)&&void 0!==S?S:6});return}r.ZP.info({...o,duration:null!==(b=null==t?void 0:t.duration)&&void 0!==b?b:4});return}let R=function(e){let t=(e||"").toLowerCase();return k.some(e=>t.includes(e))?{kind:"success",title:"Success"}:T.some(e=>t.includes(e))?{kind:"warning",title:"Feature Notice"}:E.some(e=>t.includes(e))?{kind:"warning",title:"Configuration Warning"}:v.some(e=>t.includes(e))?{kind:"warning",title:"Rate Limit"}:null}(J),I={...U,message:null!==(F=null==R?void 0:R.title)&&void 0!==F?F:"Info"};if((null==R?void 0:R.kind)==="success"){r.ZP.success({...I,duration:null!==(P=null==t?void 0:t.duration)&&void 0!==P?P:3.5});return}if((null==R?void 0:R.kind)==="warning"){r.ZP.warning({...I,duration:null!==(O=null==t?void 0:t.duration)&&void 0!==O?O:6});return}r.ZP.info({...I,duration:null!==(B=null==t?void 0:t.duration)&&void 0!==B?B:4})},clear(){r.ZP.destroy()}}},19250:function(e,t,o){o.r(t),o.d(t,{DEFAULT_ORGANIZATION:function(){return m},PredictedSpendLogsCall:function(){return ts},addAllowedIP:function(){return ew},adminGlobalActivity:function(){return eU},adminGlobalActivityExceptions:function(){return eM},adminGlobalActivityExceptionsPerDeployment:function(){return ez},adminGlobalActivityPerModel:function(){return eI},adminGlobalCacheActivity:function(){return eR},adminSpendLogsCall:function(){return ex},adminTopEndUsersCall:function(){return eA},adminTopKeysCall:function(){return eG},adminTopModelsCall:function(){return eL},adminspendByProvider:function(){return eJ},alertingSettingsCall:function(){return R},allEndUsersCall:function(){return eP},allTagNamesCall:function(){return eF},availableTeamListCall:function(){return K},budgetCreateCall:function(){return G},budgetDeleteCall:function(){return x},budgetUpdateCall:function(){return A},cachingHealthCheckCall:function(){return tS},callMCPTool:function(){return tW},cancelModelCostMapReload:function(){return F},claimOnboardingToken:function(){return ei},convertPromptFileToJson:function(){return tJ},createGuardrailCall:function(){return tR},createMCPServer:function(){return tV},createPassThroughEndpoint:function(){return tj},createPromptCall:function(){return tx},credentialCreateCall:function(){return e1},credentialDeleteCall:function(){return e3},credentialGetCall:function(){return e4},credentialListCall:function(){return e2},credentialUpdateCall:function(){return e5},defaultProxyBaseUrl:function(){return i},deleteAllowedIP:function(){return ey},deleteCallback:function(){return og},deleteConfigFieldSetting:function(){return tC},deleteGuardrailCall:function(){return oa},deleteMCPServer:function(){return tq},deletePassThroughEndpointsCall:function(){return tk},deletePromptCall:function(){return tA},fetchMCPAccessGroups:function(){return tD},fetchMCPServers:function(){return tL},formatDate:function(){return c},getAllowedIPs:function(){return ef},getBudgetList:function(){return tp},getBudgetSettings:function(){return th},getCallbacksCall:function(){return tg},getConfigFieldSetting:function(){return tw},getDefaultTeamSettings:function(){return t0},getEmailEventSettings:function(){return oe},getGeneralSettingsCall:function(){return tm},getGuardrailInfo:function(){return ol},getGuardrailProviderSpecificParams:function(){return on},getGuardrailUISettings:function(){return or},getGuardrailsList:function(){return tO},getInternalUserSettings:function(){return tM},getModelCostMapReloadStatus:function(){return P},getOnboardingCredentials:function(){return ec},getOpenAPISchema:function(){return T},getPassThroughEndpointInfo:function(){return oh},getPassThroughEndpointsCall:function(){return tf},getPossibleUserRoles:function(){return eX},getPromptInfo:function(){return tN},getPromptsList:function(){return tB},getProxyBaseUrl:function(){return h},getProxyUISettings:function(){return tP},getPublicModelHubInfo:function(){return v},getRemainingUsers:function(){return ou},getSSOSettings:function(){return oi},getTeamPermissionsCall:function(){return t2},getTotalSpendCall:function(){return el},getUiConfig:function(){return k},healthCheckCall:function(){return tT},healthCheckHistoryCall:function(){return tb},individualModelHealthCheckCall:function(){return tE},invitationClaimCall:function(){return U},invitationCreateCall:function(){return J},keyAliasesCall:function(){return eH},keyCreateCall:function(){return M},keyCreateServiceAccountCall:function(){return I},keyDeleteCall:function(){return L},keyInfoCall:function(){return eD},keyInfoV1Call:function(){return eZ},keyListCall:function(){return eq},keySpendLogsCall:function(){return eE},keyUpdateCall:function(){return e6},latestHealthChecksCall:function(){return tF},listMCPTools:function(){return tH},makeModelGroupPublic:function(){return C},mcpToolsCall:function(){return om},modelAvailableCall:function(){return eT},modelCostMap:function(){return E},modelCreateCall:function(){return O},modelDeleteCall:function(){return N},modelExceptionsCall:function(){return ek},modelHubCall:function(){return em},modelHubPublicModelsCall:function(){return eg},modelInfoCall:function(){return ep},modelInfoV1Call:function(){return eh},modelMetricsCall:function(){return ej},modelMetricsSlowResponsesCall:function(){return eC},modelPatchUpdateCall:function(){return e7},modelSettingsCall:function(){return B},modelUpdateCall:function(){return e8},organizationCreateCall:function(){return X},organizationDeleteCall:function(){return et},organizationInfoCall:function(){return Q},organizationListCall:function(){return $},organizationMemberAddCall:function(){return tr},organizationMemberDeleteCall:function(){return tn},organizationMemberUpdateCall:function(){return tl},organizationUpdateCall:function(){return ee},patchPromptCall:function(){return tU},perUserAnalyticsCall:function(){return oE},proxyBaseUrl:function(){return d},regenerateKeyCall:function(){return es},reloadModelCostMap:function(){return S},resetEmailEventSettings:function(){return oo},scheduleModelCostMapReload:function(){return b},serverRootPath:function(){return s},serviceHealthCheck:function(){return tu},sessionSpendLogsCall:function(){return t3},setCallbacksCall:function(){return tv},setGlobalLitellmHeaderName:function(){return _},slackBudgetAlertsHealthCheck:function(){return td},spendUsersCall:function(){return eW},streamingModelMetricsCall:function(){return e_},tagCreateCall:function(){return tY},tagDailyActivityCall:function(){return er},tagDauCall:function(){return o_},tagDeleteCall:function(){return tX},tagDistinctCall:function(){return ov},tagInfoCall:function(){return t$},tagListCall:function(){return tQ},tagMauCall:function(){return ok},tagUpdateCall:function(){return tK},tagWauCall:function(){return oC},tagsSpendLogsCall:function(){return eb},teamBulkMemberAddCall:function(){return tt},teamCreateCall:function(){return e0},teamDailyActivityCall:function(){return en},teamDeleteCall:function(){return V},teamInfoCall:function(){return H},teamListCall:function(){return Y},teamMemberAddCall:function(){return te},teamMemberDeleteCall:function(){return ta},teamMemberUpdateCall:function(){return to},teamPermissionsUpdateCall:function(){return t4},teamSpendLogsCall:function(){return eS},teamUpdateCall:function(){return e9},testConnectionRequest:function(){return eV},testMCPConnectionRequest:function(){return of},testMCPToolsListRequest:function(){return ow},transformRequestCall:function(){return eo},uiAuditLogsCall:function(){return od},uiSpendLogDetailsCall:function(){return tI},uiSpendLogsCall:function(){return eN},updateConfigFieldSetting:function(){return t_},updateDefaultTeamSettings:function(){return t1},updateEmailEventSettings:function(){return ot},updateGuardrailCall:function(){return oc},updateInternalUserSettings:function(){return tz},updateMCPServer:function(){return tZ},updatePassThroughEndpoint:function(){return op},updatePassThroughFieldSetting:function(){return ty},updatePromptCall:function(){return tG},updateSSOSettings:function(){return os},updateUsefulLinksCall:function(){return ev},userAgentAnalyticsCall:function(){return oj},userAgentSummaryCall:function(){return oT},userBulkUpdateUserCall:function(){return ti},userCreateCall:function(){return z},userDailyActivityAggregatedCall:function(){return e$},userDailyActivityCall:function(){return ea},userDeleteCall:function(){return D},userFilterUICall:function(){return eO},userGetAllUsersCall:function(){return eQ},userGetRequesedtModelsCall:function(){return eK},userInfoCall:function(){return q},userListCall:function(){return Z},userRequestModelCall:function(){return eY},userSpendLogsCall:function(){return eB},userUpdateUserCall:function(){return tc},v2TeamListCall:function(){return W},vectorStoreCreateCall:function(){return t5},vectorStoreDeleteCall:function(){return t9},vectorStoreInfoCall:function(){return t7},vectorStoreListCall:function(){return t6},vectorStoreSearchCall:function(){return oy},vectorStoreUpdateCall:function(){return t8}});var a=o(42264),r=o(3914),n=o(63610),l=o(9114);let c=e=>{let t=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(o,"-").concat(a)},i=null,s="/",d=null;console.log=function(){};let u=()=>window.location,p=function(e){var t;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=u(),r=null!==(t=null==a?void 0:a.origin)&&void 0!==t?t:null,n=o||r;if(console.log("proxyBaseUrl:",d),console.log("serverRootPath:",e),!n){console.log("Updated proxyBaseUrl:",d=null!=d?d:null);return}e.length>0&&!n.endsWith(e)&&"/"!=e&&(n+=e),console.log("Updated proxyBaseUrl:",d=n)},h=()=>{var e;if(d)return d;let t=u();return null!==(e=null==t?void 0:t.origin)&&void 0!==e?e:""},g={GET:"GET",DELETE:"DELETE"},m="default_organization",f=0,w=async e=>{let t=Date.now();if(t-f>6e4){if(e.includes("Authentication Error - Expired Key")){l.Z.info("UI Session Expired. Logging out."),f=t,(0,r.b)();let e=u();e&&(window.location.href=e.pathname)}f=t}else console.log("Error suppressed to prevent spam:",e)},y="Authorization",j="x-mcp-auth";function _(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Authorization";console.log("setGlobalLitellmHeaderName: ".concat(e)),y=e}let C=async(e,t)=>{let o=d?"".concat(d,"/model_group/make_public"):"/model_group/make_public";return(await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({model_groups:t})})).json()},k=async()=>{console.log("Getting UI config");let e=await fetch(i?"".concat(i,"/my-custom-path/.well-known/litellm-ui-config"):"/my-custom-path/.well-known/litellm-ui-config"),t=await e.json();return console.log("jsonData in getUiConfig:",t),p(t.server_root_path,t.proxy_base_url),t},v=async()=>{let e=await fetch(i?"".concat(i,"/public/model_hub/info"):"/public/model_hub/info");return await e.json()},T=async()=>{let e=d?"".concat(d,"/openapi.json"):"/openapi.json",t=await fetch(e);return await t.json()},E=async e=>{try{let t=d?"".concat(d,"/get/litellm_model_cost_map"):"/get/litellm_model_cost_map",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}}),a=await o.json();return console.log("received litellm model cost data: ".concat(a)),a}catch(e){throw console.error("Failed to get model cost map:",e),e}},S=async e=>{try{let t=d?"".concat(d,"/reload/model_cost_map"):"/reload/model_cost_map",o=await fetch(t,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}}),a=await o.json();return console.log("Model cost map reload response: ".concat(a)),a}catch(e){throw console.error("Failed to reload model cost map:",e),e}},b=async(e,t)=>{try{let o=d?"".concat(d,"/schedule/model_cost_map_reload?hours=").concat(t):"/schedule/model_cost_map_reload?hours=".concat(t),a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}}),r=await a.json();return console.log("Schedule model cost map reload response: ".concat(r)),r}catch(e){throw console.error("Failed to schedule model cost map reload:",e),e}},F=async e=>{try{let t=d?"".concat(d,"/schedule/model_cost_map_reload"):"/schedule/model_cost_map_reload",o=await fetch(t,{method:"DELETE",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}}),a=await o.json();return console.log("Cancel model cost map reload response: ".concat(a)),a}catch(e){throw console.error("Failed to cancel model cost map reload:",e),e}},P=async e=>{try{let t=d?"".concat(d,"/schedule/model_cost_map_reload/status"):"/schedule/model_cost_map_reload/status";console.log("Fetching status from URL:",t);let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){console.error("Status request failed with status: ".concat(o.status));let e=await o.text();throw console.error("Error response:",e),Error("HTTP ".concat(o.status,": ").concat(e))}let a=await o.json();return console.log("Model cost map reload status:",a),a}catch(e){throw console.error("Failed to get model cost map reload status:",e),e}},O=async(e,t)=>{try{let o=d?"".concat(d,"/model/new"):"/model/new",r=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("API Response:",n),a.ZP.destroy(),l.Z.success("Model ".concat(t.model_name," created successfully")),n}catch(e){throw console.error("Failed to create key:",e),e}},B=async e=>{try{let t=d?"".concat(d,"/model/settings"):"/model/settings",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){console.error("Failed to get model settings:",e)}},N=async(e,t)=>{console.log("model_id in model delete call: ".concat(t));try{let o=d?"".concat(d,"/model/delete"):"/model/delete",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({id:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},x=async(e,t)=>{if(console.log("budget_id in budget delete call: ".concat(t)),null!=e)try{let o=d?"".concat(d,"/budget/delete"):"/budget/delete",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({id:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},G=async(e,t)=>{try{console.log("Form Values in budgetCreateCall:",t),console.log("Form Values after check:",t);let o=d?"".concat(d,"/budget/new"):"/budget/new",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},A=async(e,t)=>{try{console.log("Form Values in budgetUpdateCall:",t),console.log("Form Values after check:",t);let o=d?"".concat(d,"/budget/update"):"/budget/update",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},J=async(e,t)=>{try{let o=d?"".concat(d,"/invitation/new"):"/invitation/new",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({user_id:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},U=async(e,t)=>{try{console.log("Form Values in invitationCreateCall:",t),console.log("Form Values after check:",t);let o=d?"".concat(d,"/invitation/claim"):"/invitation/claim",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},R=async e=>{try{let t=d?"".concat(d,"/alerting/settings"):"/alerting/settings",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to get callbacks:",e),e}},I=async(e,t)=>{try{for(let e of(console.log("Form Values in keyCreateServiceAccountCall:",t),t.description&&(t.metadata||(t.metadata={}),t.metadata.description=t.description,delete t.description,t.metadata=JSON.stringify(t.metadata)),n.d))if(t[e]){console.log("formValues.".concat(e,":"),t[e]);try{t[e]=JSON.parse(t[e])}catch(t){throw Error("Failed to parse ".concat(e,": ")+t)}}console.log("Form Values after check:",t);let o=d?"".concat(d,"/key/service-account/generate"):"/key/service-account/generate",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.text();throw w(e),console.error("Error response from the server:",e),Error(e)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},M=async(e,t,o)=>{try{for(let e of(console.log("Form Values in keyCreateCall:",o),o.description&&(o.metadata||(o.metadata={}),o.metadata.description=o.description,delete o.description,o.metadata=JSON.stringify(o.metadata)),n.d))if(o[e]){console.log("formValues.".concat(e,":"),o[e]);try{o[e]=JSON.parse(o[e])}catch(t){throw Error("Failed to parse ".concat(e,": ")+t)}}console.log("Form Values after check:",o);let a=d?"".concat(d,"/key/generate"):"/key/generate",r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({user_id:t,...o})});if(!r.ok){let e=await r.text();throw w(e),console.error("Error response from the server:",e),Error(e)}let l=await r.json();return console.log("API Response:",l),l}catch(e){throw console.error("Failed to create key:",e),e}},z=async(e,t,o)=>{try{if(console.log("Form Values in keyCreateCall:",o),o.description&&(o.metadata||(o.metadata={}),o.metadata.description=o.description,delete o.description,o.metadata=JSON.stringify(o.metadata)),o.auto_create_key=!1,o.metadata){console.log("formValues.metadata:",o.metadata);try{o.metadata=JSON.parse(o.metadata)}catch(e){throw Error("Failed to parse metadata: "+e)}}console.log("Form Values after check:",o);let a=d?"".concat(d,"/user/new"):"/user/new",r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({user_id:t,...o})});if(!r.ok){let e=await r.text();throw w(e),console.error("Error response from the server:",e),Error(e)}let n=await r.json();return console.log("API Response:",n),n}catch(e){throw console.error("Failed to create key:",e),e}},L=async(e,t)=>{try{let o=d?"".concat(d,"/key/delete"):"/key/delete";console.log("in keyDeleteCall:",t);let a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({keys:[t]})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to create key:",e),e}},D=async(e,t)=>{try{let o=d?"".concat(d,"/user/delete"):"/user/delete";console.log("in userDeleteCall:",t);let a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({user_ids:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to delete user(s):",e),e}},V=async(e,t)=>{try{let o=d?"".concat(d,"/team/delete"):"/team/delete";console.log("in teamDeleteCall:",t);let a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({team_ids:[t]})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to delete key:",e),e}},Z=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,i=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,s=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null;try{let u=d?"".concat(d,"/user/list"):"/user/list";console.log("in userListCall");let p=new URLSearchParams;if(t&&t.length>0){let e=t.join(",");p.append("user_ids",e)}o&&p.append("page",o.toString()),a&&p.append("page_size",a.toString()),r&&p.append("user_email",r),n&&p.append("role",n),l&&p.append("team",l),c&&p.append("sso_user_ids",c),i&&p.append("sort_by",i),s&&p.append("sort_order",s);let h=p.toString();h&&(u+="?".concat(h));let g=await fetch(u,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!g.ok){let e=await g.json(),t=oS(e);throw w(t),Error(t)}let m=await g.json();return console.log("/user/list API Response:",m),m}catch(e){throw console.error("Failed to create key:",e),e}},q=async function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4?arguments[4]:void 0,n=arguments.length>5?arguments[5]:void 0,l=arguments.length>6&&void 0!==arguments[6]&&arguments[6];console.log("userInfoCall: ".concat(t,", ").concat(o,", ").concat(a,", ").concat(r,", ").concat(n,", ").concat(l));try{let c;if(a){c=d?"".concat(d,"/user/list"):"/user/list";let e=new URLSearchParams;null!=r&&e.append("page",r.toString()),null!=n&&e.append("page_size",n.toString()),c+="?".concat(e.toString())}else c=d?"".concat(d,"/user/info"):"/user/info",("Admin"!==o&&"Admin Viewer"!==o||l)&&t&&(c+="?user_id=".concat(t));console.log("Requesting user data from:",c);let i=await fetch(c,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!i.ok){let e=await i.json(),t=oS(e);throw w(t),Error(t)}let s=await i.json();return console.log("API Response:",s),s}catch(e){throw console.error("Failed to fetch user data:",e),e}},H=async(e,t)=>{try{let o=d?"".concat(d,"/team/info"):"/team/info";t&&(o="".concat(o,"?team_id=").concat(t)),console.log("in teamInfoCall");let a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},W=async function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;arguments.length>5&&void 0!==arguments[5]&&arguments[5],arguments.length>6&&void 0!==arguments[6]&&arguments[6],arguments.length>7&&void 0!==arguments[7]&&arguments[7],arguments.length>8&&void 0!==arguments[8]&&arguments[8];try{let n=d?"".concat(d,"/v2/team/list"):"/v2/team/list";console.log("in teamInfoCall");let l=new URLSearchParams;o&&l.append("user_id",o.toString()),t&&l.append("organization_id",t.toString()),a&&l.append("team_id",a.toString()),r&&l.append("team_alias",r.toString());let c=l.toString();c&&(n+="?".concat(c));let i=await fetch(n,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!i.ok){let e=await i.json(),t=oS(e);throw w(t),Error(t)}let s=await i.json();return console.log("/v2/team/list API Response:",s),s}catch(e){throw console.error("Failed to create key:",e),e}},Y=async function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;try{let n=d?"".concat(d,"/team/list"):"/team/list";console.log("in teamInfoCall");let l=new URLSearchParams;o&&l.append("user_id",o.toString()),t&&l.append("organization_id",t.toString()),a&&l.append("team_id",a.toString()),r&&l.append("team_alias",r.toString());let c=l.toString();c&&(n+="?".concat(c));let i=await fetch(n,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!i.ok){let e=await i.json(),t=oS(e);throw w(t),Error(t)}let s=await i.json();return console.log("/team/list API Response:",s),s}catch(e){throw console.error("Failed to create key:",e),e}},K=async e=>{try{let t=d?"".concat(d,"/team/available"):"/team/available";console.log("in availableTeamListCall");let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("/team/available_teams API Response:",a),a}catch(e){throw e}},$=async e=>{try{let t=d?"".concat(d,"/organization/list"):"/organization/list",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to create key:",e),e}},Q=async(e,t)=>{try{let o=d?"".concat(d,"/organization/info"):"/organization/info";t&&(o="".concat(o,"?organization_id=").concat(t)),console.log("in teamInfoCall");let a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},X=async(e,t)=>{try{if(console.log("Form Values in organizationCreateCall:",t),t.metadata){console.log("formValues.metadata:",t.metadata);try{t.metadata=JSON.parse(t.metadata)}catch(e){throw console.error("Failed to parse metadata:",e),Error("Failed to parse metadata: "+e)}}let o=d?"".concat(d,"/organization/new"):"/organization/new",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},ee=async(e,t)=>{try{console.log("Form Values in organizationUpdateCall:",t);let o=d?"".concat(d,"/organization/update"):"/organization/update",a=await fetch(o,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("Update Team Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},et=async(e,t)=>{try{let o=d?"".concat(d,"/organization/delete"):"/organization/delete",a=await fetch(o,{method:"DELETE",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({organization_ids:[t]})});if(!a.ok){let e=await a.text();throw w(e),Error("Error deleting organization: ".concat(e))}return await a.json()}catch(e){throw console.error("Failed to delete organization:",e),e}},eo=async(e,t)=>{try{let o=d?"".concat(d,"/utils/transform_request"):"/utils/transform_request",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to create key:",e),e}},ea=async function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;try{let r=d?"".concat(d,"/user/daily/activity"):"/user/daily/activity",n=new URLSearchParams;n.append("start_date",c(t)),n.append("end_date",c(o)),n.append("page_size","1000"),n.append("page",a.toString());let l=n.toString();l&&(r+="?".concat(l));let i=await fetch(r,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!i.ok){let e=await i.json(),t=oS(e);throw w(t),Error(t)}return await i.json()}catch(e){throw console.error("Failed to create key:",e),e}},er=async function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;try{let n=d?"".concat(d,"/tag/daily/activity"):"/tag/daily/activity",l=new URLSearchParams;l.append("start_date",c(t)),l.append("end_date",c(o)),l.append("page_size","1000"),l.append("page",a.toString()),r&&l.append("tags",r.join(","));let i=l.toString();i&&(n+="?".concat(i));let s=await fetch(n,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!s.ok){let e=await s.json(),t=oS(e);throw w(t),Error(t)}return await s.json()}catch(e){throw console.error("Failed to create key:",e),e}},en=async function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;try{let n=d?"".concat(d,"/team/daily/activity"):"/team/daily/activity",l=new URLSearchParams;l.append("start_date",c(t)),l.append("end_date",c(o)),l.append("page_size","1000"),l.append("page",a.toString()),r&&l.append("team_ids",r.join(",")),l.append("exclude_team_ids","litellm-dashboard");let i=l.toString();i&&(n+="?".concat(i));let s=await fetch(n,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!s.ok){let e=await s.json(),t=oS(e);throw w(t),Error(t)}return await s.json()}catch(e){throw console.error("Failed to create key:",e),e}},el=async e=>{try{let t=d?"".concat(d,"/global/spend"):"/global/spend",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to create key:",e),e}},ec=async e=>{try{let t=d?"".concat(d,"/onboarding/get_token"):"/onboarding/get_token";t+="?invite_link=".concat(e);let o=await fetch(t,{method:"GET",headers:{"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to create key:",e),e}},ei=async(e,t,o,a)=>{let r=d?"".concat(d,"/onboarding/claim_token"):"/onboarding/claim_token";try{let n=await fetch(r,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({invitation_link:t,user_id:o,password:a})});if(!n.ok){let e=await n.json(),t=oS(e);throw w(t),Error(t)}let l=await n.json();return console.log(l),l}catch(e){throw console.error("Failed to delete key:",e),e}},es=async(e,t,o)=>{try{let a=d?"".concat(d,"/key/").concat(t,"/regenerate"):"/key/".concat(t,"/regenerate"),r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(o)});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("Regenerate key Response:",n),n}catch(e){throw console.error("Failed to regenerate key:",e),e}},ed=!1,eu=null,ep=async(e,t,o)=>{try{console.log("modelInfoCall:",e,t,o);let a=d?"".concat(d,"/v2/model/info"):"/v2/model/info",r=new URLSearchParams;r.append("include_team_models","true"),r.toString()&&(a+="?".concat(r.toString()));let n=await fetch(a,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!n.ok){let e=await n.text();throw e+="error shown=".concat(ed),ed||(e.includes("No model list passed")&&(e="No Models Exist. Click Add Model to get started."),l.Z.info(e),ed=!0,eu&&clearTimeout(eu),eu=setTimeout(()=>{ed=!1},1e4)),Error("Network response was not ok")}let c=await n.json();return console.log("modelInfoCall:",c),c}catch(e){throw console.error("Failed to create key:",e),e}},eh=async(e,t)=>{try{let o=d?"".concat(d,"/v1/model/info"):"/v1/model/info";o+="?litellm_model_id=".concat(t);let a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("modelInfoV1Call:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},eg=async()=>{let e=d?"".concat(d,"/public/model_hub"):"/public/model_hub";return(await fetch(e,{method:"GET",headers:{"Content-Type":"application/json"}})).json()},em=async e=>{try{let t=d?"".concat(d,"/model_group/info"):"/model_group/info",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("modelHubCall:",a),a}catch(e){throw console.error("Failed to create key:",e),e}},ef=async e=>{try{let t=d?"".concat(d,"/get/allowed_ips"):"/get/allowed_ips",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("getAllowedIPs:",a),a.data}catch(e){throw console.error("Failed to get allowed IPs:",e),e}},ew=async(e,t)=>{try{let o=d?"".concat(d,"/add/allowed_ip"):"/add/allowed_ip",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({ip:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("addAllowedIP:",r),r}catch(e){throw console.error("Failed to add allowed IP:",e),e}},ey=async(e,t)=>{try{let o=d?"".concat(d,"/delete/allowed_ip"):"/delete/allowed_ip",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({ip:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("deleteAllowedIP:",r),r}catch(e){throw console.error("Failed to delete allowed IP:",e),e}},ej=async(e,t,o,a,r,n,l,c)=>{try{let t=d?"".concat(d,"/model/metrics"):"/model/metrics";a&&(t="".concat(t,"?_selected_model_group=").concat(a,"&startTime=").concat(r,"&endTime=").concat(n,"&api_key=").concat(l,"&customer=").concat(c));let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to create key:",e),e}},e_=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/model/streaming_metrics"):"/model/streaming_metrics";t&&(r="".concat(r,"?_selected_model_group=").concat(t,"&startTime=").concat(o,"&endTime=").concat(a));let n=await fetch(r,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!n.ok){let e=await n.json(),t=oS(e);throw w(t),Error(t)}return await n.json()}catch(e){throw console.error("Failed to create key:",e),e}},eC=async(e,t,o,a,r,n,l,c)=>{try{let t=d?"".concat(d,"/model/metrics/slow_responses"):"/model/metrics/slow_responses";a&&(t="".concat(t,"?_selected_model_group=").concat(a,"&startTime=").concat(r,"&endTime=").concat(n,"&api_key=").concat(l,"&customer=").concat(c));let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to create key:",e),e}},ek=async(e,t,o,a,r,n,l,c)=>{try{let t=d?"".concat(d,"/model/metrics/exceptions"):"/model/metrics/exceptions";a&&(t="".concat(t,"?_selected_model_group=").concat(a,"&startTime=").concat(r,"&endTime=").concat(n,"&api_key=").concat(l,"&customer=").concat(c));let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to create key:",e),e}},ev=async(e,t)=>{try{let o=d?"".concat(d,"/model_hub/update_useful_links"):"/model_hub/update_useful_links",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({useful_links:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to create key:",e),e}},eT=async function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,n=(arguments.length>5&&void 0!==arguments[5]&&arguments[5],arguments.length>6&&void 0!==arguments[6]&&arguments[6]);console.log("in /models calls, globalLitellmHeaderName",y);try{let t=d?"".concat(d,"/models"):"/models",o=new URLSearchParams;o.append("include_model_access_groups","True"),!0===a&&o.append("return_wildcard_routes","True"),!0===n&&o.append("only_model_access_groups","True"),r&&o.append("team_id",r.toString()),o.toString()&&(t+="?".concat(o.toString()));let l=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!l.ok){let e=await l.json(),t=oS(e);throw w(t),Error(t)}return await l.json()}catch(e){throw console.error("Failed to create key:",e),e}},eE=async(e,t)=>{try{let o=d?"".concat(d,"/global/spend/logs"):"/global/spend/logs";console.log("in keySpendLogsCall:",o);let a=await fetch("".concat(o,"?api_key=").concat(t),{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to create key:",e),e}},eS=async e=>{try{let t=d?"".concat(d,"/global/spend/teams"):"/global/spend/teams";console.log("in teamSpendLogsCall:",t);let o=await fetch("".concat(t),{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log(a),a}catch(e){throw console.error("Failed to create key:",e),e}},eb=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/global/spend/tags"):"/global/spend/tags";t&&o&&(r="".concat(r,"?start_date=").concat(t,"&end_date=").concat(o)),a&&(r+="".concat(r,"&tags=").concat(a.join(","))),console.log("in tagsSpendLogsCall:",r);let n=await fetch("".concat(r),{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!n.ok){let e=await n.json(),t=oS(e);throw w(t),Error(t)}let l=await n.json();return console.log(l),l}catch(e){throw console.error("Failed to create key:",e),e}},eF=async e=>{try{let t=d?"".concat(d,"/global/spend/all_tag_names"):"/global/spend/all_tag_names";console.log("in global/spend/all_tag_names call",t);let o=await fetch("".concat(t),{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log(a),a}catch(e){throw console.error("Failed to create key:",e),e}},eP=async e=>{try{let t=d?"".concat(d,"/customer/list"):"/customer/list";console.log("in customer/list",t);let o=await fetch("".concat(t),{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log(a),a}catch(e){throw console.error("Failed to create key:",e),e}},eO=async(e,t)=>{try{let o=d?"".concat(d,"/user/filter/ui"):"/user/filter/ui";t.get("user_email")&&(o+="?user_email=".concat(t.get("user_email"))),t.get("user_id")&&(o+="?user_id=".concat(t.get("user_id")));let a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to create key:",e),e}},eB=async(e,t,o,a,r,n)=>{try{console.log("user role in spend logs call: ".concat(o));let t=d?"".concat(d,"/spend/logs"):"/spend/logs";t="App Owner"==o?"".concat(t,"?user_id=").concat(a,"&start_date=").concat(r,"&end_date=").concat(n):"".concat(t,"?start_date=").concat(r,"&end_date=").concat(n);let l=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!l.ok){let e=await l.json(),t=oS(e);throw w(t),Error(t)}let c=await l.json();return console.log(c),c}catch(e){throw console.error("Failed to create key:",e),e}},eN=async(e,t,o,a,r,n,l,c,i,s,u,p,h)=>{try{let g=d?"".concat(d,"/spend/logs/ui"):"/spend/logs/ui",m=new URLSearchParams;t&&m.append("api_key",t),o&&m.append("team_id",o),a&&m.append("request_id",a),r&&m.append("start_date",r),n&&m.append("end_date",n),l&&m.append("page",l.toString()),c&&m.append("page_size",c.toString()),i&&m.append("user_id",i),s&&m.append("end_user",s),u&&m.append("status_filter",u),p&&m.append("model",p),h&&m.append("key_alias",h);let f=m.toString();f&&(g+="?".concat(f));let j=await fetch(g,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!j.ok){let e=await j.json(),t=oS(e);throw w(t),Error(t)}let _=await j.json();return console.log("Spend Logs Response:",_),_}catch(e){throw console.error("Failed to fetch spend logs:",e),e}},ex=async e=>{try{let t=d?"".concat(d,"/global/spend/logs"):"/global/spend/logs",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log(a),a}catch(e){throw console.error("Failed to create key:",e),e}},eG=async e=>{try{let t=d?"".concat(d,"/global/spend/keys?limit=5"):"/global/spend/keys?limit=5",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log(a),a}catch(e){throw console.error("Failed to create key:",e),e}},eA=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/global/spend/end_users"):"/global/spend/end_users",n="";n=t?JSON.stringify({api_key:t,startTime:o,endTime:a}):JSON.stringify({startTime:o,endTime:a});let l={method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:n},c=await fetch(r,l);if(!c.ok){let e=await c.json(),t=oS(e);throw w(t),Error(t)}let i=await c.json();return console.log(i),i}catch(e){throw console.error("Failed to create key:",e),e}},eJ=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/global/spend/provider"):"/global/spend/provider";o&&a&&(r+="?start_date=".concat(o,"&end_date=").concat(a)),t&&(r+="&api_key=".concat(t));let n={method:"GET",headers:{[y]:"Bearer ".concat(e)}},l=await fetch(r,n);if(!l.ok){let e=await l.json(),t=oS(e);throw w(t),Error(t)}let c=await l.json();return console.log(c),c}catch(e){throw console.error("Failed to fetch spend data:",e),e}},eU=async(e,t,o)=>{try{let a=d?"".concat(d,"/global/activity"):"/global/activity";t&&o&&(a+="?start_date=".concat(t,"&end_date=").concat(o));let r={method:"GET",headers:{[y]:"Bearer ".concat(e)}},n=await fetch(a,r);if(!n.ok){let e=await n.json(),t=oS(e);throw w(t),Error(t)}let l=await n.json();return console.log(l),l}catch(e){throw console.error("Failed to fetch spend data:",e),e}},eR=async(e,t,o)=>{try{let a=d?"".concat(d,"/global/activity/cache_hits"):"/global/activity/cache_hits";t&&o&&(a+="?start_date=".concat(t,"&end_date=").concat(o));let r={method:"GET",headers:{[y]:"Bearer ".concat(e)}},n=await fetch(a,r);if(!n.ok){let e=await n.json(),t=oS(e);throw w(t),Error(t)}let l=await n.json();return console.log(l),l}catch(e){throw console.error("Failed to fetch spend data:",e),e}},eI=async(e,t,o)=>{try{let a=d?"".concat(d,"/global/activity/model"):"/global/activity/model";t&&o&&(a+="?start_date=".concat(t,"&end_date=").concat(o));let r={method:"GET",headers:{[y]:"Bearer ".concat(e)}},n=await fetch(a,r);if(!n.ok){let e=await n.json(),t=oS(e);throw w(t),Error(t)}let l=await n.json();return console.log(l),l}catch(e){throw console.error("Failed to fetch spend data:",e),e}},eM=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/global/activity/exceptions"):"/global/activity/exceptions";t&&o&&(r+="?start_date=".concat(t,"&end_date=").concat(o)),a&&(r+="&model_group=".concat(a));let n={method:"GET",headers:{[y]:"Bearer ".concat(e)}},l=await fetch(r,n);if(!l.ok){let e=await l.json(),t=oS(e);throw w(t),Error(t)}let c=await l.json();return console.log(c),c}catch(e){throw console.error("Failed to fetch spend data:",e),e}},ez=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/global/activity/exceptions/deployment"):"/global/activity/exceptions/deployment";t&&o&&(r+="?start_date=".concat(t,"&end_date=").concat(o)),a&&(r+="&model_group=".concat(a));let n={method:"GET",headers:{[y]:"Bearer ".concat(e)}},l=await fetch(r,n);if(!l.ok){let e=await l.json(),t=oS(e);throw w(t),Error(t)}let c=await l.json();return console.log(c),c}catch(e){throw console.error("Failed to fetch spend data:",e),e}},eL=async e=>{try{let t=d?"".concat(d,"/global/spend/models?limit=5"):"/global/spend/models?limit=5",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log(a),a}catch(e){throw console.error("Failed to create key:",e),e}},eD=async(e,t)=>{try{let o=d?"".concat(d,"/v2/key/info"):"/v2/key/info",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({keys:t})});if(!a.ok){let e=await a.text();if(e.includes("Invalid proxy server token passed"))throw Error("Invalid proxy server token passed");throw w(e),Error("Network response was not ok")}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to create key:",e),e}},eV=async(e,t,o,a)=>{try{console.log("Sending model connection test request:",JSON.stringify(t));let n=d?"".concat(d,"/health/test_connection"):"/health/test_connection",l=await fetch(n,{method:"POST",headers:{"Content-Type":"application/json",[y]:"Bearer ".concat(e)},body:JSON.stringify({litellm_params:t,model_info:o,mode:a})}),c=l.headers.get("content-type");if(!c||!c.includes("application/json")){let e=await l.text();throw console.error("Received non-JSON response:",e),Error("Received non-JSON response (".concat(l.status,": ").concat(l.statusText,"). Check network tab for details."))}let i=await l.json();if(!l.ok||"error"===i.status){if("error"===i.status);else{var r;return{status:"error",message:(null===(r=i.error)||void 0===r?void 0:r.message)||"Connection test failed: ".concat(l.status," ").concat(l.statusText)}}}return i}catch(e){throw console.error("Model connection test error:",e),e}},eZ=async(e,t)=>{try{console.log("entering keyInfoV1Call");let o=d?"".concat(d,"/key/info"):"/key/info";o="".concat(o,"?key=").concat(t);let a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(console.log("response",a),!a.ok){let e=await a.text();w(e),l.Z.fromBackend("Failed to fetch key info - "+e)}let r=await a.json();return console.log("data",r),r}catch(e){throw console.error("Failed to fetch key info:",e),e}},eq=async function(e,t,o,a,r,n,l,c){let i=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,s=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null;try{let u=d?"".concat(d,"/key/list"):"/key/list";console.log("in keyListCall");let p=new URLSearchParams;o&&p.append("team_id",o.toString()),t&&p.append("organization_id",t.toString()),a&&p.append("key_alias",a),n&&p.append("key_hash",n),r&&p.append("user_id",r.toString()),l&&p.append("page",l.toString()),c&&p.append("size",c.toString()),i&&p.append("sort_by",i),s&&p.append("sort_order",s),p.append("return_full_object","true"),p.append("include_team_keys","true"),p.append("include_created_by_keys","true");let h=p.toString();h&&(u+="?".concat(h));let g=await fetch(u,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!g.ok){let e=await g.json(),t=oS(e);throw w(t),Error(t)}let m=await g.json();return console.log("/team/list API Response:",m),m}catch(e){throw console.error("Failed to create key:",e),e}},eH=async e=>{try{let t=d?"".concat(d,"/key/aliases"):"/key/aliases";console.log("in keyAliasesCall");let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("/key/aliases API Response:",a),a}catch(e){throw console.error("Failed to fetch key aliases:",e),e}},eW=async(e,t)=>{try{let o=d?"".concat(d,"/spend/users"):"/spend/users";console.log("in spendUsersCall:",o);let a=await fetch("".concat(o,"?user_id=").concat(t),{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to get spend for user",e),e}},eY=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/user/request_model"):"/user/request_model",n=await fetch(r,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({models:[t],user_id:o,justification:a})});if(!n.ok){let e=await n.json(),t=oS(e);throw w(t),Error(t)}let l=await n.json();return console.log(l),l}catch(e){throw console.error("Failed to create key:",e),e}},eK=async e=>{try{let t=d?"".concat(d,"/user/get_requests"):"/user/get_requests";console.log("in userGetRequesedtModelsCall:",t);let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log(a),a}catch(e){throw console.error("Failed to get requested models:",e),e}},e$=async(e,t,o)=>{try{let a=d?"".concat(d,"/user/daily/activity/aggregated"):"/user/daily/activity/aggregated",r=new URLSearchParams,n=e=>{let t=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(o,"-").concat(a)};r.append("start_date",n(t)),r.append("end_date",n(o));let l=r.toString();l&&(a+="?".concat(l));let c=await fetch(a,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!c.ok){let e=await c.json(),t=oS(e);throw w(t),Error(t)}return await c.json()}catch(e){throw console.error("Failed to fetch aggregated user daily activity:",e),e}},eQ=async(e,t)=>{try{let o=d?"".concat(d,"/user/get_users?role=").concat(t):"/user/get_users?role=".concat(t);console.log("in userGetAllUsersCall:",o);let a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to get requested models:",e),e}},eX=async e=>{try{let t=d?"".concat(d,"/user/available_roles"):"/user/available_roles",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("response from user/available_role",a),a}catch(e){throw e}},e0=async(e,t)=>{try{if(console.log("Form Values in teamCreateCall:",t),t.metadata){console.log("formValues.metadata:",t.metadata);try{t.metadata=JSON.parse(t.metadata)}catch(e){throw Error("Failed to parse metadata: "+e)}}let o=d?"".concat(d,"/team/new"):"/team/new",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},e1=async(e,t)=>{try{if(console.log("Form Values in credentialCreateCall:",t),t.metadata){console.log("formValues.metadata:",t.metadata);try{t.metadata=JSON.parse(t.metadata)}catch(e){throw Error("Failed to parse metadata: "+e)}}let o=d?"".concat(d,"/credentials"):"/credentials",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},e2=async e=>{try{let t=d?"".concat(d,"/credentials"):"/credentials";console.log("in credentialListCall");let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("/credentials API Response:",a),a}catch(e){throw console.error("Failed to create key:",e),e}},e4=async(e,t,o)=>{try{let a=d?"".concat(d,"/credentials"):"/credentials";t?a+="/by_name/".concat(t):o&&(a+="/by_model/".concat(o)),console.log("in credentialListCall");let r=await fetch(a,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("/credentials API Response:",n),n}catch(e){throw console.error("Failed to create key:",e),e}},e3=async(e,t)=>{try{let o=d?"".concat(d,"/credentials/").concat(t):"/credentials/".concat(t);console.log("in credentialDeleteCall:",t);let a=await fetch(o,{method:"DELETE",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to delete key:",e),e}},e5=async(e,t,o)=>{try{if(console.log("Form Values in credentialUpdateCall:",o),o.metadata){console.log("formValues.metadata:",o.metadata);try{o.metadata=JSON.parse(o.metadata)}catch(e){throw Error("Failed to parse metadata: "+e)}}let a=d?"".concat(d,"/credentials/").concat(t):"/credentials/".concat(t),r=await fetch(a,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...o})});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("API Response:",n),n}catch(e){throw console.error("Failed to create key:",e),e}},e6=async(e,t)=>{try{if(console.log("Form Values in keyUpdateCall:",t),t.model_tpm_limit){console.log("formValues.model_tpm_limit:",t.model_tpm_limit);try{t.model_tpm_limit=JSON.parse(t.model_tpm_limit)}catch(e){throw Error("Failed to parse model_tpm_limit: "+e)}}if(t.model_rpm_limit){console.log("formValues.model_rpm_limit:",t.model_rpm_limit);try{t.model_rpm_limit=JSON.parse(t.model_rpm_limit)}catch(e){throw Error("Failed to parse model_rpm_limit: "+e)}}let o=d?"".concat(d,"/key/update"):"/key/update",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.text();throw w(e),console.error("Error response from the server:",e),Error(e)}let r=await a.json();return console.log("Update key Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},e9=async(e,t)=>{try{console.log("Form Values in teamUpateCall:",t);let o=d?"".concat(d,"/team/update"):"/team/update",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.text();throw w(e),console.error("Error response from the server:",e),l.Z.fromBackend("Failed to update team settings: "+e),Error(e)}let r=await a.json();return console.log("Update Team Response:",r),r}catch(e){throw console.error("Failed to update team:",e),e}},e7=async(e,t,o)=>{try{console.log("Form Values in modelUpateCall:",t);let a=d?"".concat(d,"/model/").concat(o,"/update"):"/model/".concat(o,"/update"),r=await fetch(a,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!r.ok){let e=await r.text();throw w(e),console.error("Error update from the server:",e),Error("Network response was not ok")}let n=await r.json();return console.log("Update model Response:",n),n}catch(e){throw console.error("Failed to update model:",e),e}},e8=async(e,t)=>{try{console.log("Form Values in modelUpateCall:",t);let o=d?"".concat(d,"/model/update"):"/model/update",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.text();throw w(e),console.error("Error update from the server:",e),Error("Network response was not ok")}let r=await a.json();return console.log("Update model Response:",r),r}catch(e){throw console.error("Failed to update model:",e),e}},te=async(e,t,o)=>{try{console.log("Form Values in teamMemberAddCall:",o);let r=d?"".concat(d,"/team/member_add"):"/team/member_add",n=await fetch(r,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({team_id:t,member:o})});if(!n.ok){var a;let e=await n.text(),t={};try{t=JSON.parse(e)}catch(t){console.warn("Failed to parse error body as JSON:",e)}let o=(null==t?void 0:null===(a=t.detail)||void 0===a?void 0:a.error)||"Failed to add team member",r=Error(o);throw r.raw=t,r}let l=await n.json();return console.log("API Response:",l),l}catch(e){throw console.error("Failed to create key:",e),e}},tt=async(e,t,o,a,r)=>{try{console.log("Bulk add team members:",{teamId:t,members:o,maxBudgetInTeam:a});let l=d?"".concat(d,"/team/bulk_member_add"):"/team/bulk_member_add",c={team_id:t};r?c.all_users=!0:c.members=o,null!=a&&(c.max_budget_in_team=a);let i=await fetch(l,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(c)});if(!i.ok){var n;let e=await i.text(),t={};try{t=JSON.parse(e)}catch(t){console.warn("Failed to parse error body as JSON:",e)}let o=(null==t?void 0:null===(n=t.detail)||void 0===n?void 0:n.error)||"Failed to bulk add team members",a=Error(o);throw a.raw=t,a}let s=await i.json();return console.log("Bulk team member add API Response:",s),s}catch(e){throw console.error("Failed to bulk add team members:",e),e}},to=async(e,t,o)=>{try{console.log("Form Values in teamMemberUpdateCall:",o),console.log("Budget value:",o.max_budget_in_team),console.log("TPM limit:",o.tpm_limit),console.log("RPM limit:",o.rpm_limit);let r=d?"".concat(d,"/team/member_update"):"/team/member_update",n={team_id:t,role:o.role,user_id:o.user_id};void 0!==o.user_email&&(n.user_email=o.user_email),void 0!==o.max_budget_in_team&&null!==o.max_budget_in_team&&(n.max_budget_in_team=o.max_budget_in_team),void 0!==o.tpm_limit&&null!==o.tpm_limit&&(n.tpm_limit=o.tpm_limit),void 0!==o.rpm_limit&&null!==o.rpm_limit&&(n.rpm_limit=o.rpm_limit),console.log("Final request body:",n);let l=await fetch(r,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(n)});if(!l.ok){var a;let e=await l.text(),t={};try{t=JSON.parse(e)}catch(t){console.warn("Failed to parse error body as JSON:",e)}let o=(null==t?void 0:null===(a=t.detail)||void 0===a?void 0:a.error)||"Failed to add team member",r=Error(o);throw r.raw=t,r}let c=await l.json();return console.log("API Response:",c),c}catch(e){throw console.error("Failed to update team member:",e),e}},ta=async(e,t,o)=>{try{console.log("Form Values in teamMemberAddCall:",o);let a=d?"".concat(d,"/team/member_delete"):"/team/member_delete",r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({team_id:t,...void 0!==o.user_email&&{user_email:o.user_email},...void 0!==o.user_id&&{user_id:o.user_id}})});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("API Response:",n),n}catch(e){throw console.error("Failed to create key:",e),e}},tr=async(e,t,o)=>{try{console.log("Form Values in teamMemberAddCall:",o);let a=d?"".concat(d,"/organization/member_add"):"/organization/member_add",r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({organization_id:t,member:o})});if(!r.ok){let e=await r.text();throw w(e),console.error("Error response from the server:",e),Error(e)}let n=await r.json();return console.log("API Response:",n),n}catch(e){throw console.error("Failed to create organization member:",e),e}},tn=async(e,t,o)=>{try{console.log("Form Values in organizationMemberDeleteCall:",o);let a=d?"".concat(d,"/organization/member_delete"):"/organization/member_delete",r=await fetch(a,{method:"DELETE",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({organization_id:t,user_id:o})});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("API Response:",n),n}catch(e){throw console.error("Failed to delete organization member:",e),e}},tl=async(e,t,o)=>{try{console.log("Form Values in organizationMemberUpdateCall:",o);let a=d?"".concat(d,"/organization/member_update"):"/organization/member_update",r=await fetch(a,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({organization_id:t,...o})});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("API Response:",n),n}catch(e){throw console.error("Failed to update organization member:",e),e}},tc=async(e,t,o)=>{try{console.log("Form Values in userUpdateUserCall:",t);let a=d?"".concat(d,"/user/update"):"/user/update",r={...t};null!==o&&(r.user_role=o),r=JSON.stringify(r);let n=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:r});if(!n.ok){let e=await n.json(),t=oS(e);throw w(t),Error(t)}let l=await n.json();return console.log("API Response:",l),l}catch(e){throw console.error("Failed to create key:",e),e}},ti=async function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];try{let r;console.log("Form Values in userUpdateUserCall:",t);let n=d?"".concat(d,"/user/bulk_update"):"/user/bulk_update";if(a)r=JSON.stringify({all_users:!0,user_updates:t});else if(o&&o.length>0){let e=[];for(let a of o)e.push({user_id:a,...t});r=JSON.stringify({users:e})}else throw Error("Must provide either userIds or set allUsers=true");let l=await fetch(n,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:r});if(!l.ok){let e=await l.json(),t=oS(e);throw w(t),Error(t)}let c=await l.json();return console.log("API Response:",c),c}catch(e){throw console.error("Failed to create key:",e),e}},ts=async(e,t)=>{try{let o=d?"".concat(d,"/global/predict/spend/logs"):"/global/predict/spend/logs",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({data:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log(r),r}catch(e){throw console.error("Failed to create key:",e),e}},td=async e=>{try{let t=d?"".concat(d,"/health/services?service=slack_budget_alerts"):"/health/services?service=slack_budget_alerts";console.log("Checking Slack Budget Alerts service health");let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.text();throw w(e),Error(e)}let a=await o.json();return l.Z.success("Test Slack Alert worked - check your Slack!"),console.log("Service Health Response:",a),a}catch(e){throw console.error("Failed to perform health check:",e),e}},tu=async(e,t)=>{try{let o=d?"".concat(d,"/health/services?service=").concat(t):"/health/services?service=".concat(t);console.log("Checking Slack Budget Alerts service health");let a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.text();throw w(e),Error(e)}return await a.json()}catch(e){throw console.error("Failed to perform health check:",e),e}},tp=async e=>{try{let t=d?"".concat(d,"/budget/list"):"/budget/list",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to get callbacks:",e),e}},th=async e=>{try{let t=d?"".concat(d,"/budget/settings"):"/budget/settings",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to get callbacks:",e),e}},tg=async(e,t,o)=>{try{let t=d?"".concat(d,"/get/config/callbacks"):"/get/config/callbacks",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to get callbacks:",e),e}},tm=async e=>{try{let t=d?"".concat(d,"/config/list?config_type=general_settings"):"/config/list?config_type=general_settings",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to get callbacks:",e),e}},tf=async(e,t)=>{try{let o=d?"".concat(d,"/config/pass_through_endpoint"):"/config/pass_through_endpoint";t&&(o+="/team/".concat(t));let a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to get callbacks:",e),e}},tw=async(e,t)=>{try{let o=d?"".concat(d,"/config/field/info?field_name=").concat(t):"/config/field/info?field_name=".concat(t),a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to set callbacks:",e),e}},ty=async(e,t,o)=>{try{let a=d?"".concat(d,"/config/pass_through_endpoint"):"/config/pass_through_endpoint",r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({field_name:t,field_value:o})});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return l.Z.success("Successfully updated value!"),n}catch(e){throw console.error("Failed to set callbacks:",e),e}},tj=async(e,t)=>{try{let o=d?"".concat(d,"/config/pass_through_endpoint"):"/config/pass_through_endpoint",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to set callbacks:",e),e}},t_=async(e,t,o)=>{try{let a=d?"".concat(d,"/config/field/update"):"/config/field/update",r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({field_name:t,field_value:o,config_type:"general_settings"})});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return l.Z.success("Successfully updated value!"),n}catch(e){throw console.error("Failed to set callbacks:",e),e}},tC=async(e,t)=>{try{let o=d?"".concat(d,"/config/field/delete"):"/config/field/delete",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({field_name:t,config_type:"general_settings"})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return l.Z.success("Field reset on proxy"),r}catch(e){throw console.error("Failed to get callbacks:",e),e}},tk=async(e,t)=>{try{let o=d?"".concat(d,"/config/pass_through_endpoint?endpoint_id=").concat(t):"/config/pass_through_endpoint?endpoint_id=".concat(t),a=await fetch(o,{method:"DELETE",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to get callbacks:",e),e}},tv=async(e,t)=>{try{let o=d?"".concat(d,"/config/update"):"/config/update",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to set callbacks:",e),e}},tT=async e=>{try{let t=d?"".concat(d,"/health"):"/health",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to call /health:",e),e}},tE=async(e,t)=>{try{let o=d?"".concat(d,"/health?model=").concat(encodeURIComponent(t)):"/health?model=".concat(encodeURIComponent(t)),a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to call /health for model ".concat(t,":"),e),e}},tS=async e=>{try{let t=d?"".concat(d,"/cache/ping"):"/cache/ping",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.text();throw w(e),Error(e)}return await o.json()}catch(e){throw console.error("Failed to call /cache/ping:",e),e}},tb=async function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:100,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;try{let n=d?"".concat(d,"/health/history"):"/health/history",l=new URLSearchParams;t&&l.append("model",t),o&&l.append("status_filter",o),l.append("limit",a.toString()),l.append("offset",r.toString()),l.toString()&&(n+="?".concat(l.toString()));let c=await fetch(n,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!c.ok){let e=await c.text();throw w(e),Error(e)}return await c.json()}catch(e){throw console.error("Failed to call /health/history:",e),e}},tF=async e=>{try{let t=d?"".concat(d,"/health/latest"):"/health/latest",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.text();throw w(e),Error(e)}return await o.json()}catch(e){throw console.error("Failed to call /health/latest:",e),e}},tP=async e=>{try{console.log("Getting proxy UI settings"),console.log("proxyBaseUrl in getProxyUISettings:",d);let t=d?"".concat(d,"/sso/get/ui_settings"):"/sso/get/ui_settings",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to get callbacks:",e),e}},tO=async e=>{try{let t=d?"".concat(d,"/v2/guardrails/list"):"/v2/guardrails/list",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to get guardrails list:",e),e}},tB=async e=>{try{let t=d?"".concat(d,"/prompts/list"):"/prompts/list",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to get prompts list:",e),e}},tN=async(e,t)=>{try{let o=d?"".concat(d,"/prompts/").concat(t,"/info"):"/prompts/".concat(t,"/info"),a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to get prompt info:",e),e}},tx=async(e,t)=>{try{let o=d?"".concat(d,"/prompts"):"/prompts",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to create prompt:",e),e}},tG=async(e,t,o)=>{try{let a=d?"".concat(d,"/prompts/").concat(t):"/prompts/".concat(t),r=await fetch(a,{method:"PUT",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(o)});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}return await r.json()}catch(e){throw console.error("Failed to update prompt:",e),e}},tA=async(e,t)=>{try{let o=d?"".concat(d,"/prompts/").concat(t):"/prompts/".concat(t),a=await fetch(o,{method:"DELETE",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to delete prompt:",e),e}},tJ=async(e,t)=>{try{let o=new FormData;o.append("file",t);let a=d?"".concat(d,"/utils/dotprompt_json_converter"):"/utils/dotprompt_json_converter",r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e)},body:o});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}return await r.json()}catch(e){throw console.error("Failed to convert prompt file:",e),e}},tU=async(e,t,o)=>{try{let a=d?"".concat(d,"/prompts/").concat(t):"/prompts/".concat(t),r=await fetch(a,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(o)});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}return await r.json()}catch(e){throw console.error("Failed to patch prompt:",e),e}},tR=async(e,t)=>{try{let o=d?"".concat(d,"/guardrails"):"/guardrails",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({guardrail:t})});if(!a.ok){let e=await a.text();throw w(e),Error(e)}let r=await a.json();return console.log("Create guardrail response:",r),r}catch(e){throw console.error("Failed to create guardrail:",e),e}},tI=async(e,t,o)=>{try{let a=d?"".concat(d,"/spend/logs/ui/").concat(t,"?start_date=").concat(encodeURIComponent(o)):"/spend/logs/ui/".concat(t,"?start_date=").concat(encodeURIComponent(o));console.log("Fetching log details from:",a);let r=await fetch(a,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("Fetched log details:",n),n}catch(e){throw console.error("Failed to fetch log details:",e),e}},tM=async e=>{try{let t=d?"".concat(d,"/get/internal_user_settings"):"/get/internal_user_settings";console.log("Fetching SSO settings from:",t);let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("Fetched SSO settings:",a),a}catch(e){throw console.error("Failed to fetch SSO settings:",e),e}},tz=async(e,t)=>{try{let o=d?"".concat(d,"/update/internal_user_settings"):"/update/internal_user_settings";console.log("Updating internal user settings:",t);let a=await fetch(o,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok){let e=await a.text();throw w(e),Error(e)}let r=await a.json();return console.log("Updated internal user settings:",r),l.Z.success("Internal user settings updated successfully"),r}catch(e){throw console.error("Failed to update internal user settings:",e),e}},tL=async e=>{try{let t=d?"".concat(d,"/v1/mcp/server"):"/v1/mcp/server";console.log("Fetching MCP servers from:",t);let o=await fetch(t,{method:g.GET,headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("Fetched MCP servers:",a),a}catch(e){throw console.error("Failed to fetch MCP servers:",e),e}},tD=async e=>{try{let t=d?"".concat(d,"/v1/mcp/access_groups"):"/v1/mcp/access_groups";console.log("Fetching MCP access groups from:",t);let o=await fetch(t,{method:g.GET,headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("Fetched MCP access groups:",a),a.access_groups||[]}catch(e){throw console.error("Failed to fetch MCP access groups:",e),e}},tV=async(e,t)=>{try{console.log("Form Values in createMCPServer:",t);let o=d?"".concat(d,"/v1/mcp/server"):"/v1/mcp/server",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({...t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("API Response:",r),r}catch(e){throw console.error("Failed to create key:",e),e}},tZ=async(e,t)=>{try{let o=d?"".concat(d,"/v1/mcp/server"):"/v1/mcp/server",a=await fetch(o,{method:"PUT",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to update MCP server:",e),e}},tq=async(e,t)=>{try{let o=(d?"".concat(d):"")+"/v1/mcp/server/".concat(t);console.log("in deleteMCPServer:",t);let a=await fetch(o,{method:g.DELETE,headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}}catch(e){throw console.error("Failed to delete key:",e),e}},tH=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/mcp-rest/tools/list?server_id=").concat(t):"/mcp-rest/tools/list?server_id=".concat(t);console.log("Fetching MCP tools from:",r);let n={[y]:"Bearer ".concat(e),"Content-Type":"application/json"};a&&o?n["x-mcp-".concat(a,"-authorization")]=o:o&&(n[j]=o);let l=await fetch(r,{method:"GET",headers:n}),c=await l.json();if(console.log("Fetched MCP tools response:",c),!l.ok){if(c.error&&c.message)throw Error(c.message);throw Error("Failed to fetch MCP tools")}return c}catch(e){return console.error("Failed to fetch MCP tools:",e),{tools:[],error:"network_error",message:e instanceof Error?e.message:"Failed to fetch MCP tools"}}},tW=async(e,t,o,a,r)=>{try{let n=d?"".concat(d,"/mcp-rest/tools/call"):"/mcp-rest/tools/call";console.log("Calling MCP tool:",t,"with arguments:",o);let l={[y]:"Bearer ".concat(e),"Content-Type":"application/json"};r?l["x-mcp-".concat(r,"-authorization")]=a:l[j]=a;let c=await fetch(n,{method:"POST",headers:l,body:JSON.stringify({name:t,arguments:o})});if(!c.ok){let e="Network response was not ok",t=null,o=await c.text();try{let a=JSON.parse(o);a.detail?"string"==typeof a.detail?e=a.detail:"object"==typeof a.detail&&(e=a.detail.message||a.detail.error||"An error occurred",t=a.detail):e=a.message||a.error||e}catch(t){console.error("Failed to parse JSON error response:",t),o&&(e=o)}let a=Error(e);throw a.status=c.status,a.statusText=c.statusText,a.details=t,w(e),a}let i=await c.json();return console.log("MCP tool call response:",i),i}catch(e){throw console.error("Failed to call MCP tool:",e),console.error("Error type:",typeof e),e instanceof Error&&(console.error("Error message:",e.message),console.error("Error stack:",e.stack)),e}},tY=async(e,t)=>{try{let o=d?"".concat(d,"/tag/new"):"/tag/new",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify(t)});if(!a.ok){let e=await a.text();await w(e);return}return await a.json()}catch(e){throw console.error("Error creating tag:",e),e}},tK=async(e,t)=>{try{let o=d?"".concat(d,"/tag/update"):"/tag/update",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify(t)});if(!a.ok){let e=await a.text();await w(e);return}return await a.json()}catch(e){throw console.error("Error updating tag:",e),e}},t$=async(e,t)=>{try{let o=d?"".concat(d,"/tag/info"):"/tag/info",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify({names:t})});if(!a.ok){let e=await a.text();return await w(e),{}}return await a.json()}catch(e){throw console.error("Error getting tag info:",e),e}},tQ=async e=>{try{let t=d?"".concat(d,"/tag/list"):"/tag/list",o=await fetch(t,{method:"GET",headers:{Authorization:"Bearer ".concat(e)}});if(!o.ok){let e=await o.text();return await w(e),{}}return await o.json()}catch(e){throw console.error("Error listing tags:",e),e}},tX=async(e,t)=>{try{let o=d?"".concat(d,"/tag/delete"):"/tag/delete",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify({name:t})});if(!a.ok){let e=await a.text();await w(e);return}return await a.json()}catch(e){throw console.error("Error deleting tag:",e),e}},t0=async e=>{try{let t=d?"".concat(d,"/get/default_team_settings"):"/get/default_team_settings";console.log("Fetching default team settings from:",t);let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("Fetched default team settings:",a),a}catch(e){throw console.error("Failed to fetch default team settings:",e),e}},t1=async(e,t)=>{try{let o=d?"".concat(d,"/update/default_team_settings"):"/update/default_team_settings";console.log("Updating default team settings:",t);let a=await fetch(o,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("Updated default team settings:",r),l.Z.success("Default team settings updated successfully"),r}catch(e){throw console.error("Failed to update default team settings:",e),e}},t2=async(e,t)=>{try{let o=d?"".concat(d,"/team/permissions_list?team_id=").concat(t):"/team/permissions_list?team_id=".concat(t),a=await fetch(o,{method:"GET",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("Team permissions response:",r),r}catch(e){throw console.error("Failed to get team permissions:",e),e}},t4=async(e,t,o)=>{try{let a=d?"".concat(d,"/team/permissions_update"):"/team/permissions_update",r=await fetch(a,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify({team_id:t,team_member_permissions:o})});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return console.log("Team permissions response:",n),n}catch(e){throw console.error("Failed to update team permissions:",e),e}},t3=async(e,t)=>{try{let o=d?"".concat(d,"/spend/logs/session/ui?session_id=").concat(encodeURIComponent(t)):"/spend/logs/session/ui?session_id=".concat(encodeURIComponent(t)),a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to fetch session logs:",e),e}},t5=async(e,t)=>{try{let o=d?"".concat(d,"/vector_store/new"):"/vector_store/new",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify(t)});if(!a.ok){let e=await a.json();throw Error(e.detail||"Failed to create vector store")}return await a.json()}catch(e){throw console.error("Error creating vector store:",e),e}},t6=async function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1],arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{let t=d?"".concat(d,"/vector_store/list"):"/vector_store/list",o=await fetch(t,{method:"GET",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)}});if(!o.ok){let e=await o.json();throw Error(e.detail||"Failed to list vector stores")}return await o.json()}catch(e){throw console.error("Error listing vector stores:",e),e}},t9=async(e,t)=>{try{let o=d?"".concat(d,"/vector_store/delete"):"/vector_store/delete",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify({vector_store_id:t})});if(!a.ok){let e=await a.json();throw Error(e.detail||"Failed to delete vector store")}return await a.json()}catch(e){throw console.error("Error deleting vector store:",e),e}},t7=async(e,t)=>{try{let o=d?"".concat(d,"/vector_store/info"):"/vector_store/info",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify({vector_store_id:t})});if(!a.ok){let e=await a.json();throw Error(e.detail||"Failed to get vector store info")}return await a.json()}catch(e){throw console.error("Error getting vector store info:",e),e}},t8=async(e,t)=>{try{let o=d?"".concat(d,"/vector_store/update"):"/vector_store/update",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(e)},body:JSON.stringify(t)});if(!a.ok){let e=await a.json();throw Error(e.detail||"Failed to update vector store")}return await a.json()}catch(e){throw console.error("Error updating vector store:",e),e}},oe=async e=>{try{let t=d?"".concat(d,"/email/event_settings"):"/email/event_settings",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.text();throw w(e),Error("Failed to get email event settings")}let a=await o.json();return console.log("Email event settings response:",a),a}catch(e){throw console.error("Failed to get email event settings:",e),e}},ot=async(e,t)=>{try{let o=d?"".concat(d,"/email/event_settings"):"/email/event_settings",a=await fetch(o,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok){let e=await a.text();throw w(e),Error("Failed to update email event settings")}let r=await a.json();return console.log("Update email event settings response:",r),r}catch(e){throw console.error("Failed to update email event settings:",e),e}},oo=async e=>{try{let t=d?"".concat(d,"/email/event_settings/reset"):"/email/event_settings/reset",o=await fetch(t,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.text();throw w(e),Error("Failed to reset email event settings")}let a=await o.json();return console.log("Reset email event settings response:",a),a}catch(e){throw console.error("Failed to reset email event settings:",e),e}},oa=async(e,t)=>{try{let o=d?"".concat(d,"/guardrails/").concat(t):"/guardrails/".concat(t),a=await fetch(o,{method:"DELETE",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.text();throw w(e),Error(e)}let r=await a.json();return console.log("Delete guardrail response:",r),r}catch(e){throw console.error("Failed to delete guardrail:",e),e}},or=async e=>{try{let t=d?"".concat(d,"/guardrails/ui/add_guardrail_settings"):"/guardrails/ui/add_guardrail_settings",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.text();throw w(e),Error("Failed to get guardrail UI settings")}let a=await o.json();return console.log("Guardrail UI settings response:",a),a}catch(e){throw console.error("Failed to get guardrail UI settings:",e),e}},on=async e=>{try{let t=d?"".concat(d,"/guardrails/ui/provider_specific_params"):"/guardrails/ui/provider_specific_params",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.text();throw w(e),Error("Failed to get guardrail provider specific parameters")}let a=await o.json();return console.log("Guardrail provider specific params response:",a),a}catch(e){throw console.error("Failed to get guardrail provider specific parameters:",e),e}},ol=async(e,t)=>{try{let o=d?"".concat(d,"/guardrails/").concat(t,"/info"):"/guardrails/".concat(t,"/info"),a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.text();throw w(e),Error("Failed to get guardrail info")}let r=await a.json();return console.log("Guardrail info response:",r),r}catch(e){throw console.error("Failed to get guardrail info:",e),e}},oc=async(e,t,o)=>{try{let a=d?"".concat(d,"/guardrails/").concat(t):"/guardrails/".concat(t),r=await fetch(a,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(o)});if(!r.ok){let e=await r.text();throw w(e),Error("Failed to update guardrail")}let n=await r.json();return console.log("Update guardrail response:",n),n}catch(e){throw console.error("Failed to update guardrail:",e),e}},oi=async e=>{try{let t=d?"".concat(d,"/get/sso_settings"):"/get/sso_settings";console.log("Fetching SSO configuration from:",t);let o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}let a=await o.json();return console.log("Fetched SSO configuration:",a),a}catch(e){throw console.error("Failed to fetch SSO configuration:",e),e}},os=async(e,t)=>{try{let o=d?"".concat(d,"/update/sso_settings"):"/update/sso_settings";console.log("Updating SSO configuration:",t);let a=await fetch(o,{method:"PATCH",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(t)});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=await a.json();return console.log("Updated SSO configuration:",r),r}catch(e){throw console.error("Failed to update SSO configuration:",e),e}},od=async(e,t,o,a,r)=>{try{let t=d?"".concat(d,"/audit"):"/audit",o=new URLSearchParams;a&&o.append("page",a.toString()),r&&o.append("page_size",r.toString());let n=o.toString();n&&(t+="?".concat(n));let l=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!l.ok){let e=await l.json(),t=oS(e);throw w(t),Error(t)}return await l.json()}catch(e){throw console.error("Failed to fetch audit logs:",e),e}},ou=async e=>{try{let t=d?"".concat(d,"/user/available_users"):"/user/available_users",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e)}});if(!o.ok){if(404===o.status)return null;let e=await o.text();throw w(e),Error("Network response was not ok")}return await o.json()}catch(e){throw console.error("Failed to fetch remaining users:",e),e}},op=async(e,t,o)=>{try{let a=d?"".concat(d,"/config/pass_through_endpoint/").concat(encodeURIComponent(t)):"/config/pass_through_endpoint/".concat(encodeURIComponent(t)),r=await fetch(a,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify(o)});if(!r.ok){let e=await r.json(),t=oS(e);throw w(t),Error(t)}let n=await r.json();return l.Z.success("Pass through endpoint updated successfully"),n}catch(e){throw console.error("Failed to update pass through endpoint:",e),e}},oh=async(e,t)=>{try{let o=d?"".concat(d,"/config/pass_through_endpoint?endpoint_id=").concat(encodeURIComponent(t)):"/config/pass_through_endpoint?endpoint_id=".concat(encodeURIComponent(t)),a=await fetch(o,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}let r=(await a.json()).endpoints;if(!r||0===r.length)throw Error("Pass through endpoint not found");return r[0]}catch(e){throw console.error("Failed to get pass through endpoint info:",e),e}},og=async(e,t)=>{try{let o=d?"".concat(d,"/config/callback/delete"):"/config/callback/delete",a=await fetch(o,{method:"POST",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({callback_name:t})});if(!a.ok){let e=await a.json(),t=oS(e);throw w(t),Error(t)}return await a.json()}catch(e){throw console.error("Failed to delete specific callback:",e),e}},om=async e=>{let t=h(),o=await fetch("".concat(t,"/v1/mcp/tools"),{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok)throw Error("HTTP error! status: ".concat(o.status));return await o.json()},of=async(e,t)=>{try{console.log("Testing MCP connection with config:",JSON.stringify(t));let a=d?"".concat(d,"/mcp-rest/test/connection"):"/mcp-rest/test/connection",r=await fetch(a,{method:"POST",headers:{"Content-Type":"application/json",[y]:"Bearer ".concat(e)},body:JSON.stringify(t)}),n=r.headers.get("content-type");if(!n||!n.includes("application/json")){let e=await r.text();throw console.error("Received non-JSON response:",e),Error("Received non-JSON response (".concat(r.status,": ").concat(r.statusText,"). Check network tab for details."))}let l=await r.json();if(!r.ok||"error"===l.status){if("error"===l.status);else{var o;return{status:"error",message:(null===(o=l.error)||void 0===o?void 0:o.message)||"MCP connection test failed: ".concat(r.status," ").concat(r.statusText)}}}return l}catch(e){throw console.error("MCP connection test error:",e),e}},ow=async(e,t)=>{try{console.log("Testing MCP tools list with config:",JSON.stringify(t));let o=d?"".concat(d,"/mcp-rest/test/tools/list"):"/mcp-rest/test/tools/list",a=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json",[y]:"Bearer ".concat(e)},body:JSON.stringify(t)}),r=a.headers.get("content-type");if(!r||!r.includes("application/json")){let e=await a.text();throw console.error("Received non-JSON response:",e),Error("Received non-JSON response (".concat(a.status,": ").concat(a.statusText,"). Check network tab for details."))}let n=await a.json();if((!a.ok||n.error)&&!n.error)return{tools:[],error:"request_failed",message:n.message||"MCP tools list failed: ".concat(a.status," ").concat(a.statusText)};return n}catch(e){throw console.error("MCP tools list test error:",e),e}},oy=async(e,t,o)=>{try{let a="".concat(h(),"/v1/vector_stores/").concat(t,"/search"),r=await fetch(a,{method:"POST",headers:{Authorization:"Bearer ".concat(e),"Content-Type":"application/json"},body:JSON.stringify({query:o})});if(!r.ok){let e=await r.text();return await w(e),null}return await r.json()}catch(e){throw console.error("Error testing vector store search:",e),e}},oj=async function(e,t,o){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:50,n=arguments.length>5?arguments[5]:void 0;try{let l=d?"".concat(d,"/tag/user-agent/analytics"):"/tag/user-agent/analytics",c=new URLSearchParams,i=e=>{let t=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(o,"-").concat(a)};c.append("start_date",i(t)),c.append("end_date",i(o)),c.append("page",a.toString()),c.append("page_size",r.toString()),n&&c.append("user_agent_filter",n);let s=c.toString();s&&(l+="?".concat(s));let u=await fetch(l,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!u.ok){let e=await u.json(),t=oS(e);throw w(t),Error(t)}return await u.json()}catch(e){throw console.error("Failed to fetch user agent analytics:",e),e}},o_=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/tag/dau"):"/tag/dau",n=new URLSearchParams;n.append("end_date",(e=>{let t=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(o,"-").concat(a)})(t)),a&&a.length>0?a.forEach(e=>{n.append("tag_filters",e)}):o&&n.append("tag_filter",o);let l=n.toString();l&&(r+="?".concat(l));let c=await fetch(r,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!c.ok){let e=await c.json(),t=oS(e);throw w(t),Error(t)}return await c.json()}catch(e){throw console.error("Failed to fetch DAU:",e),e}},oC=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/tag/wau"):"/tag/wau",n=new URLSearchParams;n.append("end_date",(e=>{let t=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(o,"-").concat(a)})(t)),a&&a.length>0?a.forEach(e=>{n.append("tag_filters",e)}):o&&n.append("tag_filter",o);let l=n.toString();l&&(r+="?".concat(l));let c=await fetch(r,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!c.ok){let e=await c.json(),t=oS(e);throw w(t),Error(t)}return await c.json()}catch(e){throw console.error("Failed to fetch WAU:",e),e}},ok=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/tag/mau"):"/tag/mau",n=new URLSearchParams;n.append("end_date",(e=>{let t=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(o,"-").concat(a)})(t)),a&&a.length>0?a.forEach(e=>{n.append("tag_filters",e)}):o&&n.append("tag_filter",o);let l=n.toString();l&&(r+="?".concat(l));let c=await fetch(r,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!c.ok){let e=await c.json(),t=oS(e);throw w(t),Error(t)}return await c.json()}catch(e){throw console.error("Failed to fetch MAU:",e),e}},ov=async e=>{try{let t=d?"".concat(d,"/tag/distinct"):"/tag/distinct",o=await fetch(t,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!o.ok){let e=await o.json(),t=oS(e);throw w(t),Error(t)}return await o.json()}catch(e){throw console.error("Failed to fetch distinct tags:",e),e}},oT=async(e,t,o,a)=>{try{let r=d?"".concat(d,"/tag/summary"):"/tag/summary",n=new URLSearchParams,l=e=>{let t=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(o,"-").concat(a)};n.append("start_date",l(t)),n.append("end_date",l(o)),a&&a.length>0&&a.forEach(e=>{n.append("tag_filters",e)});let c=n.toString();c&&(r+="?".concat(c));let i=await fetch(r,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!i.ok){let e=await i.json(),t=oS(e);throw w(t),Error(t)}return await i.json()}catch(e){throw console.error("Failed to fetch user agent summary:",e),e}},oE=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:50,a=arguments.length>3?arguments[3]:void 0;try{let r=d?"".concat(d,"/tag/user-agent/per-user-analytics"):"/tag/user-agent/per-user-analytics",n=new URLSearchParams;n.append("page",t.toString()),n.append("page_size",o.toString()),a&&a.length>0&&a.forEach(e=>{n.append("tag_filters",e)});let l=n.toString();l&&(r+="?".concat(l));let c=await fetch(r,{method:"GET",headers:{[y]:"Bearer ".concat(e),"Content-Type":"application/json"}});if(!c.ok){let e=await c.json(),t=oS(e);throw w(t),Error(t)}return await c.json()}catch(e){throw console.error("Failed to fetch per-user analytics:",e),e}},oS=e=>(null==e?void 0:e.error)&&(e.error.message||e.error)||(null==e?void 0:e.message)||(null==e?void 0:e.detail)||(null==e?void 0:e.error)||JSON.stringify(e)},85968:function(e,t,o){o.d(t,{O:function(){return a}});let a=e=>{if(!e)return"An unknown error occurred";if("string"==typeof e)return e;if(e.message)try{let t=JSON.parse(e.message);if(t.error&&t.error.message)return t.error.message;return"string"==typeof t?t:JSON.stringify(t,null,2)}catch(t){return e.message}if(e.response&&e.response.data){if("string"==typeof e.response.data)return e.response.data;if(e.response.data.message)return e.response.data.message;if(e.response.data.error)return"string"==typeof e.response.data.error?e.response.data.error:e.response.data.error.message||JSON.stringify(e.response.data.error)}return String(e)}},3914:function(e,t,o){function a(){if("undefined"==typeof document)return;let e=window.location.hostname,t=["Lax","Strict","None"];["/","/ui"].forEach(o=>{document.cookie="token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=".concat(o,";"),document.cookie="token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=".concat(o,"; domain=").concat(e,";"),t.forEach(t=>{let a="None"===t?" Secure;":"";document.cookie="token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=".concat(o,"; SameSite=").concat(t,";").concat(a),document.cookie="token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=".concat(o,"; domain=").concat(e,"; SameSite=").concat(t,";").concat(a)})}),console.log("After clearing cookies:",document.cookie)}function r(e){if("undefined"==typeof document)return null;let t=document.cookie.split("; ").find(t=>t.startsWith(e+"="));return t?t.split("=")[1]:null}o.d(t,{b:function(){return a},e:function(){return r}})}}]);
\ No newline at end of file
diff --git a/litellm/proxy/_experimental/out/_next/static/chunks/webpack-db32e14ed3b4a921.js b/litellm/proxy/_experimental/out/_next/static/chunks/webpack-db32e14ed3b4a921.js
index 07338f1e6c9..58e3f1ff565 100644
--- a/litellm/proxy/_experimental/out/_next/static/chunks/webpack-db32e14ed3b4a921.js
+++ b/litellm/proxy/_experimental/out/_next/static/chunks/webpack-db32e14ed3b4a921.js
@@ -1 +1 @@
-!function(){"use strict";var e,t,n,r,o,u,i,c,f,a={},l={};function d(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={id:e,loaded:!1,exports:{}},r=!0;try{a[e].call(n.exports,n,n.exports,d),r=!1}finally{r&&delete l[e]}return n.loaded=!0,n.exports}d.m=a,e=[],d.O=function(t,n,r,o){if(n){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u<e.length;u++){for(var n=e[u][0],r=e[u][1],o=e[u][2],c=!0,f=0;f<n.length;f++)i>=o&&Object.keys(d.O).every(function(e){return d.O[e](n[f])})?n.splice(f--,1):(c=!1,o<i&&(i=o));if(c){e.splice(u--,1);var a=r();void 0!==a&&(t=a)}}return t},d.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},d.t=function(e,r){if(1&r&&(e=this(e)),8&r||"object"==typeof e&&e&&(4&r&&e.__esModule||16&r&&"function"==typeof e.then))return e;var o=Object.create(null);d.r(o);var u={};t=t||[null,n({}),n([]),n(n)];for(var i=2&r&&e;"object"==typeof i&&!~t.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach(function(t){u[t]=function(){return e[t]}});return u.default=function(){return e},d.d(o,u),o},d.d=function(e,t){for(var n in t)d.o(t,n)&&!d.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},d.f={},d.e=function(e){return Promise.all(Object.keys(d.f).reduce(function(t,n){return d.f[n](e,t),t},[]))},d.u=function(e){},d.miniCssF=function(e){},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="_N_E:",d.l=function(e,t,n,u){if(r[e]){r[e].push(t);return}if(void 0!==n)for(var i,c,f=document.getElementsByTagName("script"),a=0;a<f.length;a++){var l=f[a];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==o+n){i=l;break}}i||(c=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,d.nc&&i.setAttribute("nonce",d.nc),i.setAttribute("data-webpack",o+n),i.src=d.tu(e)),r[e]=[t];var s=function(t,n){i.onerror=i.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(function(e){return e(n)}),t)return t(n)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=s.bind(null,i.onerror),i.onload=s.bind(null,i.onload),c&&document.head.appendChild(i)},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},d.tt=function(){return void 0===u&&(u={createScriptURL:function(e){return e}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(u=trustedTypes.createPolicy("nextjs#bundler",u))),u},d.tu=function(e){return d.tt().createScriptURL(e)},d.p="/litellm-asset-prefix/_next/",i={2272:0,1919:0,2461:0},d.f.j=function(e,t){var n=d.o(i,e)?i[e]:void 0;if(0!==n){if(n)t.push(n[2]);else if(/^(1919|2272|2461)$/.test(e))i[e]=0;else{var r=new Promise(function(t,r){n=i[e]=[t,r]});t.push(n[2]=r);var o=d.p+d.u(e),u=Error();d.l(o,function(t){if(d.o(i,e)&&(0!==(n=i[e])&&(i[e]=void 0),n)){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",u.name="ChunkLoadError",u.type=r,u.request=o,n[1](u)}},"chunk-"+e,e)}}},d.O.j=function(e){return 0===i[e]},c=function(e,t){var n,r,o=t[0],u=t[1],c=t[2],f=0;if(o.some(function(e){return 0!==i[e]})){for(n in u)d.o(u,n)&&(d.m[n]=u[n]);if(c)var a=c(d)}for(e&&e(t);f<o.length;f++)r=o[f],d.o(i,r)&&i[r]&&i[r][0](),i[r]=0;return d.O(a)},(f=self.webpackChunk_N_E=self.webpackChunk_N_E||[]).forEach(c.bind(null,0)),f.push=c.bind(null,f.push.bind(f))}();
\ No newline at end of file
+!function(){"use strict";var e,t,n,r,o,u,i,c,f,a={},l={};function d(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={id:e,loaded:!1,exports:{}},r=!0;try{a[e].call(n.exports,n,n.exports,d),r=!1}finally{r&&delete l[e]}return n.loaded=!0,n.exports}d.m=a,e=[],d.O=function(t,n,r,o){if(n){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u<e.length;u++){for(var n=e[u][0],r=e[u][1],o=e[u][2],c=!0,f=0;f<n.length;f++)i>=o&&Object.keys(d.O).every(function(e){return d.O[e](n[f])})?n.splice(f--,1):(c=!1,o<i&&(i=o));if(c){e.splice(u--,1);var a=r();void 0!==a&&(t=a)}}return t},d.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},d.t=function(e,r){if(1&r&&(e=this(e)),8&r||"object"==typeof e&&e&&(4&r&&e.__esModule||16&r&&"function"==typeof e.then))return e;var o=Object.create(null);d.r(o);var u={};t=t||[null,n({}),n([]),n(n)];for(var i=2&r&&e;"object"==typeof i&&!~t.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach(function(t){u[t]=function(){return e[t]}});return u.default=function(){return e},d.d(o,u),o},d.d=function(e,t){for(var n in t)d.o(t,n)&&!d.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},d.f={},d.e=function(e){return Promise.all(Object.keys(d.f).reduce(function(t,n){return d.f[n](e,t),t},[]))},d.u=function(e){},d.miniCssF=function(e){},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="_N_E:",d.l=function(e,t,n,u){if(r[e]){r[e].push(t);return}if(void 0!==n)for(var i,c,f=document.getElementsByTagName("script"),a=0;a<f.length;a++){var l=f[a];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==o+n){i=l;break}}i||(c=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,d.nc&&i.setAttribute("nonce",d.nc),i.setAttribute("data-webpack",o+n),i.src=d.tu(e)),r[e]=[t];var s=function(t,n){i.onerror=i.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(function(e){return e(n)}),t)return t(n)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=s.bind(null,i.onerror),i.onload=s.bind(null,i.onload),c&&document.head.appendChild(i)},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},d.tt=function(){return void 0===u&&(u={createScriptURL:function(e){return e}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(u=trustedTypes.createPolicy("nextjs#bundler",u))),u},d.tu=function(e){return d.tt().createScriptURL(e)},d.p="/my-custom-path/_next/",i={2272:0,1919:0,2461:0},d.f.j=function(e,t){var n=d.o(i,e)?i[e]:void 0;if(0!==n){if(n)t.push(n[2]);else if(/^(1919|2272|2461)$/.test(e))i[e]=0;else{var r=new Promise(function(t,r){n=i[e]=[t,r]});t.push(n[2]=r);var o=d.p+d.u(e),u=Error();d.l(o,function(t){if(d.o(i,e)&&(0!==(n=i[e])&&(i[e]=void 0),n)){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",u.name="ChunkLoadError",u.type=r,u.request=o,n[1](u)}},"chunk-"+e,e)}}},d.O.j=function(e){return 0===i[e]},c=function(e,t){var n,r,o=t[0],u=t[1],c=t[2],f=0;if(o.some(function(e){return 0!==i[e]})){for(n in u)d.o(u,n)&&(d.m[n]=u[n]);if(c)var a=c(d)}for(e&&e(t);f<o.length;f++)r=o[f],d.o(i,r)&&i[r]&&i[r][0](),i[r]=0;return d.O(a)},(f=self.webpackChunk_N_E=self.webpackChunk_N_E||[]).forEach(c.bind(null,0)),f.push=c.bind(null,f.push.bind(f))}();
\ No newline at end of file
diff --git a/litellm/proxy/_experimental/out/_next/static/css/349654da14372cd9.css b/litellm/proxy/_experimental/out/_next/static/css/349654da14372cd9.css
index 5b0a7242fc2..be08f14076a 100644
--- a/litellm/proxy/_experimental/out/_next/static/css/349654da14372cd9.css
+++ b/litellm/proxy/_experimental/out/_next/static/css/349654da14372cd9.css
@@ -1 +1 @@
-@font-face{font-family:__Inter_1c856b;font-style:normal;font-weight:100 900;font-display:swap;src:url(/litellm-asset-prefix/_next/static/media/ba9851c3c22cd980-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__Inter_1c856b;font-style:normal;font-weight:100 900;font-display:swap;src:url(/litellm-asset-prefix/_next/static/media/21350d82a1f187e9-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__Inter_1c856b;font-style:normal;font-weight:100 900;font-display:swap;src:url(/litellm-asset-prefix/_next/static/media/c5fe6dc8356a8c31-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:__Inter_1c856b;font-style:normal;font-weight:100 900;font-display:swap;src:url(/litellm-asset-prefix/_next/static/media/19cfc7226ec3afaa-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:__Inter_1c856b;font-style:normal;font-weight:100 900;font-display:swap;src:url(/litellm-asset-prefix/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__Inter_1c856b;font-style:normal;font-weight:100 900;font-display:swap;src:url(/litellm-asset-prefix/_next/static/media/8e9860b6e62d6359-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Inter_1c856b;font-style:normal;font-weight:100 900;font-display:swap;src:url(/litellm-asset-prefix/_next/static/media/e4af272ccee01ff0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Inter_Fallback_1c856b;src:local("Arial");ascent-override:90.49%;descent-override:22.56%;line-gap-override:0.00%;size-adjust:107.06%}.__className_1c856b{font-family:__Inter_1c856b,__Inter_Fallback_1c856b;font-style:normal}
\ No newline at end of file
+@font-face{font-family:__Inter_1c856b;font-style:normal;font-weight:100 900;font-display:swap;src:url(/my-custom-path/_next/static/media/ba9851c3c22cd980-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__Inter_1c856b;font-style:normal;font-weight:100 900;font-display:swap;src:url(/my-custom-path/_next/static/media/21350d82a1f187e9-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__Inter_1c856b;font-style:normal;font-weight:100 900;font-display:swap;src:url(/my-custom-path/_next/static/media/c5fe6dc8356a8c31-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:__Inter_1c856b;font-style:normal;font-weight:100 900;font-display:swap;src:url(/my-custom-path/_next/static/media/19cfc7226ec3afaa-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:__Inter_1c856b;font-style:normal;font-weight:100 900;font-display:swap;src:url(/my-custom-path/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__Inter_1c856b;font-style:normal;font-weight:100 900;font-display:swap;src:url(/my-custom-path/_next/static/media/8e9860b6e62d6359-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Inter_1c856b;font-style:normal;font-weight:100 900;font-display:swap;src:url(/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Inter_Fallback_1c856b;src:local("Arial");ascent-override:90.49%;descent-override:22.56%;line-gap-override:0.00%;size-adjust:107.06%}.__className_1c856b{font-family:__Inter_1c856b,__Inter_Fallback_1c856b;font-style:normal}
\ No newline at end of file
diff --git a/litellm/proxy/_experimental/out/api-reference.txt b/litellm/proxy/_experimental/out/api-reference.txt
index 8be342f2dee..b8d68bbea14 100644
--- a/litellm/proxy/_experimental/out/api-reference.txt
+++ b/litellm/proxy/_experimental/out/api-reference.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["api-reference",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["api-reference",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","api-reference","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["api-reference",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["api-reference",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","api-reference","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/api-reference/index.html b/litellm/proxy/_experimental/out/api-reference/index.html
index e99f3271f3a..697f3803e08 100644
--- a/litellm/proxy/_experimental/out/api-reference/index.html
+++ b/litellm/proxy/_experimental/out/api-reference/index.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[81300,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"7906\",\"static/chunks/7906-11071e9e2e7b8318.js\",\"4303\",\"static/chunks/app/(dashboard)/api-reference/page-1684dd74a755efd7.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"api-reference\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"api-reference\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"api-reference\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"api-reference\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[81300,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"7906\",\"static/chunks/7906-11071e9e2e7b8318.js\",\"4303\",\"static/chunks/app/(dashboard)/api-reference/page-1684dd74a755efd7.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"api-reference\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"api-reference\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"api-reference\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"api-reference\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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>
diff --git a/litellm/proxy/_experimental/out/assets/logos/aws.svg b/litellm/proxy/_experimental/out/assets/logos/aws.svg
index 53896fa05f4..bb8cbc1d39a 100644
--- a/litellm/proxy/_experimental/out/assets/logos/aws.svg
+++ b/litellm/proxy/_experimental/out/assets/logos/aws.svg
@@ -1,34 +1,34 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 26.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.0" id="katman_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- viewBox="0 0 600 450" style="enable-background:new 0 0 600 450;" xml:space="preserve">
-<style type="text/css">
- .st0{fill:none;}
- .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#343B45;}
- .st2{fill-rule:evenodd;clip-rule:evenodd;fill:#F4981A;}
-</style>
-<g id="_x31__stroke">
- <g id="Amazon_1_">
- <rect x="161.2" y="86.5" class="st0" width="277.8" height="277.8"/>
- <g id="Amazon">
- <path class="st1" d="M315,163.7c-8,0.6-17.2,1.2-26.4,2.4c-14.1,1.9-28.2,4.3-39.8,9.8c-22.7,9.2-38,28.8-38,57.6
- c0,36.2,23.3,54.6,52.7,54.6c9.8,0,17.8-1.2,25.1-3.1c11.7-3.7,21.5-10.4,33.1-22.7c6.7,9.2,8.6,13.5,20.2,23.3
- c3.1,1.2,6.1,1.2,8.6-0.6c7.4-6.1,20.3-17.2,27-23.3c3.1-2.5,2.5-6.1,0.6-9.2c-6.7-8.6-13.5-16-13.5-32.5V165
- c0-23.3,1.9-44.8-15.3-60.7c-14.1-12.9-36.2-17.8-53.4-17.8h-7.4c-31.2,1.8-64.3,15.3-71.7,54c-1.2,4.9,2.5,6.8,4.9,7.4l34.3,4.3
- c3.7-0.6,5.5-3.7,6.1-6.7c3.1-13.5,14.1-20.2,26.3-21.5h2.5c7.4,0,15.3,3.1,19.6,9.2c4.9,7.4,4.3,17.2,4.3,25.8L315,163.7
- L315,163.7z M308.2,236.7c-4.3,8.6-11.7,14.1-19.6,16c-1.2,0-3.1,0.6-4.9,0.6c-13.5,0-21.4-10.4-21.4-25.8
- c0-19.6,11.6-28.8,26.3-33.1c8-1.8,17.2-2.5,26.4-2.5v7.4C315,213.4,315.6,224.4,308.2,236.7z"/>
- <path class="st2" d="M398.8,311.4c-1.4,0-2.8,0.3-4.1,0.9c-1.5,0.6-3,1.3-4.4,1.9l-2.1,0.9l-2.7,1.1v0
- c-29.8,12.1-61.1,19.2-90.1,19.8c-1.1,0-2.1,0-3.2,0c-45.6,0-82.8-21.1-120.3-42c-1.3-0.7-2.7-1-4-1c-1.7,0-3.4,0.6-4.7,1.8
- c-1.3,1.2-2,2.9-2,4.7c0,2.3,1.2,4.4,2.9,5.7c35.2,30.6,73.8,59,125.7,59c1,0,2,0,3.1,0c33-0.7,70.3-11.9,99.3-30.1l0.2-0.1
- c3.8-2.3,7.6-4.9,11.2-7.7c2.2-1.6,3.8-4.2,3.8-6.9C407.2,314.6,403.2,311.4,398.8,311.4z M439,294.5L439,294.5
- c-0.1-2.9-0.7-5.1-1.9-6.9l-0.1-0.2l-0.1-0.2c-1.2-1.3-2.4-1.8-3.7-2.4c-3.8-1.5-9.3-2.3-16-2.3c-4.8,0-10.1,0.5-15.4,1.6l0-0.4
- l-5.3,1.8l-0.1,0l-3,1v0.1c-3.5,1.5-6.8,3.3-9.8,5.5c-1.9,1.4-3.4,3.2-3.5,6.1c0,1.5,0.7,3.3,2,4.3c1.3,1,2.8,1.4,4.1,1.4
- c0.3,0,0.6,0,0.9-0.1l0.3,0l0.2,0c2.6-0.6,6.4-0.9,10.9-1.6c3.8-0.4,7.9-0.7,11.4-0.7c2.5,0,4.7,0.2,6.3,0.5
- c0.8,0.2,1.3,0.4,1.6,0.5c0.1,0,0.2,0.1,0.2,0.1c0.1,0.2,0.2,0.8,0.1,1.5c0,2.9-1.2,8.4-2.9,13.7c-1.7,5.3-3.7,10.7-5,14.2
- c-0.3,0.8-0.5,1.7-0.5,2.7c0,1.4,0.6,3.2,1.8,4.3c1.2,1.1,2.8,1.6,4.1,1.6h0.1c2,0,3.6-0.8,5.1-1.9
- c13.6-12.2,18.3-31.7,18.5-42.6L439,294.5z"/>
- </g>
- </g>
-</g>
-</svg>
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 26.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.0" id="katman_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 600 450" style="enable-background:new 0 0 600 450;" xml:space="preserve">
+<style type="text/css">
+ .st0{fill:none;}
+ .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#343B45;}
+ .st2{fill-rule:evenodd;clip-rule:evenodd;fill:#F4981A;}
+</style>
+<g id="_x31__stroke">
+ <g id="Amazon_1_">
+ <rect x="161.2" y="86.5" class="st0" width="277.8" height="277.8"/>
+ <g id="Amazon">
+ <path class="st1" d="M315,163.7c-8,0.6-17.2,1.2-26.4,2.4c-14.1,1.9-28.2,4.3-39.8,9.8c-22.7,9.2-38,28.8-38,57.6
+ c0,36.2,23.3,54.6,52.7,54.6c9.8,0,17.8-1.2,25.1-3.1c11.7-3.7,21.5-10.4,33.1-22.7c6.7,9.2,8.6,13.5,20.2,23.3
+ c3.1,1.2,6.1,1.2,8.6-0.6c7.4-6.1,20.3-17.2,27-23.3c3.1-2.5,2.5-6.1,0.6-9.2c-6.7-8.6-13.5-16-13.5-32.5V165
+ c0-23.3,1.9-44.8-15.3-60.7c-14.1-12.9-36.2-17.8-53.4-17.8h-7.4c-31.2,1.8-64.3,15.3-71.7,54c-1.2,4.9,2.5,6.8,4.9,7.4l34.3,4.3
+ c3.7-0.6,5.5-3.7,6.1-6.7c3.1-13.5,14.1-20.2,26.3-21.5h2.5c7.4,0,15.3,3.1,19.6,9.2c4.9,7.4,4.3,17.2,4.3,25.8L315,163.7
+ L315,163.7z M308.2,236.7c-4.3,8.6-11.7,14.1-19.6,16c-1.2,0-3.1,0.6-4.9,0.6c-13.5,0-21.4-10.4-21.4-25.8
+ c0-19.6,11.6-28.8,26.3-33.1c8-1.8,17.2-2.5,26.4-2.5v7.4C315,213.4,315.6,224.4,308.2,236.7z"/>
+ <path class="st2" d="M398.8,311.4c-1.4,0-2.8,0.3-4.1,0.9c-1.5,0.6-3,1.3-4.4,1.9l-2.1,0.9l-2.7,1.1v0
+ c-29.8,12.1-61.1,19.2-90.1,19.8c-1.1,0-2.1,0-3.2,0c-45.6,0-82.8-21.1-120.3-42c-1.3-0.7-2.7-1-4-1c-1.7,0-3.4,0.6-4.7,1.8
+ c-1.3,1.2-2,2.9-2,4.7c0,2.3,1.2,4.4,2.9,5.7c35.2,30.6,73.8,59,125.7,59c1,0,2,0,3.1,0c33-0.7,70.3-11.9,99.3-30.1l0.2-0.1
+ c3.8-2.3,7.6-4.9,11.2-7.7c2.2-1.6,3.8-4.2,3.8-6.9C407.2,314.6,403.2,311.4,398.8,311.4z M439,294.5L439,294.5
+ c-0.1-2.9-0.7-5.1-1.9-6.9l-0.1-0.2l-0.1-0.2c-1.2-1.3-2.4-1.8-3.7-2.4c-3.8-1.5-9.3-2.3-16-2.3c-4.8,0-10.1,0.5-15.4,1.6l0-0.4
+ l-5.3,1.8l-0.1,0l-3,1v0.1c-3.5,1.5-6.8,3.3-9.8,5.5c-1.9,1.4-3.4,3.2-3.5,6.1c0,1.5,0.7,3.3,2,4.3c1.3,1,2.8,1.4,4.1,1.4
+ c0.3,0,0.6,0,0.9-0.1l0.3,0l0.2,0c2.6-0.6,6.4-0.9,10.9-1.6c3.8-0.4,7.9-0.7,11.4-0.7c2.5,0,4.7,0.2,6.3,0.5
+ c0.8,0.2,1.3,0.4,1.6,0.5c0.1,0,0.2,0.1,0.2,0.1c0.1,0.2,0.2,0.8,0.1,1.5c0,2.9-1.2,8.4-2.9,13.7c-1.7,5.3-3.7,10.7-5,14.2
+ c-0.3,0.8-0.5,1.7-0.5,2.7c0,1.4,0.6,3.2,1.8,4.3c1.2,1.1,2.8,1.6,4.1,1.6h0.1c2,0,3.6-0.8,5.1-1.9
+ c13.6-12.2,18.3-31.7,18.5-42.6L439,294.5z"/>
+ </g>
+ </g>
+</g>
+</svg>
diff --git a/litellm/proxy/_experimental/out/assets/logos/cerebras.svg b/litellm/proxy/_experimental/out/assets/logos/cerebras.svg
index 426f6430c23..1ff347220c5 100644
--- a/litellm/proxy/_experimental/out/assets/logos/cerebras.svg
+++ b/litellm/proxy/_experimental/out/assets/logos/cerebras.svg
@@ -1,89 +1,89 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 26.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.0" id="katman_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- viewBox="0 0 800 600" style="enable-background:new 0 0 800 600;" xml:space="preserve">
-<style type="text/css">
- .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#F05A28;}
- .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#231F20;}
-</style>
-<g id="Contact">
- <g id="Contact-us" transform="translate(-234.000000, -1114.000000)">
- <g id="map" transform="translate(-6.000000, 1027.000000)">
- <g id="Contact-box" transform="translate(190.000000, 36.000000)">
- <g id="Group-26" transform="translate(50.000000, 51.000000)">
- <g id="Group-3">
- <path id="Fill-1" class="st0" d="M220.9,421c-17,0-33.1-3.4-47.8-9.5c-22-9.2-40.8-24.6-54.1-44c-13.3-19.4-21-42.7-21-67.9
- c0-16.8,3.4-32.7,9.7-47.3c9.3-21.8,24.9-40.3,44.5-53.4c19.6-13.1,43.2-20.7,68.7-20.7v-18.3c-19.5,0-38.1,3.9-55.1,11
- c-25.4,10.6-47,28.3-62.2,50.6c-15.3,22.3-24.2,49.2-24.2,78.1c0,19.3,4,37.7,11.1,54.4c10.7,25.1,28.7,46.4,51.2,61.5
- c22.6,15.1,49.8,23.9,79.1,23.9V421z"/>
- <path id="Fill-4" class="st0" d="M157.9,374.1c-11.5-9.6-20.1-21.2-25.9-33.9c-5.8-12.7-8.8-26.4-8.8-40.2
- c0-11,1.9-22,5.6-32.5c3.8-10.5,9.4-20.5,17.1-29.6c9.6-11.4,21.3-20,34-25.8c12.7-5.8,26.6-8.7,40.4-8.7
- c11,0,22.1,1.9,32.6,5.6c10.6,3.8,20.6,9.4,29.7,17l11.9-14.1c-10.8-9-22.8-15.8-35.4-20.2c-12.6-4.5-25.7-6.7-38.8-6.7
- c-16.5,0-32.9,3.5-48.1,10.4c-15.2,6.9-29.1,17.2-40.5,30.7c-9.1,10.8-15.8,22.7-20.3,35.2c-4.5,12.5-6.7,25.6-6.7,38.7
- c0,16.4,3.5,32.8,10.4,47.9c6.9,15.1,17.3,29,30.9,40.3L157.9,374.1z"/>
- <path id="Fill-6" class="st0" d="M186.4,362.2c-12.1-6.4-21.6-15.7-28.1-26.6c-6.5-10.9-9.9-23.5-9.9-36.2
- c0-11.2,2.6-22.5,8.3-33c6.4-12.1,15.8-21.5,26.8-27.9c11-6.5,23.6-9.9,36.4-9.9c11.2,0,22.6,2.6,33.2,8.2l8.6-16.3
- c-13.3-7-27.7-10.4-41.9-10.3c-16.1,0-32,4.3-45.8,12.4c-13.8,8.1-25.7,20.1-33.7,35.2c-7,13.3-10.4,27.6-10.4,41.6
- c0,16,4.3,31.8,12.5,45.5c8.2,13.8,20.2,25.5,35.4,33.5L186.4,362.2z"/>
- <path id="Fill-8" class="st0" d="M221,344.6c-6.3,0-12.3-1.3-17.7-3.6c-8.2-3.4-15.1-9.2-20-16.5c-4.9-7.3-7.8-16-7.8-25.4
- c0-6.3,1.3-12.3,3.6-17.7c3.4-8.1,9.2-15.1,16.5-20c7.3-4.9,16-7.8,25.4-7.8v-18.4c-8.8,0-17.2,1.8-24.9,5
- c-11.5,4.9-21.2,12.9-28.1,23.1C161,273.6,157,286,157,299.2c0,8.8,1.8,17.2,5,24.9c4.9,11.5,13,21.2,23.2,28.1
- C195.4,359,207.7,363,221,363V344.6z"/>
- </g>
- <g id="Group" transform="translate(22.000000, 13.000000)">
- <path id="Fill-10" class="st1" d="M214,271.6c-2.1-2.2-4.4-4-6.7-5.3c-2.3-1.3-4.7-2-7.2-2c-3.4,0-6.3,0.6-9,1.8
- c-2.6,1.2-4.9,2.8-6.8,4.9c-1.9,2-3.3,4.4-4.3,7c-1,2.6-1.4,5.4-1.4,8.2c0,2.8,0.5,5.6,1.4,8.2c1,2.6,2.4,5,4.3,7
- c1.9,2,4.1,3.7,6.8,4.9c2.6,1.2,5.6,1.8,9,1.8c2.8,0,5.5-0.6,7.9-1.7c2.4-1.2,4.5-2.9,6.2-5.1l12.2,13.1
- c-1.8,1.8-3.9,3.4-6.3,4.7c-2.4,1.3-4.8,2.4-7.2,3.2s-4.8,1.4-7,1.7c-2.2,0.4-4.2,0.5-5.8,0.5c-5.5,0-10.7-0.9-15.5-2.7
- c-4.9-1.8-9.1-4.4-12.6-7.8c-3.6-3.3-6.4-7.4-8.5-12.1c-2.1-4.7-3.1-10-3.1-15.7c0-5.8,1-11,3.1-15.7
- c2.1-4.7,4.9-8.7,8.5-12.1c3.6-3.3,7.8-5.9,12.6-7.8c4.9-1.8,10.1-2.7,15.5-2.7c4.7,0,9.4,0.9,14.1,2.7
- c4.7,1.8,8.9,4.6,12.4,8.4L214,271.6z"/>
- <path id="Fill-12" class="st1" d="M280.4,278.9c-0.1-5.4-1.8-9.6-5-12.7c-3.3-3.1-7.8-4.6-13.6-4.6c-5.5,0-9.8,1.6-13,4.7
- c-3.2,3.1-5.2,7.4-5.9,12.6H280.4z M243,292.6c0.6,5.5,2.7,9.7,6.4,12.8c3.7,3,8.1,4.6,13.3,4.6c4.6,0,8.4-0.9,11.5-2.8
- c3.1-1.9,5.8-4.2,8.2-7.1l13.1,9.9c-4.3,5.3-9,9-14.3,11.3c-5.3,2.2-10.8,3.3-16.6,3.3c-5.5,0-10.7-0.9-15.5-2.7
- c-4.9-1.8-9.1-4.4-12.6-7.8c-3.6-3.3-6.4-7.4-8.5-12.1c-2.1-4.7-3.1-10-3.1-15.7c0-5.8,1-11,3.1-15.7
- c2.1-4.7,4.9-8.7,8.5-12.1c3.6-3.3,7.8-5.9,12.6-7.8c4.9-1.8,10.1-2.7,15.5-2.7c5.1,0,9.7,0.9,13.9,2.7
- c4.2,1.8,7.8,4.3,10.8,7.7c3,3.3,5.3,7.5,7,12.4c1.7,4.9,2.5,10.6,2.5,17v5H243z"/>
- <path id="Fill-14" class="st1" d="M306.5,249.7h18.3v11.5h0.3c2-4.3,4.9-7.5,8.7-9.9c3.8-2.3,8.1-3.5,12.9-3.5
- c1.1,0,2.2,0.1,3.3,0.3c1.1,0.2,2.2,0.5,3.3,0.8v17.6c-1.5-0.4-3-0.7-4.5-1c-1.5-0.3-2.9-0.4-4.3-0.4c-4.3,0-7.7,0.8-10.3,2.4
- c-2.6,1.6-4.6,3.4-5.9,5.4c-1.4,2-2.3,4.1-2.7,6.1c-0.5,2-0.7,3.5-0.7,4.6v39h-18.3V249.7z"/>
- <path id="Fill-16" class="st1" d="M409,278.9c-0.1-5.4-1.8-9.6-5-12.7c-3.3-3.1-7.8-4.6-13.6-4.6c-5.5,0-9.8,1.6-13,4.7
- c-3.2,3.1-5.2,7.4-5.9,12.6H409z M371.6,292.6c0.6,5.5,2.7,9.7,6.4,12.8c3.7,3,8.1,4.6,13.3,4.6c4.6,0,8.4-0.9,11.5-2.8
- c3.1-1.9,5.8-4.2,8.2-7.1l13.1,9.9c-4.3,5.3-9,9-14.3,11.3c-5.3,2.2-10.8,3.3-16.6,3.3c-5.5,0-10.7-0.9-15.5-2.7
- c-4.9-1.8-9.1-4.4-12.6-7.8c-3.6-3.3-6.4-7.4-8.5-12.1c-2.1-4.7-3.1-10-3.1-15.7c0-5.8,1-11,3.1-15.7
- c2.1-4.7,4.9-8.7,8.5-12.1c3.6-3.3,7.8-5.9,12.6-7.8c4.9-1.8,10.1-2.7,15.5-2.7c5.1,0,9.7,0.9,13.9,2.7
- c4.2,1.8,7.8,4.3,10.8,7.7c3,3.3,5.3,7.5,7,12.4c1.7,4.9,2.5,10.6,2.5,17v5H371.6z"/>
- <path id="Fill-18" class="st1" d="M494.6,286.2c0-2.8-0.5-5.6-1.5-8.2c-1-2.6-2.4-5-4.3-7c-1.9-2-4.2-3.7-6.9-4.9
- c-2.7-1.2-5.7-1.8-9.1-1.8c-3.4,0-6.4,0.6-9.1,1.8c-2.7,1.2-5,2.8-6.9,4.9c-1.9,2-3.3,4.4-4.3,7c-1,2.6-1.5,5.4-1.5,8.2
- c0,2.8,0.5,5.6,1.5,8.2c1,2.6,2.4,5,4.3,7c1.9,2,4.2,3.7,6.9,4.9c2.7,1.2,5.7,1.8,9.1,1.8c3.4,0,6.4-0.6,9.1-1.8
- c2.7-1.2,5-2.8,6.9-4.9c1.9-2,3.3-4.4,4.3-7C494.1,291.8,494.6,289,494.6,286.2L494.6,286.2z M433.2,207.6h18.5v51.3h0.5
- c0.9-1.2,2.1-2.5,3.5-3.7c1.4-1.3,3.2-2.5,5.2-3.6c2.1-1.1,4.4-2,7.1-2.7c2.7-0.7,5.8-1.1,9.3-1.1c5.2,0,10.1,1,14.5,3
- c4.4,2,8.2,4.7,11.3,8.1c3.1,3.5,5.6,7.5,7.3,12.2c1.7,4.7,2.6,9.7,2.6,15.1c0,5.4-0.8,10.4-2.5,15.1
- c-1.6,4.7-4.1,8.7-7.2,12.2c-3.2,3.5-7,6.2-11.6,8.1c-4.5,2-9.6,3-15.3,3c-5.2,0-10.1-1-14.7-3c-4.5-2-8.1-5.3-10.8-9.7h-0.3
- v11h-17.6V207.6z"/>
- <path id="Fill-20" class="st1" d="M520.9,249.7h18.3v11.5h0.3c2-4.3,4.9-7.5,8.7-9.9c3.8-2.3,8.1-3.5,12.9-3.5
- c1.1,0,2.2,0.1,3.3,0.3c1.1,0.2,2.2,0.5,3.3,0.8v17.6c-1.5-0.4-3-0.7-4.5-1c-1.5-0.3-2.9-0.4-4.3-0.4c-4.3,0-7.7,0.8-10.3,2.4
- c-2.6,1.6-4.6,3.4-5.9,5.4c-1.4,2-2.3,4.1-2.7,6.1c-0.5,2-0.7,3.5-0.7,4.6v39h-18.3V249.7z"/>
- <path id="Fill-22" class="st1" d="M616,290h-3.9c-2.6,0-5.5,0.1-8.7,0.3c-3.2,0.2-6.2,0.7-9.1,1.4c-2.8,0.8-5.2,1.9-7.2,3.3
- c-2,1.5-2.9,3.5-2.9,6.2c0,1.7,0.4,3.2,1.2,4.3c0.8,1.2,1.8,2.2,3,3c1.2,0.8,2.6,1.4,4.2,1.8c1.5,0.4,3.1,0.5,4.6,0.5
- c6.4,0,11.1-1.5,14.2-4.5c3-3,4.6-7.1,4.6-12.2V290z M617.1,312.7h-0.5c-2.7,4.2-6.1,7.2-10.2,9.1c-4.1,1.9-8.7,2.8-13.6,2.8
- c-3.4,0-6.7-0.5-10-1.4s-6.1-2.3-8.7-4.1c-2.5-1.8-4.6-4.1-6.1-6.8s-2.3-5.9-2.3-9.6c0-4,0.7-7.3,2.2-10.1
- c1.4-2.8,3.4-5.1,5.8-7c2.4-1.9,5.2-3.4,8.4-4.5c3.2-1.1,6.5-2,10-2.5c3.5-0.6,6.9-0.9,10.5-1.1c3.5-0.2,6.8-0.2,9.9-0.2h4.6
- v-2c0-4.6-1.6-8-4.8-10.3c-3.2-2.3-7.3-3.4-12.2-3.4c-3.9,0-7.6,0.7-11,2.1c-3.4,1.4-6.4,3.2-8.8,5.6l-9.8-9.6
- c4.1-4.2,9-7.1,14.5-9c5.5-1.8,11.2-2.7,17.1-2.7c5.3,0,9.7,0.6,13.3,1.7c3.6,1.2,6.6,2.7,9,4.5c2.4,1.8,4.2,3.9,5.5,6.3
- c1.3,2.4,2.2,4.8,2.8,7.2c0.6,2.4,0.9,4.8,1,7.1c0.1,2.3,0.2,4.3,0.2,6v42h-16.7V312.7z"/>
- <path id="Fill-24" class="st1" d="M683.6,269.9c-3.6-5-8.4-7.5-14.4-7.5c-2.5,0-4.9,0.6-7.2,1.8c-2.4,1.2-3.5,3.2-3.5,5.9
- c0,2.2,1,3.9,2.9,4.9c1.9,1,4.4,1.9,7.4,2.6c3,0.7,6.2,1.4,9.6,2.2c3.4,0.8,6.6,1.9,9.6,3.5c3,1.6,5.4,3.7,7.4,6.5
- c1.9,2.7,2.9,6.5,2.9,11.3c0,4.4-0.9,8-2.8,11c-1.9,3-4.3,5.4-7.4,7.2c-3,1.8-6.4,3.1-10.2,4c-3.8,0.8-7.6,1.2-11.3,1.2
- c-5.7,0-11-0.8-15.8-2.4c-4.8-1.6-9.1-4.6-12.9-8.8l12.3-11.4c2.4,2.6,4.9,4.8,7.6,6.5c2.7,1.7,6,2.5,9.9,2.5
- c1.3,0,2.7-0.2,4.1-0.5c1.4-0.3,2.8-0.8,4-1.5c1.2-0.7,2.2-1.6,3-2.7c0.8-1.1,1.1-2.3,1.1-3.7c0-2.5-1-4.4-2.9-5.6
- c-1.9-1.2-4.4-2.2-7.4-3c-3-0.8-6.2-1.5-9.6-2.1c-3.4-0.7-6.6-1.7-9.6-3.2c-3-1.5-5.4-3.5-7.4-6.2c-1.9-2.6-2.9-6.3-2.9-11
- c0-4.1,0.8-7.6,2.5-10.6c1.7-3,3.9-5.4,6.7-7.4c2.8-1.9,5.9-3.3,9.5-4.3c3.6-0.9,7.2-1.4,10.9-1.4c4.9,0,9.8,0.8,14.6,2.5
- c4.8,1.7,8.7,4.5,11.7,8.6L683.6,269.9z"/>
- </g>
- </g>
- </g>
- </g>
- </g>
-</g>
-</svg>
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 26.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.0" id="katman_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 800 600" style="enable-background:new 0 0 800 600;" xml:space="preserve">
+<style type="text/css">
+ .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#F05A28;}
+ .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#231F20;}
+</style>
+<g id="Contact">
+ <g id="Contact-us" transform="translate(-234.000000, -1114.000000)">
+ <g id="map" transform="translate(-6.000000, 1027.000000)">
+ <g id="Contact-box" transform="translate(190.000000, 36.000000)">
+ <g id="Group-26" transform="translate(50.000000, 51.000000)">
+ <g id="Group-3">
+ <path id="Fill-1" class="st0" d="M220.9,421c-17,0-33.1-3.4-47.8-9.5c-22-9.2-40.8-24.6-54.1-44c-13.3-19.4-21-42.7-21-67.9
+ c0-16.8,3.4-32.7,9.7-47.3c9.3-21.8,24.9-40.3,44.5-53.4c19.6-13.1,43.2-20.7,68.7-20.7v-18.3c-19.5,0-38.1,3.9-55.1,11
+ c-25.4,10.6-47,28.3-62.2,50.6c-15.3,22.3-24.2,49.2-24.2,78.1c0,19.3,4,37.7,11.1,54.4c10.7,25.1,28.7,46.4,51.2,61.5
+ c22.6,15.1,49.8,23.9,79.1,23.9V421z"/>
+ <path id="Fill-4" class="st0" d="M157.9,374.1c-11.5-9.6-20.1-21.2-25.9-33.9c-5.8-12.7-8.8-26.4-8.8-40.2
+ c0-11,1.9-22,5.6-32.5c3.8-10.5,9.4-20.5,17.1-29.6c9.6-11.4,21.3-20,34-25.8c12.7-5.8,26.6-8.7,40.4-8.7
+ c11,0,22.1,1.9,32.6,5.6c10.6,3.8,20.6,9.4,29.7,17l11.9-14.1c-10.8-9-22.8-15.8-35.4-20.2c-12.6-4.5-25.7-6.7-38.8-6.7
+ c-16.5,0-32.9,3.5-48.1,10.4c-15.2,6.9-29.1,17.2-40.5,30.7c-9.1,10.8-15.8,22.7-20.3,35.2c-4.5,12.5-6.7,25.6-6.7,38.7
+ c0,16.4,3.5,32.8,10.4,47.9c6.9,15.1,17.3,29,30.9,40.3L157.9,374.1z"/>
+ <path id="Fill-6" class="st0" d="M186.4,362.2c-12.1-6.4-21.6-15.7-28.1-26.6c-6.5-10.9-9.9-23.5-9.9-36.2
+ c0-11.2,2.6-22.5,8.3-33c6.4-12.1,15.8-21.5,26.8-27.9c11-6.5,23.6-9.9,36.4-9.9c11.2,0,22.6,2.6,33.2,8.2l8.6-16.3
+ c-13.3-7-27.7-10.4-41.9-10.3c-16.1,0-32,4.3-45.8,12.4c-13.8,8.1-25.7,20.1-33.7,35.2c-7,13.3-10.4,27.6-10.4,41.6
+ c0,16,4.3,31.8,12.5,45.5c8.2,13.8,20.2,25.5,35.4,33.5L186.4,362.2z"/>
+ <path id="Fill-8" class="st0" d="M221,344.6c-6.3,0-12.3-1.3-17.7-3.6c-8.2-3.4-15.1-9.2-20-16.5c-4.9-7.3-7.8-16-7.8-25.4
+ c0-6.3,1.3-12.3,3.6-17.7c3.4-8.1,9.2-15.1,16.5-20c7.3-4.9,16-7.8,25.4-7.8v-18.4c-8.8,0-17.2,1.8-24.9,5
+ c-11.5,4.9-21.2,12.9-28.1,23.1C161,273.6,157,286,157,299.2c0,8.8,1.8,17.2,5,24.9c4.9,11.5,13,21.2,23.2,28.1
+ C195.4,359,207.7,363,221,363V344.6z"/>
+ </g>
+ <g id="Group" transform="translate(22.000000, 13.000000)">
+ <path id="Fill-10" class="st1" d="M214,271.6c-2.1-2.2-4.4-4-6.7-5.3c-2.3-1.3-4.7-2-7.2-2c-3.4,0-6.3,0.6-9,1.8
+ c-2.6,1.2-4.9,2.8-6.8,4.9c-1.9,2-3.3,4.4-4.3,7c-1,2.6-1.4,5.4-1.4,8.2c0,2.8,0.5,5.6,1.4,8.2c1,2.6,2.4,5,4.3,7
+ c1.9,2,4.1,3.7,6.8,4.9c2.6,1.2,5.6,1.8,9,1.8c2.8,0,5.5-0.6,7.9-1.7c2.4-1.2,4.5-2.9,6.2-5.1l12.2,13.1
+ c-1.8,1.8-3.9,3.4-6.3,4.7c-2.4,1.3-4.8,2.4-7.2,3.2s-4.8,1.4-7,1.7c-2.2,0.4-4.2,0.5-5.8,0.5c-5.5,0-10.7-0.9-15.5-2.7
+ c-4.9-1.8-9.1-4.4-12.6-7.8c-3.6-3.3-6.4-7.4-8.5-12.1c-2.1-4.7-3.1-10-3.1-15.7c0-5.8,1-11,3.1-15.7
+ c2.1-4.7,4.9-8.7,8.5-12.1c3.6-3.3,7.8-5.9,12.6-7.8c4.9-1.8,10.1-2.7,15.5-2.7c4.7,0,9.4,0.9,14.1,2.7
+ c4.7,1.8,8.9,4.6,12.4,8.4L214,271.6z"/>
+ <path id="Fill-12" class="st1" d="M280.4,278.9c-0.1-5.4-1.8-9.6-5-12.7c-3.3-3.1-7.8-4.6-13.6-4.6c-5.5,0-9.8,1.6-13,4.7
+ c-3.2,3.1-5.2,7.4-5.9,12.6H280.4z M243,292.6c0.6,5.5,2.7,9.7,6.4,12.8c3.7,3,8.1,4.6,13.3,4.6c4.6,0,8.4-0.9,11.5-2.8
+ c3.1-1.9,5.8-4.2,8.2-7.1l13.1,9.9c-4.3,5.3-9,9-14.3,11.3c-5.3,2.2-10.8,3.3-16.6,3.3c-5.5,0-10.7-0.9-15.5-2.7
+ c-4.9-1.8-9.1-4.4-12.6-7.8c-3.6-3.3-6.4-7.4-8.5-12.1c-2.1-4.7-3.1-10-3.1-15.7c0-5.8,1-11,3.1-15.7
+ c2.1-4.7,4.9-8.7,8.5-12.1c3.6-3.3,7.8-5.9,12.6-7.8c4.9-1.8,10.1-2.7,15.5-2.7c5.1,0,9.7,0.9,13.9,2.7
+ c4.2,1.8,7.8,4.3,10.8,7.7c3,3.3,5.3,7.5,7,12.4c1.7,4.9,2.5,10.6,2.5,17v5H243z"/>
+ <path id="Fill-14" class="st1" d="M306.5,249.7h18.3v11.5h0.3c2-4.3,4.9-7.5,8.7-9.9c3.8-2.3,8.1-3.5,12.9-3.5
+ c1.1,0,2.2,0.1,3.3,0.3c1.1,0.2,2.2,0.5,3.3,0.8v17.6c-1.5-0.4-3-0.7-4.5-1c-1.5-0.3-2.9-0.4-4.3-0.4c-4.3,0-7.7,0.8-10.3,2.4
+ c-2.6,1.6-4.6,3.4-5.9,5.4c-1.4,2-2.3,4.1-2.7,6.1c-0.5,2-0.7,3.5-0.7,4.6v39h-18.3V249.7z"/>
+ <path id="Fill-16" class="st1" d="M409,278.9c-0.1-5.4-1.8-9.6-5-12.7c-3.3-3.1-7.8-4.6-13.6-4.6c-5.5,0-9.8,1.6-13,4.7
+ c-3.2,3.1-5.2,7.4-5.9,12.6H409z M371.6,292.6c0.6,5.5,2.7,9.7,6.4,12.8c3.7,3,8.1,4.6,13.3,4.6c4.6,0,8.4-0.9,11.5-2.8
+ c3.1-1.9,5.8-4.2,8.2-7.1l13.1,9.9c-4.3,5.3-9,9-14.3,11.3c-5.3,2.2-10.8,3.3-16.6,3.3c-5.5,0-10.7-0.9-15.5-2.7
+ c-4.9-1.8-9.1-4.4-12.6-7.8c-3.6-3.3-6.4-7.4-8.5-12.1c-2.1-4.7-3.1-10-3.1-15.7c0-5.8,1-11,3.1-15.7
+ c2.1-4.7,4.9-8.7,8.5-12.1c3.6-3.3,7.8-5.9,12.6-7.8c4.9-1.8,10.1-2.7,15.5-2.7c5.1,0,9.7,0.9,13.9,2.7
+ c4.2,1.8,7.8,4.3,10.8,7.7c3,3.3,5.3,7.5,7,12.4c1.7,4.9,2.5,10.6,2.5,17v5H371.6z"/>
+ <path id="Fill-18" class="st1" d="M494.6,286.2c0-2.8-0.5-5.6-1.5-8.2c-1-2.6-2.4-5-4.3-7c-1.9-2-4.2-3.7-6.9-4.9
+ c-2.7-1.2-5.7-1.8-9.1-1.8c-3.4,0-6.4,0.6-9.1,1.8c-2.7,1.2-5,2.8-6.9,4.9c-1.9,2-3.3,4.4-4.3,7c-1,2.6-1.5,5.4-1.5,8.2
+ c0,2.8,0.5,5.6,1.5,8.2c1,2.6,2.4,5,4.3,7c1.9,2,4.2,3.7,6.9,4.9c2.7,1.2,5.7,1.8,9.1,1.8c3.4,0,6.4-0.6,9.1-1.8
+ c2.7-1.2,5-2.8,6.9-4.9c1.9-2,3.3-4.4,4.3-7C494.1,291.8,494.6,289,494.6,286.2L494.6,286.2z M433.2,207.6h18.5v51.3h0.5
+ c0.9-1.2,2.1-2.5,3.5-3.7c1.4-1.3,3.2-2.5,5.2-3.6c2.1-1.1,4.4-2,7.1-2.7c2.7-0.7,5.8-1.1,9.3-1.1c5.2,0,10.1,1,14.5,3
+ c4.4,2,8.2,4.7,11.3,8.1c3.1,3.5,5.6,7.5,7.3,12.2c1.7,4.7,2.6,9.7,2.6,15.1c0,5.4-0.8,10.4-2.5,15.1
+ c-1.6,4.7-4.1,8.7-7.2,12.2c-3.2,3.5-7,6.2-11.6,8.1c-4.5,2-9.6,3-15.3,3c-5.2,0-10.1-1-14.7-3c-4.5-2-8.1-5.3-10.8-9.7h-0.3
+ v11h-17.6V207.6z"/>
+ <path id="Fill-20" class="st1" d="M520.9,249.7h18.3v11.5h0.3c2-4.3,4.9-7.5,8.7-9.9c3.8-2.3,8.1-3.5,12.9-3.5
+ c1.1,0,2.2,0.1,3.3,0.3c1.1,0.2,2.2,0.5,3.3,0.8v17.6c-1.5-0.4-3-0.7-4.5-1c-1.5-0.3-2.9-0.4-4.3-0.4c-4.3,0-7.7,0.8-10.3,2.4
+ c-2.6,1.6-4.6,3.4-5.9,5.4c-1.4,2-2.3,4.1-2.7,6.1c-0.5,2-0.7,3.5-0.7,4.6v39h-18.3V249.7z"/>
+ <path id="Fill-22" class="st1" d="M616,290h-3.9c-2.6,0-5.5,0.1-8.7,0.3c-3.2,0.2-6.2,0.7-9.1,1.4c-2.8,0.8-5.2,1.9-7.2,3.3
+ c-2,1.5-2.9,3.5-2.9,6.2c0,1.7,0.4,3.2,1.2,4.3c0.8,1.2,1.8,2.2,3,3c1.2,0.8,2.6,1.4,4.2,1.8c1.5,0.4,3.1,0.5,4.6,0.5
+ c6.4,0,11.1-1.5,14.2-4.5c3-3,4.6-7.1,4.6-12.2V290z M617.1,312.7h-0.5c-2.7,4.2-6.1,7.2-10.2,9.1c-4.1,1.9-8.7,2.8-13.6,2.8
+ c-3.4,0-6.7-0.5-10-1.4s-6.1-2.3-8.7-4.1c-2.5-1.8-4.6-4.1-6.1-6.8s-2.3-5.9-2.3-9.6c0-4,0.7-7.3,2.2-10.1
+ c1.4-2.8,3.4-5.1,5.8-7c2.4-1.9,5.2-3.4,8.4-4.5c3.2-1.1,6.5-2,10-2.5c3.5-0.6,6.9-0.9,10.5-1.1c3.5-0.2,6.8-0.2,9.9-0.2h4.6
+ v-2c0-4.6-1.6-8-4.8-10.3c-3.2-2.3-7.3-3.4-12.2-3.4c-3.9,0-7.6,0.7-11,2.1c-3.4,1.4-6.4,3.2-8.8,5.6l-9.8-9.6
+ c4.1-4.2,9-7.1,14.5-9c5.5-1.8,11.2-2.7,17.1-2.7c5.3,0,9.7,0.6,13.3,1.7c3.6,1.2,6.6,2.7,9,4.5c2.4,1.8,4.2,3.9,5.5,6.3
+ c1.3,2.4,2.2,4.8,2.8,7.2c0.6,2.4,0.9,4.8,1,7.1c0.1,2.3,0.2,4.3,0.2,6v42h-16.7V312.7z"/>
+ <path id="Fill-24" class="st1" d="M683.6,269.9c-3.6-5-8.4-7.5-14.4-7.5c-2.5,0-4.9,0.6-7.2,1.8c-2.4,1.2-3.5,3.2-3.5,5.9
+ c0,2.2,1,3.9,2.9,4.9c1.9,1,4.4,1.9,7.4,2.6c3,0.7,6.2,1.4,9.6,2.2c3.4,0.8,6.6,1.9,9.6,3.5c3,1.6,5.4,3.7,7.4,6.5
+ c1.9,2.7,2.9,6.5,2.9,11.3c0,4.4-0.9,8-2.8,11c-1.9,3-4.3,5.4-7.4,7.2c-3,1.8-6.4,3.1-10.2,4c-3.8,0.8-7.6,1.2-11.3,1.2
+ c-5.7,0-11-0.8-15.8-2.4c-4.8-1.6-9.1-4.6-12.9-8.8l12.3-11.4c2.4,2.6,4.9,4.8,7.6,6.5c2.7,1.7,6,2.5,9.9,2.5
+ c1.3,0,2.7-0.2,4.1-0.5c1.4-0.3,2.8-0.8,4-1.5c1.2-0.7,2.2-1.6,3-2.7c0.8-1.1,1.1-2.3,1.1-3.7c0-2.5-1-4.4-2.9-5.6
+ c-1.9-1.2-4.4-2.2-7.4-3c-3-0.8-6.2-1.5-9.6-2.1c-3.4-0.7-6.6-1.7-9.6-3.2c-3-1.5-5.4-3.5-7.4-6.2c-1.9-2.6-2.9-6.3-2.9-11
+ c0-4.1,0.8-7.6,2.5-10.6c1.7-3,3.9-5.4,6.7-7.4c2.8-1.9,5.9-3.3,9.5-4.3c3.6-0.9,7.2-1.4,10.9-1.4c4.9,0,9.8,0.8,14.6,2.5
+ c4.8,1.7,8.7,4.5,11.7,8.6L683.6,269.9z"/>
+ </g>
+ </g>
+ </g>
+ </g>
+ </g>
+</g>
+</svg>
diff --git a/litellm/proxy/_experimental/out/assets/logos/deepseek.svg b/litellm/proxy/_experimental/out/assets/logos/deepseek.svg
index c4754047da2..61760f13190 100644
--- a/litellm/proxy/_experimental/out/assets/logos/deepseek.svg
+++ b/litellm/proxy/_experimental/out/assets/logos/deepseek.svg
@@ -1,25 +1,25 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 25.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- viewBox="0 0 292.6 215.3" style="enable-background:new 0 0 292.6 215.3;" xml:space="preserve">
-<style type="text/css">
- .st0{fill:#566AB2;}
-</style>
-<path class="st0" d="M191.3,123.7c-2.4,1-4.9,1.8-7.2,1.9c-3.6,0.2-7.6-1.3-9.7-3.1c-3.3-2.8-5.7-4.4-6.7-9.2
- c-0.4-2.1-0.2-5.3,0.2-7.2c0.9-4-0.1-6.5-2.9-8.9c-2.3-1.9-5.2-2.4-8.4-2.4s-2.3-0.5-3.1-1c-1.3-0.7-2.4-2.3-1.4-4.4
- c0.3-0.7,2-2.3,2.3-2.5c4.3-2.5,9.4-1.7,14,0.2c4.3,1.7,7.5,5,12.2,9.5c4.8,5.5,5.6,7,8.4,11.1c2.1,3.2,4.1,6.6,5.4,10.4
- C195.2,120.5,194.2,122.4,191.3,123.7L191.3,123.7z M153.4,104.3c0-2.1,1.7-3.7,3.8-3.7s0.9,0.1,1.3,0.2c0.5,0.2,1,0.5,1.4,0.9
- c0.7,0.7,1.1,1.6,1.1,2.6c0,2.1-1.7,3.8-3.8,3.8s-3.7-1.7-3.7-3.8H153.4z M141.2,182.8c-25.5-20-37.8-26.6-42.9-26.3
- c-4.8,0.3-3.9,5.7-2.8,9.3c1.1,3.5,2.5,5.9,4.5,9c1.4,2,2.3,5.1-1.4,7.3c-8.2,5.1-22.5-1.7-23.1-2c-16.6-9.8-30.5-22.7-40.2-40.3
- c-9.5-17-14.9-35.2-15.8-54.6c-0.2-4.7,1.1-6.4,5.8-7.2c6.2-1.1,12.5-1.4,18.7-0.5c26,3.8,48.1,15.4,66.7,33.8
- c10.6,10.5,18.6,23,26.8,35.2c8.8,13,18.2,25.4,30.2,35.5c4.3,3.6,7.6,6.3,10.9,8.2c-9.8,1.1-26.1,1.3-37.2-7.5L141.2,182.8z
- M289.5,18c-3.1-1.5-4.4,1.4-6.3,2.8c-0.6,0.5-1.1,1.1-1.7,1.7c-4.5,4.8-9.8,8-16.8,7.6c-10.1-0.6-18.7,2.6-26.4,10.4
- c-1.6-9.5-7-15.2-15.2-18.9c-4.3-1.9-8.6-3.8-11.6-7.9c-2.1-2.9-2.7-6.2-3.7-9.4c-0.7-2-1.3-3.9-3.6-4.3c-2.4-0.4-3.4,1.7-4.3,3.4
- c-3.8,7-5.3,14.6-5.2,22.4c0.3,17.5,7.7,31.5,22.4,41.4c1.7,1.1,2.1,2.3,1.6,3.9c-1,3.4-2.2,6.7-3.3,10.1c-0.7,2.2-1.7,2.7-4,1.7
- c-8.1-3.4-15-8.4-21.2-14.4c-10.4-10.1-19.9-21.2-31.6-30c-2.8-2.1-5.5-4-8.4-5.7c-12-11.7,1.6-21.3,4.7-22.4
- c3.3-1.2,1.2-5.3-9.5-5.2c-10.6,0-20.3,3.6-32.8,8.4c-1.8,0.7-3.7,1.2-5.7,1.7c-11.3-2.1-22.9-2.6-35.1-1.2
- c-23,2.5-41.4,13.4-54.8,32C1,68.3-2.8,93.6,1.9,120c4.9,27.8,19.1,50.9,41,68.9c22.6,18.7,48.7,27.8,78.5,26.1
- c18.1-1,38.2-3.5,60.9-22.7c5.7,2.8,11.7,4,21.7,4.8c7.7,0.7,15.1-0.4,20.8-1.5c9-1.9,8.4-10.2,5.1-11.7
- c-26.3-12.3-20.5-7.3-25.7-11.3c13.3-15.8,33.5-32.2,41.3-85.4c0.6-4.2,0.1-6.9,0-10.3c0-2.1,0.4-2.9,2.8-3.1
- c6.6-0.8,13-2.6,18.8-5.8c17-9.3,23.9-24.6,25.5-42.9c0.2-2.8,0-5.7-3-7.2L289.5,18z"/>
-</svg>
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 25.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 292.6 215.3" style="enable-background:new 0 0 292.6 215.3;" xml:space="preserve">
+<style type="text/css">
+ .st0{fill:#566AB2;}
+</style>
+<path class="st0" d="M191.3,123.7c-2.4,1-4.9,1.8-7.2,1.9c-3.6,0.2-7.6-1.3-9.7-3.1c-3.3-2.8-5.7-4.4-6.7-9.2
+ c-0.4-2.1-0.2-5.3,0.2-7.2c0.9-4-0.1-6.5-2.9-8.9c-2.3-1.9-5.2-2.4-8.4-2.4s-2.3-0.5-3.1-1c-1.3-0.7-2.4-2.3-1.4-4.4
+ c0.3-0.7,2-2.3,2.3-2.5c4.3-2.5,9.4-1.7,14,0.2c4.3,1.7,7.5,5,12.2,9.5c4.8,5.5,5.6,7,8.4,11.1c2.1,3.2,4.1,6.6,5.4,10.4
+ C195.2,120.5,194.2,122.4,191.3,123.7L191.3,123.7z M153.4,104.3c0-2.1,1.7-3.7,3.8-3.7s0.9,0.1,1.3,0.2c0.5,0.2,1,0.5,1.4,0.9
+ c0.7,0.7,1.1,1.6,1.1,2.6c0,2.1-1.7,3.8-3.8,3.8s-3.7-1.7-3.7-3.8H153.4z M141.2,182.8c-25.5-20-37.8-26.6-42.9-26.3
+ c-4.8,0.3-3.9,5.7-2.8,9.3c1.1,3.5,2.5,5.9,4.5,9c1.4,2,2.3,5.1-1.4,7.3c-8.2,5.1-22.5-1.7-23.1-2c-16.6-9.8-30.5-22.7-40.2-40.3
+ c-9.5-17-14.9-35.2-15.8-54.6c-0.2-4.7,1.1-6.4,5.8-7.2c6.2-1.1,12.5-1.4,18.7-0.5c26,3.8,48.1,15.4,66.7,33.8
+ c10.6,10.5,18.6,23,26.8,35.2c8.8,13,18.2,25.4,30.2,35.5c4.3,3.6,7.6,6.3,10.9,8.2c-9.8,1.1-26.1,1.3-37.2-7.5L141.2,182.8z
+ M289.5,18c-3.1-1.5-4.4,1.4-6.3,2.8c-0.6,0.5-1.1,1.1-1.7,1.7c-4.5,4.8-9.8,8-16.8,7.6c-10.1-0.6-18.7,2.6-26.4,10.4
+ c-1.6-9.5-7-15.2-15.2-18.9c-4.3-1.9-8.6-3.8-11.6-7.9c-2.1-2.9-2.7-6.2-3.7-9.4c-0.7-2-1.3-3.9-3.6-4.3c-2.4-0.4-3.4,1.7-4.3,3.4
+ c-3.8,7-5.3,14.6-5.2,22.4c0.3,17.5,7.7,31.5,22.4,41.4c1.7,1.1,2.1,2.3,1.6,3.9c-1,3.4-2.2,6.7-3.3,10.1c-0.7,2.2-1.7,2.7-4,1.7
+ c-8.1-3.4-15-8.4-21.2-14.4c-10.4-10.1-19.9-21.2-31.6-30c-2.8-2.1-5.5-4-8.4-5.7c-12-11.7,1.6-21.3,4.7-22.4
+ c3.3-1.2,1.2-5.3-9.5-5.2c-10.6,0-20.3,3.6-32.8,8.4c-1.8,0.7-3.7,1.2-5.7,1.7c-11.3-2.1-22.9-2.6-35.1-1.2
+ c-23,2.5-41.4,13.4-54.8,32C1,68.3-2.8,93.6,1.9,120c4.9,27.8,19.1,50.9,41,68.9c22.6,18.7,48.7,27.8,78.5,26.1
+ c18.1-1,38.2-3.5,60.9-22.7c5.7,2.8,11.7,4,21.7,4.8c7.7,0.7,15.1-0.4,20.8-1.5c9-1.9,8.4-10.2,5.1-11.7
+ c-26.3-12.3-20.5-7.3-25.7-11.3c13.3-15.8,33.5-32.2,41.3-85.4c0.6-4.2,0.1-6.9,0-10.3c0-2.1,0.4-2.9,2.8-3.1
+ c6.6-0.8,13-2.6,18.8-5.8c17-9.3,23.9-24.6,25.5-42.9c0.2-2.8,0-5.7-3-7.2L289.5,18z"/>
+</svg>
diff --git a/litellm/proxy/_experimental/out/assets/logos/perplexity-ai.svg b/litellm/proxy/_experimental/out/assets/logos/perplexity-ai.svg
index e828b6dfbf1..e3a32be9809 100644
--- a/litellm/proxy/_experimental/out/assets/logos/perplexity-ai.svg
+++ b/litellm/proxy/_experimental/out/assets/logos/perplexity-ai.svg
@@ -1,16 +1,16 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- Generator: Adobe Illustrator 26.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
-<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="10.5862" y1="1.61" x2="36.0543" y2="44.1206">
- <stop offset="0.002" style="stop-color:#9C55D4"/>
- <stop offset="0.003" style="stop-color:#20808D"/>
- <stop offset="0.3731" style="stop-color:#218F9B"/>
- <stop offset="1" style="stop-color:#22B1BC"/>
-</linearGradient>
-<path style="fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_1_);" d="M11.469,4l11.39,10.494v-0.002V4.024h2.217v10.517
- L36.518,4v11.965h4.697v17.258h-4.683v10.654L25.077,33.813v10.18h-2.217V33.979L11.482,44V33.224H6.785V15.965h4.685V4z
- M21.188,18.155H9.002v12.878h2.477v-4.062L21.188,18.155z M13.699,27.943v11.17l9.16-8.068V19.623L13.699,27.943z M25.141,30.938
- V19.612l9.163,8.321v5.291h0.012v5.775L25.141,30.938z M36.532,31.033h2.466V18.155H26.903l9.629,8.725V31.033z M34.301,15.965
- V9.038l-7.519,6.927H34.301z M21.205,15.965h-7.519V9.038L21.205,15.965z"/>
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 26.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
+<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="10.5862" y1="1.61" x2="36.0543" y2="44.1206">
+ <stop offset="0.002" style="stop-color:#9C55D4"/>
+ <stop offset="0.003" style="stop-color:#20808D"/>
+ <stop offset="0.3731" style="stop-color:#218F9B"/>
+ <stop offset="1" style="stop-color:#22B1BC"/>
+</linearGradient>
+<path style="fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_1_);" d="M11.469,4l11.39,10.494v-0.002V4.024h2.217v10.517
+ L36.518,4v11.965h4.697v17.258h-4.683v10.654L25.077,33.813v10.18h-2.217V33.979L11.482,44V33.224H6.785V15.965h4.685V4z
+ M21.188,18.155H9.002v12.878h2.477v-4.062L21.188,18.155z M13.699,27.943v11.17l9.16-8.068V19.623L13.699,27.943z M25.141,30.938
+ V19.612l9.163,8.321v5.291h0.012v5.775L25.141,30.938z M36.532,31.033h2.466V18.155H26.903l9.629,8.725V31.033z M34.301,15.965
+ V9.038l-7.519,6.927H34.301z M21.205,15.965h-7.519V9.038L21.205,15.965z"/>
</svg>
\ No newline at end of file
diff --git a/litellm/proxy/_experimental/out/experimental/api-playground.html b/litellm/proxy/_experimental/out/experimental/api-playground.html
index 956987374f5..ddf442506d0 100644
--- a/litellm/proxy/_experimental/out/experimental/api-playground.html
+++ b/litellm/proxy/_experimental/out/experimental/api-playground.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[16643,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"3425\",\"static/chunks/app/(dashboard)/experimental/api-playground/page-aa57e070a02e9492.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"experimental\",\"api-playground\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"api-playground\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"api-playground\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"children\",\"api-playground\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[16643,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"3425\",\"static/chunks/app/(dashboard)/experimental/api-playground/page-aa57e070a02e9492.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"experimental\",\"api-playground\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"api-playground\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"api-playground\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"children\",\"api-playground\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
diff --git a/litellm/proxy/_experimental/out/experimental/api-playground.txt b/litellm/proxy/_experimental/out/experimental/api-playground.txt
index d504e4454b7..7330b16953d 100644
--- a/litellm/proxy/_experimental/out/experimental/api-playground.txt
+++ b/litellm/proxy/_experimental/out/experimental/api-playground.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["experimental",{"children":["api-playground",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["experimental",{"children":["api-playground",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children","api-playground","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["experimental",{"children":["api-playground",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["experimental",{"children":["api-playground",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children","api-playground","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/experimental/budgets.html b/litellm/proxy/_experimental/out/experimental/budgets.html
index 6f7bc7e77fe..0a7b22d663d 100644
--- a/litellm/proxy/_experimental/out/experimental/budgets.html
+++ b/litellm/proxy/_experimental/out/experimental/budgets.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[78858,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"7906\",\"static/chunks/7906-11071e9e2e7b8318.js\",\"527\",\"static/chunks/527-d9b7316e990a0539.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"5649\",\"static/chunks/app/(dashboard)/experimental/budgets/page-43b5352e768d43da.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"experimental\",\"budgets\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"budgets\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"budgets\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"children\",\"budgets\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[78858,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"7906\",\"static/chunks/7906-11071e9e2e7b8318.js\",\"527\",\"static/chunks/527-d9b7316e990a0539.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"5649\",\"static/chunks/app/(dashboard)/experimental/budgets/page-43b5352e768d43da.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"experimental\",\"budgets\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"budgets\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"budgets\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"children\",\"budgets\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
diff --git a/litellm/proxy/_experimental/out/experimental/budgets.txt b/litellm/proxy/_experimental/out/experimental/budgets.txt
index 35f862edf85..5bca7d0bee3 100644
--- a/litellm/proxy/_experimental/out/experimental/budgets.txt
+++ b/litellm/proxy/_experimental/out/experimental/budgets.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["experimental",{"children":["budgets",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["experimental",{"children":["budgets",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children","budgets","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["experimental",{"children":["budgets",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["experimental",{"children":["budgets",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children","budgets","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/experimental/caching.html b/litellm/proxy/_experimental/out/experimental/caching.html
index c0577cd4468..450599b67ca 100644
--- a/litellm/proxy/_experimental/out/experimental/caching.html
+++ b/litellm/proxy/_experimental/out/experimental/caching.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[37492,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"2344\",\"static/chunks/2344-169e12738d6439ab.js\",\"1487\",\"static/chunks/1487-ada9ecf7dd9bca97.js\",\"2662\",\"static/chunks/2662-51eb8b1bec576f6d.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"4696\",\"static/chunks/4696-2b10d95edaaa6de3.js\",\"1979\",\"static/chunks/app/(dashboard)/experimental/caching/page-6f2391894f41b621.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"experimental\",\"caching\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"caching\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"caching\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"children\",\"caching\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[37492,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"2344\",\"static/chunks/2344-169e12738d6439ab.js\",\"1487\",\"static/chunks/1487-ada9ecf7dd9bca97.js\",\"2662\",\"static/chunks/2662-51eb8b1bec576f6d.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"4696\",\"static/chunks/4696-2b10d95edaaa6de3.js\",\"1979\",\"static/chunks/app/(dashboard)/experimental/caching/page-6f2391894f41b621.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"experimental\",\"caching\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"caching\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"caching\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"children\",\"caching\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
diff --git a/litellm/proxy/_experimental/out/experimental/caching.txt b/litellm/proxy/_experimental/out/experimental/caching.txt
index 535474dea3e..28eb7f3770e 100644
--- a/litellm/proxy/_experimental/out/experimental/caching.txt
+++ b/litellm/proxy/_experimental/out/experimental/caching.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["experimental",{"children":["caching",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["experimental",{"children":["caching",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children","caching","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["experimental",{"children":["caching",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["experimental",{"children":["caching",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children","caching","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/experimental/old-usage.html b/litellm/proxy/_experimental/out/experimental/old-usage.html
index e69027f2419..7bd6ba96591 100644
--- a/litellm/proxy/_experimental/out/experimental/old-usage.html
+++ b/litellm/proxy/_experimental/out/experimental/old-usage.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[42954,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"5188\",\"static/chunks/5188-0e9d5e6db19ac9e6.js\",\"6202\",\"static/chunks/6202-e6c424fe04dff54a.js\",\"2344\",\"static/chunks/2344-169e12738d6439ab.js\",\"1487\",\"static/chunks/1487-ada9ecf7dd9bca97.js\",\"5105\",\"static/chunks/5105-eb18802ec448789d.js\",\"1160\",\"static/chunks/1160-3efb81c958413447.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2202\",\"static/chunks/2202-e8124587d6b0e623.js\",\"874\",\"static/chunks/874-e84ea35ec9a8042c.js\",\"4292\",\"static/chunks/4292-54c3f53dfd64063a.js\",\"8143\",\"static/chunks/8143-ff425046805ff3d9.js\",\"813\",\"static/chunks/app/(dashboard)/experimental/old-usage/page-1f8932fa89ea6ef9.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/804"])</script><script>self.__next_f.push([1,"9-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"experimental\",\"old-usage\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"old-usage\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"old-usage\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"children\",\"old-usage\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[42954,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"5188\",\"static/chunks/5188-0e9d5e6db19ac9e6.js\",\"6202\",\"static/chunks/6202-e6c424fe04dff54a.js\",\"2344\",\"static/chunks/2344-169e12738d6439ab.js\",\"1487\",\"static/chunks/1487-ada9ecf7dd9bca97.js\",\"5105\",\"static/chunks/5105-eb18802ec448789d.js\",\"1160\",\"static/chunks/1160-3efb81c958413447.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2202\",\"static/chunks/2202-e8124587d6b0e623.js\",\"874\",\"static/chunks/874-e84ea35ec9a8042c.js\",\"4292\",\"static/chunks/4292-54c3f53dfd64063a.js\",\"8143\",\"static/chunks/8143-ff425046805ff3d9.js\",\"813\",\"static/chunks/app/(dashboard)/experimental/old-usage/page-1f8932fa89ea6ef9.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/804"])</script><script>self.__next_f.push([1,"9-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"experimental\",\"old-usage\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"old-usage\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"old-usage\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"children\",\"old-usage\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
diff --git a/litellm/proxy/_experimental/out/experimental/old-usage.txt b/litellm/proxy/_experimental/out/experimental/old-usage.txt
index 5ddca70c025..8c104c18dc6 100644
--- a/litellm/proxy/_experimental/out/experimental/old-usage.txt
+++ b/litellm/proxy/_experimental/out/experimental/old-usage.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["experimental",{"children":["old-usage",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["experimental",{"children":["old-usage",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children","old-usage","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["experimental",{"children":["old-usage",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["experimental",{"children":["old-usage",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children","old-usage","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/experimental/prompts.html b/litellm/proxy/_experimental/out/experimental/prompts.html
index a31b37ae302..2d753756576 100644
--- a/litellm/proxy/_experimental/out/experimental/prompts.html
+++ b/litellm/proxy/_experimental/out/experimental/prompts.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[51599,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"8347\",\"static/chunks/8347-0845abae9a2a5d9e.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"603\",\"static/chunks/603-41b69f9ab68da547.js\",\"2099\",\"static/chunks/app/(dashboard)/experimental/prompts/page-6c44a72597b9f0d6.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"experimental\",\"prompts\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"prompts\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"prompts\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"children\",\"prompts\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[51599,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"8347\",\"static/chunks/8347-0845abae9a2a5d9e.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"603\",\"static/chunks/603-41b69f9ab68da547.js\",\"2099\",\"static/chunks/app/(dashboard)/experimental/prompts/page-6c44a72597b9f0d6.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"experimental\",\"prompts\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"prompts\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"prompts\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"children\",\"prompts\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
diff --git a/litellm/proxy/_experimental/out/experimental/prompts.txt b/litellm/proxy/_experimental/out/experimental/prompts.txt
index bf918c6a3d9..b5167345612 100644
--- a/litellm/proxy/_experimental/out/experimental/prompts.txt
+++ b/litellm/proxy/_experimental/out/experimental/prompts.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["experimental",{"children":["prompts",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["experimental",{"children":["prompts",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children","prompts","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["experimental",{"children":["prompts",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["experimental",{"children":["prompts",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children","prompts","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/experimental/tag-management.html b/litellm/proxy/_experimental/out/experimental/tag-management.html
index fa16ee7ff3e..96580853cf1 100644
--- a/litellm/proxy/_experimental/out/experimental/tag-management.html
+++ b/litellm/proxy/_experimental/out/experimental/tag-management.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[21933,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"5188\",\"static/chunks/5188-0e9d5e6db19ac9e6.js\",\"4924\",\"static/chunks/4924-e47559a81a4aa31c.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2202\",\"static/chunks/2202-e8124587d6b0e623.js\",\"874\",\"static/chunks/874-e84ea35ec9a8042c.js\",\"2273\",\"static/chunks/2273-0d0a74964599a0e2.js\",\"6061\",\"static/chunks/app/(dashboard)/experimental/tag-management/page-92be215d749fe31d.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,san"])</script><script>self.__next_f.push([1,"s-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"experimental\",\"tag-management\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"tag-management\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"tag-management\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"children\",\"tag-management\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[21933,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"5188\",\"static/chunks/5188-0e9d5e6db19ac9e6.js\",\"4924\",\"static/chunks/4924-e47559a81a4aa31c.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2202\",\"static/chunks/2202-e8124587d6b0e623.js\",\"874\",\"static/chunks/874-e84ea35ec9a8042c.js\",\"2273\",\"static/chunks/2273-0d0a74964599a0e2.js\",\"6061\",\"static/chunks/app/(dashboard)/experimental/tag-management/page-92be215d749fe31d.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,san"])</script><script>self.__next_f.push([1,"s-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"experimental\",\"tag-management\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"tag-management\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"experimental\",{\"children\":[\"tag-management\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"children\",\"tag-management\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"experimental\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
diff --git a/litellm/proxy/_experimental/out/experimental/tag-management.txt b/litellm/proxy/_experimental/out/experimental/tag-management.txt
index 40ab76ec055..89b9080ae72 100644
--- a/litellm/proxy/_experimental/out/experimental/tag-management.txt
+++ b/litellm/proxy/_experimental/out/experimental/tag-management.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["experimental",{"children":["tag-management",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["experimental",{"children":["tag-management",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children","tag-management","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["experimental",{"children":["tag-management",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["experimental",{"children":["tag-management",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children","tag-management","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","experimental","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/guardrails.txt b/litellm/proxy/_experimental/out/guardrails.txt
index d357d2ec16f..dcef9d2f2b8 100644
--- a/litellm/proxy/_experimental/out/guardrails.txt
+++ b/litellm/proxy/_experimental/out/guardrails.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["guardrails",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["guardrails",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","guardrails","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["guardrails",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["guardrails",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","guardrails","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/index.html b/litellm/proxy/_experimental/out/index.html
index 297ee3a3e19..04d670578c4 100644
--- a/litellm/proxy/_experimental/out/index.html
+++ b/litellm/proxy/_experimental/out/index.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n"])</script><script>self.__next_f.push([1,"7:I[50036,[\"3665\",\"static/chunks/3014691f-702e24806fe9cec4.js\",\"6990\",\"static/chunks/13b76428-e1bf383848c17260.js\",\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"5188\",\"static/chunks/5188-0e9d5e6db19ac9e6.js\",\"6202\",\"static/chunks/6202-e6c424fe04dff54a.js\",\"7906\",\"static/chunks/7906-11071e9e2e7b8318.js\",\"2344\",\"static/chunks/2344-169e12738d6439ab.js\",\"3669\",\"static/chunks/3669-cbf664b1e9c58f8a.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"1264\",\"static/chunks/1264-2979d95e0b56a75c.js\",\"1487\",\"static/chunks/1487-ada9ecf7dd9bca97.js\",\"3752\",\"static/chunks/3752-53808701995a5f10.js\",\"5105\",\"static/chunks/5105-eb18802ec448789d.js\",\"6433\",\"static/chunks/6433-c9b3a95c5de0b59f.js\",\"1160\",\"static/chunks/1160-3efb81c958413447.js\",\"9888\",\"static/chunks/9888-a0a2120c93674b5e.js\",\"3250\",\"static/chunks/3250-3256164511237d25.js\",\"9429\",\"static/chunks/9429-2cac017dd355dcd2.js\",\"1223\",\"static/chunks/1223-de5e7e4f043a5233.js\",\"8050\",\"static/chunks/8050-901c2a1bce9028ed.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2202\",\"static/chunks/2202-e8124587d6b0e623.js\",\"874\",\"static/chunks/874-e84ea35ec9a8042c.js\",\"4292\",\"static/chunks/4292-54c3f53dfd64063a.js\",\"2162\",\"static/chunks/2162-70a154301fc81d42.js\",\"2004\",\"static/chunks/2004-2c0ea663e63e0a2f.js\",\"2012\",\"static/chunks/2012-a89637b8d4370e64.js\",\"8160\",\"static/chunks/8160-978f9adc46a12a56.js\",\"7801\",\"static/chunks/7801-631ca879181868d8.js\",\"2306\",\"static/chunks/2306-c9a553b697103491.js\",\"3801\",\"static/chunks/3801-f50239dd6dee5df7.js\",\"1307\",\"static/chunks/1307-6bc3bb770f5b2b05.js\",\"9681\",\"static/chunks/9681-49ea01accf85cac1.js\",\"7155\",\"static/chunks/7155-95101d73b2137e92.js\",\"3298\",\"static/chunks/3298-ad776747b5eff3ae.js\",\"6204\",\"static/chunks/6204-0d389019484112ee.js\",\"1739\",\"static/chunks/1739-f276f8d8fca7b189.js\",\"773\",\"static/chunks/773-91425983f811b156.js\",\"6925\",\"static/chunks/6925-5033fd5c18d1b098.js\",\"8143\",\"static/chunks/8143-ff425046805ff3d9.js\",\"2273\",\"static/chunks/2273-0d0a74964599a0e2.js\",\"5809\",\"static/chunks/5809-1eb0022e0f1e4ee3.js\",\"603\",\"static/chunks/603-41b69f9ab68da547.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"4696\",\"static/chunks/4696-2b10d95edaaa6de3.js\",\"1931\",\"static/chunks/app/page-738e073cfdac7523.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"8:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n9:I[4707,[],\"\"]\na:I[36423,[],\"\"]\nc:I[61060,[],\"\"]\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"\"],\"initialTree\":[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$L9\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$La\",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,\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n"])</script><script>self.__next_f.push([1,"7:I[50036,[\"3665\",\"static/chunks/3014691f-702e24806fe9cec4.js\",\"6990\",\"static/chunks/13b76428-e1bf383848c17260.js\",\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"5188\",\"static/chunks/5188-0e9d5e6db19ac9e6.js\",\"6202\",\"static/chunks/6202-e6c424fe04dff54a.js\",\"7906\",\"static/chunks/7906-11071e9e2e7b8318.js\",\"2344\",\"static/chunks/2344-169e12738d6439ab.js\",\"3669\",\"static/chunks/3669-cbf664b1e9c58f8a.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"1264\",\"static/chunks/1264-2979d95e0b56a75c.js\",\"1487\",\"static/chunks/1487-ada9ecf7dd9bca97.js\",\"3752\",\"static/chunks/3752-53808701995a5f10.js\",\"5105\",\"static/chunks/5105-eb18802ec448789d.js\",\"6433\",\"static/chunks/6433-c9b3a95c5de0b59f.js\",\"1160\",\"static/chunks/1160-3efb81c958413447.js\",\"9888\",\"static/chunks/9888-a0a2120c93674b5e.js\",\"3250\",\"static/chunks/3250-3256164511237d25.js\",\"9429\",\"static/chunks/9429-2cac017dd355dcd2.js\",\"1223\",\"static/chunks/1223-de5e7e4f043a5233.js\",\"8050\",\"static/chunks/8050-901c2a1bce9028ed.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2202\",\"static/chunks/2202-e8124587d6b0e623.js\",\"874\",\"static/chunks/874-e84ea35ec9a8042c.js\",\"4292\",\"static/chunks/4292-54c3f53dfd64063a.js\",\"2162\",\"static/chunks/2162-70a154301fc81d42.js\",\"2004\",\"static/chunks/2004-2c0ea663e63e0a2f.js\",\"2012\",\"static/chunks/2012-a89637b8d4370e64.js\",\"8160\",\"static/chunks/8160-978f9adc46a12a56.js\",\"7801\",\"static/chunks/7801-631ca879181868d8.js\",\"2306\",\"static/chunks/2306-c9a553b697103491.js\",\"3801\",\"static/chunks/3801-f50239dd6dee5df7.js\",\"1307\",\"static/chunks/1307-6bc3bb770f5b2b05.js\",\"9681\",\"static/chunks/9681-49ea01accf85cac1.js\",\"7155\",\"static/chunks/7155-95101d73b2137e92.js\",\"3298\",\"static/chunks/3298-ad776747b5eff3ae.js\",\"6204\",\"static/chunks/6204-0d389019484112ee.js\",\"1739\",\"static/chunks/1739-f276f8d8fca7b189.js\",\"773\",\"static/chunks/773-91425983f811b156.js\",\"6925\",\"static/chunks/6925-5033fd5c18d1b098.js\",\"8143\",\"static/chunks/8143-ff425046805ff3d9.js\",\"2273\",\"static/chunks/2273-0d0a74964599a0e2.js\",\"5809\",\"static/chunks/5809-1eb0022e0f1e4ee3.js\",\"603\",\"static/chunks/603-41b69f9ab68da547.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"4696\",\"static/chunks/4696-2b10d95edaaa6de3.js\",\"1931\",\"static/chunks/app/page-738e073cfdac7523.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"8:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n9:I[4707,[],\"\"]\na:I[36423,[],\"\"]\nc:I[61060,[],\"\"]\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"\"],\"initialTree\":[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$L9\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$La\",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,\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"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 file
diff --git a/litellm/proxy/_experimental/out/index.txt b/litellm/proxy/_experimental/out/index.txt
index 1f04d97be66..4103ab437f2 100644
--- a/litellm/proxy/_experimental/out/index.txt
+++ b/litellm/proxy/_experimental/out/index.txt
@@ -3,6 +3,6 @@
4:I[31857,["3185","static/chunks/app/layout-6d8e06b275ad8577.js"],"FeatureFlagsProvider"]
5:I[4707,[],""]
6:I[36423,[],""]
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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],["$L7",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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],["$L7",null]]]]
7:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/logs.txt b/litellm/proxy/_experimental/out/logs.txt
index f473d3cf6f0..4f3364b0bab 100644
--- a/litellm/proxy/_experimental/out/logs.txt
+++ b/litellm/proxy/_experimental/out/logs.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["logs",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["logs",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","logs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["logs",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["logs",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","logs","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/logs/index.html b/litellm/proxy/_experimental/out/logs/index.html
index e252335cea5..784a4fc0bea 100644
--- a/litellm/proxy/_experimental/out/logs/index.html
+++ b/litellm/proxy/_experimental/out/logs/index.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[19056,[\"6990\",\"static/chunks/13b76428-e1bf383848c17260.js\",\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"5188\",\"static/chunks/5188-0e9d5e6db19ac9e6.js\",\"6202\",\"static/chunks/6202-e6c424fe04dff54a.js\",\"1264\",\"static/chunks/1264-2979d95e0b56a75c.js\",\"5079\",\"static/chunks/5079-a43d5cc0d7429256.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2202\",\"static/chunks/2202-e8124587d6b0e623.js\",\"874\",\"static/chunks/874-e84ea35ec9a8042c.js\",\"4292\",\"static/chunks/4292-54c3f53dfd64063a.js\",\"3801\",\"static/chunks/3801-f50239dd6dee5df7.js\",\"2100\",\"static/chunks/app/(dashboard)/logs/page-46864d7c8218eebd.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/"])</script><script>self.__next_f.push([1,"layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"logs\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"logs\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"logs\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"logs\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[19056,[\"6990\",\"static/chunks/13b76428-e1bf383848c17260.js\",\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"5188\",\"static/chunks/5188-0e9d5e6db19ac9e6.js\",\"6202\",\"static/chunks/6202-e6c424fe04dff54a.js\",\"1264\",\"static/chunks/1264-2979d95e0b56a75c.js\",\"5079\",\"static/chunks/5079-a43d5cc0d7429256.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2202\",\"static/chunks/2202-e8124587d6b0e623.js\",\"874\",\"static/chunks/874-e84ea35ec9a8042c.js\",\"4292\",\"static/chunks/4292-54c3f53dfd64063a.js\",\"3801\",\"static/chunks/3801-f50239dd6dee5df7.js\",\"2100\",\"static/chunks/app/(dashboard)/logs/page-46864d7c8218eebd.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/"])</script><script>self.__next_f.push([1,"layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"logs\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"logs\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"logs\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"logs\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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>
diff --git a/litellm/proxy/_experimental/out/model-hub.txt b/litellm/proxy/_experimental/out/model-hub.txt
index 336b465808e..e0ed878283b 100644
--- a/litellm/proxy/_experimental/out/model-hub.txt
+++ b/litellm/proxy/_experimental/out/model-hub.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["model-hub",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["model-hub",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","model-hub","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["model-hub",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["model-hub",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","model-hub","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/model-hub/index.html b/litellm/proxy/_experimental/out/model-hub/index.html
index d354856d155..02ad6493389 100644
--- a/litellm/proxy/_experimental/out/model-hub/index.html
+++ b/litellm/proxy/_experimental/out/model-hub/index.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[30615,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"7906\",\"static/chunks/7906-11071e9e2e7b8318.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"3752\",\"static/chunks/3752-53808701995a5f10.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2162\",\"static/chunks/2162-70a154301fc81d42.js\",\"8160\",\"static/chunks/8160-978f9adc46a12a56.js\",\"2678\",\"static/chunks/app/(dashboard)/model-hub/page-48450926ed3399af.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-blo"])</script><script>self.__next_f.push([1,"ck\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"model-hub\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"model-hub\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"model-hub\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"model-hub\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[30615,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"7906\",\"static/chunks/7906-11071e9e2e7b8318.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"3752\",\"static/chunks/3752-53808701995a5f10.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2162\",\"static/chunks/2162-70a154301fc81d42.js\",\"8160\",\"static/chunks/8160-978f9adc46a12a56.js\",\"2678\",\"static/chunks/app/(dashboard)/model-hub/page-48450926ed3399af.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-blo"])</script><script>self.__next_f.push([1,"ck\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"model-hub\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"model-hub\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"model-hub\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"model-hub\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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>
diff --git a/litellm/proxy/_experimental/out/model_hub.txt b/litellm/proxy/_experimental/out/model_hub.txt
index 0f05cc165b5..324cfb9bb18 100644
--- a/litellm/proxy/_experimental/out/model_hub.txt
+++ b/litellm/proxy/_experimental/out/model_hub.txt
@@ -3,6 +3,6 @@
4:I[4707,[],""]
5:I[36423,[],""]
6:I[31857,["3185","static/chunks/app/layout-6d8e06b275ad8577.js"],"FeatureFlagsProvider"]
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["model_hub",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["model_hub",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","model_hub","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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],["$L7",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["model_hub",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["model_hub",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","model_hub","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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],["$L7",null]]]]
7:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/model_hub_table.txt b/litellm/proxy/_experimental/out/model_hub_table.txt
index 135b5c660e5..55596fdfc06 100644
--- a/litellm/proxy/_experimental/out/model_hub_table.txt
+++ b/litellm/proxy/_experimental/out/model_hub_table.txt
@@ -3,6 +3,6 @@
4:I[4707,[],""]
5:I[36423,[],""]
6:I[31857,["3185","static/chunks/app/layout-6d8e06b275ad8577.js"],"FeatureFlagsProvider"]
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["model_hub_table",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["model_hub_table",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","model_hub_table","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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],["$L7",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["model_hub_table",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["model_hub_table",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","model_hub_table","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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],["$L7",null]]]]
7:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/model_hub_table/index.html b/litellm/proxy/_experimental/out/model_hub_table/index.html
index c4d1f067cbe..e2dc18f661b 100644
--- a/litellm/proxy/_experimental/out/model_hub_table/index.html
+++ b/litellm/proxy/_experimental/out/model_hub_table/index.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[22775,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"7906\",\"static/chunks/7906-11071e9e2e7b8318.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"3752\",\"static/chunks/3752-53808701995a5f10.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2162\",\"static/chunks/2162-70a154301fc81d42.js\",\"8160\",\"static/chunks/8160-978f9adc46a12a56.js\",\"9025\",\"static/chunks/app/model_hub_table/page-b21fde8ae2ae718d.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\nc:I[61060,[],\"\"]\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"model_hub_table\"],\"initialTree\":[\"\",{\"children\":[\"model_hub_table\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"model_hub_table\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"model_hub_table\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$La\",null,{\"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,\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[22775,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"7906\",\"static/chunks/7906-11071e9e2e7b8318.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"3752\",\"static/chunks/3752-53808701995a5f10.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2162\",\"static/chunks/2162-70a154301fc81d42.js\",\"8160\",\"static/chunks/8160-978f9adc46a12a56.js\",\"9025\",\"static/chunks/app/model_hub_table/page-b21fde8ae2ae718d.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\nc:I[61060,[],\"\"]\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"model_hub_table\"],\"initialTree\":[\"\",{\"children\":[\"model_hub_table\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"model_hub_table\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"model_hub_table\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$La\",null,{\"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,\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"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>
diff --git a/litellm/proxy/_experimental/out/models-and-endpoints.txt b/litellm/proxy/_experimental/out/models-and-endpoints.txt
index 0d88ccfe0d7..3263d47dc84 100644
--- a/litellm/proxy/_experimental/out/models-and-endpoints.txt
+++ b/litellm/proxy/_experimental/out/models-and-endpoints.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["models-and-endpoints",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["models-and-endpoints",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","models-and-endpoints","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["models-and-endpoints",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["models-and-endpoints",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","models-and-endpoints","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/models-and-endpoints/index.html b/litellm/proxy/_experimental/out/models-and-endpoints/index.html
index 67bc3aa6aad..02dd3ecd696 100644
--- a/litellm/proxy/_experimental/out/models-and-endpoints/index.html
+++ b/litellm/proxy/_experimental/out/models-and-endpoints/index.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[6121,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"6202\",\"static/chunks/6202-e6c424fe04dff54a.js\",\"2344\",\"static/chunks/2344-169e12738d6439ab.js\",\"3669\",\"static/chunks/3669-cbf664b1e9c58f8a.js\",\"1487\",\"static/chunks/1487-ada9ecf7dd9bca97.js\",\"5105\",\"static/chunks/5105-eb18802ec448789d.js\",\"4851\",\"static/chunks/4851-fbdd7aec2937c09d.js\",\"9429\",\"static/chunks/9429-2cac017dd355dcd2.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2012\",\"static/chunks/2012-a89637b8d4370e64.js\",\"7801\",\"static/chunks/7801-631ca879181868d8.js\",\"1664\",\"static/chunks/app/(dashboard)/models-and-endpoints/page-e10fab57ea4d4056.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/201"])</script><script>self.__next_f.push([1,"9-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"models-and-endpoints\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"models-and-endpoints\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"models-and-endpoints\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"models-and-endpoints\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[6121,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"6202\",\"static/chunks/6202-e6c424fe04dff54a.js\",\"2344\",\"static/chunks/2344-169e12738d6439ab.js\",\"3669\",\"static/chunks/3669-cbf664b1e9c58f8a.js\",\"1487\",\"static/chunks/1487-ada9ecf7dd9bca97.js\",\"5105\",\"static/chunks/5105-eb18802ec448789d.js\",\"4851\",\"static/chunks/4851-fbdd7aec2937c09d.js\",\"9429\",\"static/chunks/9429-2cac017dd355dcd2.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2012\",\"static/chunks/2012-a89637b8d4370e64.js\",\"7801\",\"static/chunks/7801-631ca879181868d8.js\",\"1664\",\"static/chunks/app/(dashboard)/models-and-endpoints/page-e10fab57ea4d4056.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/201"])</script><script>self.__next_f.push([1,"9-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"models-and-endpoints\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"models-and-endpoints\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"models-and-endpoints\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"models-and-endpoints\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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>
diff --git a/litellm/proxy/_experimental/out/onboarding.txt b/litellm/proxy/_experimental/out/onboarding.txt
index bb77dbb2fb8..9349e68f645 100644
--- a/litellm/proxy/_experimental/out/onboarding.txt
+++ b/litellm/proxy/_experimental/out/onboarding.txt
@@ -3,6 +3,6 @@
4:I[4707,[],""]
5:I[36423,[],""]
6:I[31857,["3185","static/chunks/app/layout-6d8e06b275ad8577.js"],"FeatureFlagsProvider"]
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["onboarding",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["onboarding",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","onboarding","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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],["$L7",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["onboarding",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["onboarding",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","onboarding","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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],["$L7",null]]]]
7:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/organizations.txt b/litellm/proxy/_experimental/out/organizations.txt
index 9a78824b7ab..e46fd128cbe 100644
--- a/litellm/proxy/_experimental/out/organizations.txt
+++ b/litellm/proxy/_experimental/out/organizations.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["organizations",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["organizations",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","organizations","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["organizations",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["organizations",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","organizations","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/organizations/index.html b/litellm/proxy/_experimental/out/organizations/index.html
index 1d02604c500..53c99ab4fb3 100644
--- a/litellm/proxy/_experimental/out/organizations/index.html
+++ b/litellm/proxy/_experimental/out/organizations/index.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[57616,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"5188\",\"static/chunks/5188-0e9d5e6db19ac9e6.js\",\"6202\",\"static/chunks/6202-e6c424fe04dff54a.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2202\",\"static/chunks/2202-e8124587d6b0e623.js\",\"874\",\"static/chunks/874-e84ea35ec9a8042c.js\",\"2004\",\"static/chunks/2004-2c0ea663e63e0a2f.js\",\"6459\",\"static/chunks/app/(dashboard)/organizations/page-9e3d8dcda1d30cd3.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"fontFamily\":\"system-ui,\\\"Seg"])</script><script>self.__next_f.push([1,"oe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"organizations\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"organizations\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"organizations\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"organizations\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[57616,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"5188\",\"static/chunks/5188-0e9d5e6db19ac9e6.js\",\"6202\",\"static/chunks/6202-e6c424fe04dff54a.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2202\",\"static/chunks/2202-e8124587d6b0e623.js\",\"874\",\"static/chunks/874-e84ea35ec9a8042c.js\",\"2004\",\"static/chunks/2004-2c0ea663e63e0a2f.js\",\"6459\",\"static/chunks/app/(dashboard)/organizations/page-9e3d8dcda1d30cd3.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"fontFamily\":\"system-ui,\\\"Seg"])</script><script>self.__next_f.push([1,"oe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"organizations\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"organizations\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"organizations\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"organizations\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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>
diff --git a/litellm/proxy/_experimental/out/settings/admin-settings.html b/litellm/proxy/_experimental/out/settings/admin-settings.html
index 852fe7e2c29..1baf666b787 100644
--- a/litellm/proxy/_experimental/out/settings/admin-settings.html
+++ b/litellm/proxy/_experimental/out/settings/admin-settings.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[8786,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"2052\",\"static/chunks/2052-68db39dea49a676f.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"773\",\"static/chunks/773-91425983f811b156.js\",\"8958\",\"static/chunks/app/(dashboard)/settings/admin-settings/page-59deea247310b5a5.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"settings\",\"admin-settings\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"settings\",{\"children\":[\"admin-settings\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"settings\",{\"children\":[\"admin-settings\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"settings\",\"children\",\"admin-settings\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"settings\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[8786,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"2052\",\"static/chunks/2052-68db39dea49a676f.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"773\",\"static/chunks/773-91425983f811b156.js\",\"8958\",\"static/chunks/app/(dashboard)/settings/admin-settings/page-59deea247310b5a5.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"settings\",\"admin-settings\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"settings\",{\"children\":[\"admin-settings\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"settings\",{\"children\":[\"admin-settings\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"settings\",\"children\",\"admin-settings\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"settings\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
diff --git a/litellm/proxy/_experimental/out/settings/admin-settings.txt b/litellm/proxy/_experimental/out/settings/admin-settings.txt
index 4587b9d29c7..1aa7ab0a3ae 100644
--- a/litellm/proxy/_experimental/out/settings/admin-settings.txt
+++ b/litellm/proxy/_experimental/out/settings/admin-settings.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["admin-settings",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["settings",{"children":["admin-settings",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","admin-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["admin-settings",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["settings",{"children":["admin-settings",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","admin-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/settings/logging-and-alerts.html b/litellm/proxy/_experimental/out/settings/logging-and-alerts.html
index 2bbd81683ac..28a4af41192 100644
--- a/litellm/proxy/_experimental/out/settings/logging-and-alerts.html
+++ b/litellm/proxy/_experimental/out/settings/logging-and-alerts.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[72719,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"226\",\"static/chunks/226-81daaf8cff08ccfe.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"6925\",\"static/chunks/6925-5033fd5c18d1b098.js\",\"2445\",\"static/chunks/app/(dashboard)/settings/logging-and-alerts/page-fbd6567403327835.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"settings\",\"logging-and-alerts\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"settings\",{\"children\":[\"logging-and-alerts\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"settings\",{\"children\":[\"logging-and-alerts\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"settings\",\"children\",\"logging-and-alerts\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"settings\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[72719,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"226\",\"static/chunks/226-81daaf8cff08ccfe.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"6925\",\"static/chunks/6925-5033fd5c18d1b098.js\",\"2445\",\"static/chunks/app/(dashboard)/settings/logging-and-alerts/page-fbd6567403327835.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"settings\",\"logging-and-alerts\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"settings\",{\"children\":[\"logging-and-alerts\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"settings\",{\"children\":[\"logging-and-alerts\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"settings\",\"children\",\"logging-and-alerts\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"settings\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
diff --git a/litellm/proxy/_experimental/out/settings/logging-and-alerts.txt b/litellm/proxy/_experimental/out/settings/logging-and-alerts.txt
index 28faf458b97..2cc79323f9d 100644
--- a/litellm/proxy/_experimental/out/settings/logging-and-alerts.txt
+++ b/litellm/proxy/_experimental/out/settings/logging-and-alerts.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["logging-and-alerts",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["settings",{"children":["logging-and-alerts",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","logging-and-alerts","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["logging-and-alerts",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["settings",{"children":["logging-and-alerts",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","logging-and-alerts","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/settings/router-settings.html b/litellm/proxy/_experimental/out/settings/router-settings.html
index 286f492bfd6..0e0eba2c80e 100644
--- a/litellm/proxy/_experimental/out/settings/router-settings.html
+++ b/litellm/proxy/_experimental/out/settings/router-settings.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[14809,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"6433\",\"static/chunks/6433-c9b3a95c5de0b59f.js\",\"1223\",\"static/chunks/1223-de5e7e4f043a5233.js\",\"901\",\"static/chunks/901-34706ce91c6b582c.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"5809\",\"static/chunks/5809-1eb0022e0f1e4ee3.js\",\"8021\",\"static/chunks/app/(dashboard)/settings/router-settings/page-809b87a476c097d9.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"settings\",\"router-settings\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"settings\",{\"children\":[\"router-settings\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"settings\",{\"children\":[\"router-settings\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"settings\",\"children\",\"router-settings\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"settings\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[14809,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"6433\",\"static/chunks/6433-c9b3a95c5de0b59f.js\",\"1223\",\"static/chunks/1223-de5e7e4f043a5233.js\",\"901\",\"static/chunks/901-34706ce91c6b582c.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"5809\",\"static/chunks/5809-1eb0022e0f1e4ee3.js\",\"8021\",\"static/chunks/app/(dashboard)/settings/router-settings/page-809b87a476c097d9.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"settings\",\"router-settings\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"settings\",{\"children\":[\"router-settings\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"settings\",{\"children\":[\"router-settings\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"settings\",\"children\",\"router-settings\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"settings\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
diff --git a/litellm/proxy/_experimental/out/settings/router-settings.txt b/litellm/proxy/_experimental/out/settings/router-settings.txt
index ba2295f9652..6ac2f31fb8c 100644
--- a/litellm/proxy/_experimental/out/settings/router-settings.txt
+++ b/litellm/proxy/_experimental/out/settings/router-settings.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["router-settings",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["settings",{"children":["router-settings",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","router-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["router-settings",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["settings",{"children":["router-settings",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","router-settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/settings/ui-theme.html b/litellm/proxy/_experimental/out/settings/ui-theme.html
index eee846db819..de075e9e8a7 100644
--- a/litellm/proxy/_experimental/out/settings/ui-theme.html
+++ b/litellm/proxy/_experimental/out/settings/ui-theme.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[8719,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"3117\",\"static/chunks/app/(dashboard)/settings/ui-theme/page-cd03c4c8aa923d42.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"settings\",\"ui-theme\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"settings\",{\"children\":[\"ui-theme\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"settings\",{\"children\":[\"ui-theme\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"settings\",\"children\",\"ui-theme\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"settings\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[8719,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"3117\",\"static/chunks/app/(dashboard)/settings/ui-theme/page-cd03c4c8aa923d42.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"settings\",\"ui-theme\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"settings\",{\"children\":[\"ui-theme\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"settings\",{\"children\":[\"ui-theme\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"settings\",\"children\",\"ui-theme\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"settings\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
diff --git a/litellm/proxy/_experimental/out/settings/ui-theme.txt b/litellm/proxy/_experimental/out/settings/ui-theme.txt
index f931b4cbeda..48577ce3b34 100644
--- a/litellm/proxy/_experimental/out/settings/ui-theme.txt
+++ b/litellm/proxy/_experimental/out/settings/ui-theme.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["ui-theme",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["settings",{"children":["ui-theme",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","ui-theme","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["settings",{"children":["ui-theme",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["settings",{"children":["ui-theme",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children","ui-theme","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","settings","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/teams.txt b/litellm/proxy/_experimental/out/teams.txt
index f83752230bd..f8410f10672 100644
--- a/litellm/proxy/_experimental/out/teams.txt
+++ b/litellm/proxy/_experimental/out/teams.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["teams",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["teams",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","teams","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["teams",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["teams",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","teams","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/teams/index.html b/litellm/proxy/_experimental/out/teams/index.html
index c9d1038d893..55369236bc6 100644
--- a/litellm/proxy/_experimental/out/teams/index.html
+++ b/litellm/proxy/_experimental/out/teams/index.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[67578,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"6202\",\"static/chunks/6202-e6c424fe04dff54a.js\",\"7640\",\"static/chunks/7640-0474293166ede97c.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2004\",\"static/chunks/2004-2c0ea663e63e0a2f.js\",\"2012\",\"static/chunks/2012-a89637b8d4370e64.js\",\"9483\",\"static/chunks/app/(dashboard)/teams/page-57c224ececaab6e4.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSiz"])</script><script>self.__next_f.push([1,"e\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"teams\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"teams\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"teams\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"teams\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[67578,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"6202\",\"static/chunks/6202-e6c424fe04dff54a.js\",\"7640\",\"static/chunks/7640-0474293166ede97c.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2004\",\"static/chunks/2004-2c0ea663e63e0a2f.js\",\"2012\",\"static/chunks/2012-a89637b8d4370e64.js\",\"9483\",\"static/chunks/app/(dashboard)/teams/page-57c224ececaab6e4.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSiz"])</script><script>self.__next_f.push([1,"e\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"teams\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"teams\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"teams\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"teams\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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>
diff --git a/litellm/proxy/_experimental/out/test-key.txt b/litellm/proxy/_experimental/out/test-key.txt
index 957d3871d2a..f227ad986be 100644
--- a/litellm/proxy/_experimental/out/test-key.txt
+++ b/litellm/proxy/_experimental/out/test-key.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["test-key",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["test-key",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","test-key","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["test-key",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["test-key",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","test-key","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/test-key/index.html b/litellm/proxy/_experimental/out/test-key/index.html
index 9da917c37d8..63cc01066e3 100644
--- a/litellm/proxy/_experimental/out/test-key/index.html
+++ b/litellm/proxy/_experimental/out/test-key/index.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[38511,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"7906\",\"static/chunks/7906-11071e9e2e7b8318.js\",\"4851\",\"static/chunks/4851-fbdd7aec2937c09d.js\",\"6433\",\"static/chunks/6433-c9b3a95c5de0b59f.js\",\"9888\",\"static/chunks/9888-a0a2120c93674b5e.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"9681\",\"static/chunks/9681-49ea01accf85cac1.js\",\"2322\",\"static/chunks/app/(dashboard)/test-key/page-75f1f9f0f66b7303.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeig"])</script><script>self.__next_f.push([1,"ht\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"test-key\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"test-key\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"test-key\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"test-key\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[38511,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"7906\",\"static/chunks/7906-11071e9e2e7b8318.js\",\"4851\",\"static/chunks/4851-fbdd7aec2937c09d.js\",\"6433\",\"static/chunks/6433-c9b3a95c5de0b59f.js\",\"9888\",\"static/chunks/9888-a0a2120c93674b5e.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"9681\",\"static/chunks/9681-49ea01accf85cac1.js\",\"2322\",\"static/chunks/app/(dashboard)/test-key/page-75f1f9f0f66b7303.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeig"])</script><script>self.__next_f.push([1,"ht\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"test-key\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"test-key\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"test-key\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"test-key\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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>
diff --git a/litellm/proxy/_experimental/out/tools/mcp-servers.html b/litellm/proxy/_experimental/out/tools/mcp-servers.html
index 5e79d3a0394..cd687ca1d5b 100644
--- a/litellm/proxy/_experimental/out/tools/mcp-servers.html
+++ b/litellm/proxy/_experimental/out/tools/mcp-servers.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[45045,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"3669\",\"static/chunks/3669-cbf664b1e9c58f8a.js\",\"1264\",\"static/chunks/1264-2979d95e0b56a75c.js\",\"4851\",\"static/chunks/4851-fbdd7aec2937c09d.js\",\"3866\",\"static/chunks/3866-e3419825a249263f.js\",\"6836\",\"static/chunks/6836-e30124a71aafae62.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"1307\",\"static/chunks/1307-6bc3bb770f5b2b05.js\",\"6940\",\"static/chunks/app/(dashboard)/tools/mcp-servers/page-ea43fa564859be67.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px"])</script><script>self.__next_f.push([1," 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"tools\",\"mcp-servers\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"tools\",{\"children\":[\"mcp-servers\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"tools\",{\"children\":[\"mcp-servers\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"tools\",\"children\",\"mcp-servers\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"tools\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[45045,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"3669\",\"static/chunks/3669-cbf664b1e9c58f8a.js\",\"1264\",\"static/chunks/1264-2979d95e0b56a75c.js\",\"4851\",\"static/chunks/4851-fbdd7aec2937c09d.js\",\"3866\",\"static/chunks/3866-e3419825a249263f.js\",\"6836\",\"static/chunks/6836-e30124a71aafae62.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"1307\",\"static/chunks/1307-6bc3bb770f5b2b05.js\",\"6940\",\"static/chunks/app/(dashboard)/tools/mcp-servers/page-ea43fa564859be67.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px"])</script><script>self.__next_f.push([1," 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"tools\",\"mcp-servers\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"tools\",{\"children\":[\"mcp-servers\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"tools\",{\"children\":[\"mcp-servers\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"tools\",\"children\",\"mcp-servers\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"tools\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
diff --git a/litellm/proxy/_experimental/out/tools/mcp-servers.txt b/litellm/proxy/_experimental/out/tools/mcp-servers.txt
index cda6a4b898e..b86358cfe8e 100644
--- a/litellm/proxy/_experimental/out/tools/mcp-servers.txt
+++ b/litellm/proxy/_experimental/out/tools/mcp-servers.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["tools",{"children":["mcp-servers",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["tools",{"children":["mcp-servers",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","tools","children","mcp-servers","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","tools","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["tools",{"children":["mcp-servers",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["tools",{"children":["mcp-servers",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","tools","children","mcp-servers","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","tools","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/tools/vector-stores.html b/litellm/proxy/_experimental/out/tools/vector-stores.html
index cbd49434493..8b71a27331e 100644
--- a/litellm/proxy/_experimental/out/tools/vector-stores.html
+++ b/litellm/proxy/_experimental/out/tools/vector-stores.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[77438,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"3669\",\"static/chunks/3669-cbf664b1e9c58f8a.js\",\"8791\",\"static/chunks/8791-b95bd7fdd710a85d.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"6204\",\"static/chunks/6204-0d389019484112ee.js\",\"6248\",\"static/chunks/app/(dashboard)/tools/vector-stores/page-2328f69d3f2d2907.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"tools\",\"vector-stores\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"tools\",{\"children\":[\"vector-stores\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"tools\",{\"children\":[\"vector-stores\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"tools\",\"children\",\"vector-stores\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"tools\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[77438,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"3669\",\"static/chunks/3669-cbf664b1e9c58f8a.js\",\"8791\",\"static/chunks/8791-b95bd7fdd710a85d.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"6204\",\"static/chunks/6204-0d389019484112ee.js\",\"6248\",\"static/chunks/app/(dashboard)/tools/vector-stores/page-2328f69d3f2d2907.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"tools\",\"vector-stores\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"tools\",{\"children\":[\"vector-stores\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"tools\",{\"children\":[\"vector-stores\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"tools\",\"children\",\"vector-stores\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"tools\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
diff --git a/litellm/proxy/_experimental/out/tools/vector-stores.txt b/litellm/proxy/_experimental/out/tools/vector-stores.txt
index af53a18a4e4..1062ed2e051 100644
--- a/litellm/proxy/_experimental/out/tools/vector-stores.txt
+++ b/litellm/proxy/_experimental/out/tools/vector-stores.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["tools",{"children":["vector-stores",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["tools",{"children":["vector-stores",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","tools","children","vector-stores","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","tools","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["tools",{"children":["vector-stores",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["tools",{"children":["vector-stores",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","tools","children","vector-stores","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","tools","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/usage.txt b/litellm/proxy/_experimental/out/usage.txt
index 2310991bcc9..25bde22ebc3 100644
--- a/litellm/proxy/_experimental/out/usage.txt
+++ b/litellm/proxy/_experimental/out/usage.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["usage",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["usage",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","usage","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["usage",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["usage",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","usage","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/usage/index.html b/litellm/proxy/_experimental/out/usage/index.html
index 4d3f667a746..dba2b287f08 100644
--- a/litellm/proxy/_experimental/out/usage/index.html
+++ b/litellm/proxy/_experimental/out/usage/index.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[26661,[\"6990\",\"static/chunks/13b76428-e1bf383848c17260.js\",\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"5188\",\"static/chunks/5188-0e9d5e6db19ac9e6.js\",\"6202\",\"static/chunks/6202-e6c424fe04dff54a.js\",\"2344\",\"static/chunks/2344-169e12738d6439ab.js\",\"5105\",\"static/chunks/5105-eb18802ec448789d.js\",\"4851\",\"static/chunks/4851-fbdd7aec2937c09d.js\",\"1160\",\"static/chunks/1160-3efb81c958413447.js\",\"3250\",\"static/chunks/3250-3256164511237d25.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2202\",\"static/chunks/2202-e8124587d6b0e623.js\",\"874\",\"static/chunks/874-e84ea35ec9a8042c.js\",\"4292\",\"static/chunks/4292-54c3f53dfd64063a.js\",\"2306\",\"static/chunks/2306-c9a553b697103491.js\",\"4746\",\"static/chunks/app/(dashboard)/usage/page-9aed9cd088ea236d.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991"])</script><script>self.__next_f.push([1,"542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"usage\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"usage\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"usage\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"usage\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[26661,[\"6990\",\"static/chunks/13b76428-e1bf383848c17260.js\",\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"5188\",\"static/chunks/5188-0e9d5e6db19ac9e6.js\",\"6202\",\"static/chunks/6202-e6c424fe04dff54a.js\",\"2344\",\"static/chunks/2344-169e12738d6439ab.js\",\"5105\",\"static/chunks/5105-eb18802ec448789d.js\",\"4851\",\"static/chunks/4851-fbdd7aec2937c09d.js\",\"1160\",\"static/chunks/1160-3efb81c958413447.js\",\"3250\",\"static/chunks/3250-3256164511237d25.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2202\",\"static/chunks/2202-e8124587d6b0e623.js\",\"874\",\"static/chunks/874-e84ea35ec9a8042c.js\",\"4292\",\"static/chunks/4292-54c3f53dfd64063a.js\",\"2306\",\"static/chunks/2306-c9a553b697103491.js\",\"4746\",\"static/chunks/app/(dashboard)/usage/page-9aed9cd088ea236d.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991"])</script><script>self.__next_f.push([1,"542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"usage\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"usage\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"usage\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"usage\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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>
diff --git a/litellm/proxy/_experimental/out/users.txt b/litellm/proxy/_experimental/out/users.txt
index c44741408a5..3f0a2c4c04b 100644
--- a/litellm/proxy/_experimental/out/users.txt
+++ b/litellm/proxy/_experimental/out/users.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["users",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["users",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","users","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["users",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["users",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","users","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/users/index.html b/litellm/proxy/_experimental/out/users/index.html
index a529631872b..bde61c20460 100644
--- a/litellm/proxy/_experimental/out/users/index.html
+++ b/litellm/proxy/_experimental/out/users/index.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[87654,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"5188\",\"static/chunks/5188-0e9d5e6db19ac9e6.js\",\"3669\",\"static/chunks/3669-cbf664b1e9c58f8a.js\",\"1264\",\"static/chunks/1264-2979d95e0b56a75c.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2202\",\"static/chunks/2202-e8124587d6b0e623.js\",\"7155\",\"static/chunks/7155-95101d73b2137e92.js\",\"7297\",\"static/chunks/app/(dashboard)/users/page-3366f0e81c296349.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"fontFamily\":\"system-ui,\\\"Segoe U"])</script><script>self.__next_f.push([1,"I\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"users\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"users\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"users\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"users\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[87654,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"5188\",\"static/chunks/5188-0e9d5e6db19ac9e6.js\",\"3669\",\"static/chunks/3669-cbf664b1e9c58f8a.js\",\"1264\",\"static/chunks/1264-2979d95e0b56a75c.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2202\",\"static/chunks/2202-e8124587d6b0e623.js\",\"7155\",\"static/chunks/7155-95101d73b2137e92.js\",\"7297\",\"static/chunks/app/(dashboard)/users/page-3366f0e81c296349.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853dc598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"fontFamily\":\"system-ui,\\\"Segoe U"])</script><script>self.__next_f.push([1,"I\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"users\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"users\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"users\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"users\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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>
diff --git a/litellm/proxy/_experimental/out/virtual-keys.txt b/litellm/proxy/_experimental/out/virtual-keys.txt
index dee1b3f50e1..36ca10b4c90 100644
--- a/litellm/proxy/_experimental/out/virtual-keys.txt
+++ b/litellm/proxy/_experimental/out/virtual-keys.txt
@@ -9,6 +9,6 @@
a:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
b:{"display":"inline-block"}
c:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
-0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["virtual-keys",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["virtual-keys",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","virtual-keys","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],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/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
+0:["HJ-3T7pZxIFnXkBv06NZY",[[["",{"children":["(dashboard)",{"children":["virtual-keys",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(dashboard)",{"children":["virtual-keys",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children","virtual-keys","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(dashboard)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/349654da14372cd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1c856b","children":["$","$L8",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$9","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":"$a","children":"404"}],["$","div",null,{"style":"$b","children":["$","h2",null,{"style":"$c","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]],null],null],["$Ld",null]]]]
d:[["$","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"}]]
1:null
diff --git a/litellm/proxy/_experimental/out/virtual-keys/index.html b/litellm/proxy/_experimental/out/virtual-keys/index.html
index 2ce32d353f0..5d937fc4e6e 100644
--- a/litellm/proxy/_experimental/out/virtual-keys/index.html
+++ b/litellm/proxy/_experimental/out/virtual-keys/index.html
@@ -1 +1 @@
-<!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-db32e14ed3b4a921.js"/><script src="/litellm-asset-prefix/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/litellm-asset-prefix/_next/static/chunks/main-app-1547e82c186a7d1e.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-db32e14ed3b4a921.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/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[2425,[\"3665\",\"static/chunks/3014691f-702e24806fe9cec4.js\",\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"5188\",\"static/chunks/5188-0e9d5e6db19ac9e6.js\",\"6202\",\"static/chunks/6202-e6c424fe04dff54a.js\",\"1264\",\"static/chunks/1264-2979d95e0b56a75c.js\",\"17\",\"static/chunks/17-782feb91c41095ca.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2202\",\"static/chunks/2202-e8124587d6b0e623.js\",\"874\",\"static/chunks/874-e84ea35ec9a8042c.js\",\"4292\",\"static/chunks/4292-54c3f53dfd64063a.js\",\"1739\",\"static/chunks/1739-f276f8d8fca7b189.js\",\"7049\",\"static/chunks/app/(dashboard)/virtual-keys/page-15df26725075ef4b.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853d"])</script><script>self.__next_f.push([1,"c598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/litellm-asset-prefix\",\"urlParts\":[\"\",\"virtual-keys\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"virtual-keys\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"virtual-keys\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"virtual-keys\",\"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/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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 file
+<!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="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.js"/><script src="/my-custom-path/_next/static/chunks/fd9d1056-64e84c4092e0c5d7.js" async=""></script><script src="/my-custom-path/_next/static/chunks/2117-2da5ec8fad6a6c25.js" async=""></script><script src="/my-custom-path/_next/static/chunks/main-app-1547e82c186a7d1e.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="/my-custom-path/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><script src="/my-custom-path/_next/static/chunks/webpack-db32e14ed3b4a921.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[\"/my-custom-path/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"style\"]\n3:HL[\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"4:I[12846,[],\"\"]\n6:I[19107,[],\"ClientPageRoot\"]\n7:I[2425,[\"3665\",\"static/chunks/3014691f-702e24806fe9cec4.js\",\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"2417\",\"static/chunks/2417-b28f330f82bf4a82.js\",\"2926\",\"static/chunks/2926-b5dcad9f62f5e2b1.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"9775\",\"static/chunks/9775-ac7313139c5f089d.js\",\"2525\",\"static/chunks/2525-13b137f40949dcf1.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"2284\",\"static/chunks/2284-4cbc9a7f33eb7c89.js\",\"7908\",\"static/chunks/7908-07a76cfe29c543c9.js\",\"9011\",\"static/chunks/9011-0769cb78a6e5f233.js\",\"9678\",\"static/chunks/9678-c633432ec1f8c65a.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"5319\",\"static/chunks/5319-43bd4ee5bb7e50d1.js\",\"1853\",\"static/chunks/1853-fa2eb7102429db88.js\",\"7281\",\"static/chunks/7281-41cef56aa2b3df92.js\",\"6494\",\"static/chunks/6494-7124dea6b90175e7.js\",\"5188\",\"static/chunks/5188-0e9d5e6db19ac9e6.js\",\"6202\",\"static/chunks/6202-e6c424fe04dff54a.js\",\"1264\",\"static/chunks/1264-2979d95e0b56a75c.js\",\"17\",\"static/chunks/17-782feb91c41095ca.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"131\",\"static/chunks/131-c81f5bdfaae941cf.js\",\"2202\",\"static/chunks/2202-e8124587d6b0e623.js\",\"874\",\"static/chunks/874-e84ea35ec9a8042c.js\",\"4292\",\"static/chunks/4292-54c3f53dfd64063a.js\",\"1739\",\"static/chunks/1739-f276f8d8fca7b189.js\",\"7049\",\"static/chunks/app/(dashboard)/virtual-keys/page-15df26725075ef4b.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[36423,[],\"\"]\na:I[89219,[\"9820\",\"static/chunks/9820-b0722f821c1af1ee.js\",\"1491\",\"static/chunks/1491-8280340b5391aa11.js\",\"1526\",\"static/chunks/1526-8e2976ed10cb2fa0.js\",\"3709\",\"static/chunks/3709-b17db86e0ab325d2.js\",\"1529\",\"static/chunks/1529-e0933e3af843b646.js\",\"3603\",\"static/chunks/3603-b101c17ea3d68f19.js\",\"9165\",\"static/chunks/9165-2a738a73d0d5f1d1.js\",\"8098\",\"static/chunks/8098-3da3212991542668.js\",\"8049\",\"static/chunks/8049-26a565b2b753c5e8.js\",\"2019\",\"static/chunks/2019-f91b853d"])</script><script>self.__next_f.push([1,"c598350e.js\",\"5642\",\"static/chunks/app/(dashboard)/layout-82c7908c502096ef.js\"],\"default\",1]\nc:I[31857,[\"3185\",\"static/chunks/app/layout-6d8e06b275ad8577.js\"],\"FeatureFlagsProvider\"]\n12:I[61060,[],\"\"]\nb:{}\nd:{\"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\"}\ne:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nf:{\"display\":\"inline-block\"}\n10:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n13:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L4\",null,{\"buildId\":\"HJ-3T7pZxIFnXkBv06NZY\",\"assetPrefix\":\"/my-custom-path\",\"urlParts\":[\"\",\"virtual-keys\"],\"initialTree\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"virtual-keys\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(dashboard)\",{\"children\":[\"virtual-keys\",{\"children\":[\"__PAGE__\",{},[[\"$L5\",[\"$\",\"$L6\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$7\"}],null],null],null]},[null,[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(dashboard)\",\"children\",\"virtual-keys\",\"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\":\"/my-custom-path/_next/static/css/349654da14372cd9.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/my-custom-path/_next/static/css/39bc5c75b4e5b054.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1c856b\",\"children\":[\"$\",\"$Lc\",null,{\"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\":\"$d\",\"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\":\"$e\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$10\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L11\"],\"globalErrorComponent\":\"$12\",\"missingSlots\":\"$W13\"}]\n"])</script><script>self.__next_f.push([1,"11:[[\"$\",\"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>
diff --git a/litellm/proxy/_new_secret_config.yaml b/litellm/proxy/_new_secret_config.yaml
index b22aa856749..318cb56619b 100644
--- a/litellm/proxy/_new_secret_config.yaml
+++ b/litellm/proxy/_new_secret_config.yaml
@@ -9,21 +9,21 @@ model_list:
api_key: os.environ/AZURE_API_KEY
api_version: "2025-09-01"
-vector_store_registry:
- - vector_store_name: "azure-ai-search-litellm-website-knowledgebase"
+guardrails:
+ - guardrail_name: "enkryptai-guard"
litellm_params:
- vector_store_id: "test-litellm-app_1761094730750"
- custom_llm_provider: "azure_ai"
- litellm_embedding_model: "azure/text-embedding-3-large"
- litellm_embedding_config:
- api_base: https://krris-mh44uf7y-eastus2.cognitiveservices.azure.com/
- api_key: os.environ/AZURE_API_KEY
- api_version: "2025-09-01"
-mcp_servers:
- local_fake_mcp:
- url: "http://127.0.0.1:8001/mcp"
- transport: "http"
- description: "My custom MCP server"
- auth_type: "api_key"
- auth_value: "abc123"
- static_headers: {"X-API-Key": "abc123"}
+ guardrail: enkryptai
+ mode: "pre_call"
+ api_key: os.environ/ENKRYPTAI_API_KEY
+ default_on: true
+ policy_name: "Sample Airline Guardrail"
+ detectors:
+ toxicity:
+ enabled: true
+ nsfw:
+ enabled: true
+ pii:
+ enabled: true
+ entities: ["email", "phone", "secrets"]
+ injection_attack:
+ enabled: true
diff --git a/litellm/proxy/guardrails/guardrail_hooks/enkryptai/enkryptai.py b/litellm/proxy/guardrails/guardrail_hooks/enkryptai/enkryptai.py
index bbff5419374..9ffb243d229 100644
--- a/litellm/proxy/guardrails/guardrail_hooks/enkryptai/enkryptai.py
+++ b/litellm/proxy/guardrails/guardrail_hooks/enkryptai/enkryptai.py
@@ -7,15 +7,7 @@
import os
from datetime import datetime
-from typing import (
- Any,
- AsyncGenerator,
- Dict,
- List,
- Literal,
- Optional,
- Union,
-)
+from typing import Any, AsyncGenerator, Dict, List, Literal, Optional, Union
import httpx
@@ -28,7 +20,7 @@ from litellm.llms.custom_httpx.http_handler import (
httpxSpecialProvider,
)
from litellm.proxy._types import UserAPIKeyAuth
-from litellm.types.guardrails import GuardrailEventHooks
+from litellm.types.guardrails import GuardrailEventHooks, PiiEntityType
from litellm.types.proxy.guardrails.guardrail_hooks.enkryptai import (
EnkryptAIProcessedResult,
EnkryptAIResponse,
@@ -50,24 +42,24 @@ class EnkryptAIGuardrails(CustomGuardrail):
self.async_handler = get_async_httpx_client(
llm_provider=httpxSpecialProvider.GuardrailCallback
)
-
+
# Set API configuration
self.api_key = api_key or os.getenv("ENKRYPTAI_API_KEY")
if not self.api_key:
raise ValueError(
"EnkryptAI API key is required. Set ENKRYPTAI_API_KEY environment variable or pass api_key parameter."
)
-
+
self.api_base = api_base or os.getenv(
"ENKRYPTAI_API_BASE", "https://api.enkryptai.com"
)
self.api_url = f"{self.api_base}/guardrails/policy/detect"
-
+
# Policy name can be passed as parameter or use guardrail_name
self.policy_name = policy_name
self.guardrail_name = guardrail_name
self.guardrail_provider = "enkryptai"
-
+
# store kwargs as optional_params
self.optional_params = kwargs
@@ -94,36 +86,36 @@ class EnkryptAIGuardrails(CustomGuardrail):
) -> EnkryptAIResponse:
"""
Call Enkrypt AI Guardrails API to detect potential issues in the given prompt.
-
+
Args:
prompt (str): The text to analyze for potential violations
request_data (dict): Optional request data for logging purposes
-
+
Returns:
EnkryptAIResponse: Response from the Enkrypt AI Guardrails API
"""
start_time = datetime.now()
-
- payload = {
- "text": prompt
- }
-
- headers = {
- "Content-Type": "application/json",
- "apikey": self.api_key
- }
-
+
+ payload = {"text": prompt}
+
+ headers = {"Content-Type": "application/json", "apikey": self.api_key}
+
# Add policy header if policy_name is set
if self.policy_name:
headers["x-enkrypt-policy"] = self.policy_name
-
+
verbose_proxy_logger.debug(
"EnkryptAI request to %s with payload: %s",
self.api_url,
payload,
)
-
+
try:
+ verbose_proxy_logger.debug(
+ "EnkryptAI request to %s with payload: %s",
+ self.api_url,
+ payload,
+ )
response = await self.async_handler.post(
url=self.api_url,
json=payload,
@@ -131,10 +123,16 @@ class EnkryptAIGuardrails(CustomGuardrail):
)
response.raise_for_status()
response_json = response.json()
-
+
end_time = datetime.now()
duration = (end_time - start_time).total_seconds()
-
+
+ verbose_proxy_logger.debug(
+ "EnkryptAI response from %s with payload: %s",
+ self.api_url,
+ response_json,
+ )
+
# Add guardrail information to request trace
if request_data:
guardrail_status = self._determine_guardrail_status(response_json)
@@ -147,17 +145,15 @@ class EnkryptAIGuardrails(CustomGuardrail):
end_time=end_time.timestamp(),
duration=duration,
)
-
+
return response_json
-
+
except httpx.HTTPError as e:
end_time = datetime.now()
duration = (end_time - start_time).total_seconds()
-
- verbose_proxy_logger.error(
- "EnkryptAI API request failed: %s", str(e)
- )
-
+
+ verbose_proxy_logger.error("EnkryptAI API request failed: %s", str(e))
+
# Add guardrail information with failure status
if request_data:
self.add_standard_logging_guardrail_information_to_request_data(
@@ -169,7 +165,7 @@ class EnkryptAIGuardrails(CustomGuardrail):
end_time=end_time.timestamp(),
duration=duration,
)
-
+
raise
def _process_enkryptai_guardrails_response(
@@ -177,19 +173,19 @@ class EnkryptAIGuardrails(CustomGuardrail):
) -> EnkryptAIProcessedResult:
"""
Process the response from the Enkrypt AI Guardrails API
-
+
Args:
response: The response from the API with 'summary' and 'details' keys
-
+
Returns:
EnkryptAIProcessedResult: Processed response with detected attacks and their details
"""
summary = response.get("summary", {})
details = response.get("details", {})
-
+
detected_attacks: List[str] = []
attack_details: Dict[str, Any] = {}
-
+
for key, value in summary.items():
# Check if attack is detected
# For toxicity, it's a list (non-empty list means detected)
@@ -202,18 +198,15 @@ class EnkryptAIGuardrails(CustomGuardrail):
if value == 1:
detected_attacks.append(key)
attack_details[key] = details.get(key, {})
-
- return {
- "attacks_detected": detected_attacks,
- "attack_details": attack_details
- }
+
+ return {"attacks_detected": detected_attacks, "attack_details": attack_details}
def _determine_guardrail_status(
self, response_json: EnkryptAIResponse
) -> GuardrailStatus:
"""
Determine the guardrail status based on EnkryptAI API response.
-
+
Returns:
"success": Content allowed through with no violations
"guardrail_intervened": Content blocked due to policy violations
@@ -222,16 +215,18 @@ class EnkryptAIGuardrails(CustomGuardrail):
try:
if not isinstance(response_json, dict):
return "guardrail_failed_to_respond"
-
+
# Process the response to check for violations
- processed_result = self._process_enkryptai_guardrails_response(response_json)
+ processed_result = self._process_enkryptai_guardrails_response(
+ response_json
+ )
attacks_detected = processed_result["attacks_detected"]
-
+
if attacks_detected:
return "guardrail_intervened"
-
+
return "success"
-
+
except Exception as e:
verbose_proxy_logger.error(
"Error determining EnkryptAI guardrail status: %s", str(e)
@@ -241,22 +236,24 @@ class EnkryptAIGuardrails(CustomGuardrail):
def _create_error_message(self, processed_result: EnkryptAIProcessedResult) -> str:
"""
Create a detailed error message from processed guardrail results.
-
+
Args:
processed_result: Processed response with detected attacks and their details
-
+
Returns:
Formatted error message string
"""
attacks_detected = processed_result["attacks_detected"]
attack_details = processed_result["attack_details"]
-
- error_message = f"Guardrail failed: {len(attacks_detected)} violation(s) detected\n\n"
-
+
+ error_message = (
+ f"Guardrail failed: {len(attacks_detected)} violation(s) detected\n\n"
+ )
+
for attack_type in attacks_detected:
error_message += f"- {attack_type.upper()}:\n"
details = attack_details.get(attack_type, {})
-
+
# Format details based on attack type
if attack_type == "policy_violation":
error_message += f" Policy: {details.get('violating_policy', 'N/A')}\n"
@@ -264,16 +261,22 @@ class EnkryptAIGuardrails(CustomGuardrail):
elif attack_type == "pii":
error_message += f" PII Detected: {details.get('pii', {})}\n"
elif attack_type == "toxicity":
- toxic_types = [k for k, v in details.items() if isinstance(v, (int, float)) and v > 0.5]
+ toxic_types = [
+ k
+ for k, v in details.items()
+ if isinstance(v, (int, float)) and v > 0.5
+ ]
error_message += f" Types: {', '.join(toxic_types)}\n"
elif attack_type == "keyword_detected":
error_message += f" Keywords: {details.get('detected_keywords', [])}\n"
elif attack_type == "bias":
- error_message += f" Bias Detected: {details.get('bias_detected', False)}\n"
+ error_message += (
+ f" Bias Detected: {details.get('bias_detected', False)}\n"
+ )
else:
error_message += f" Details: {details}\n"
error_message += "\n"
-
+
return error_message.strip()
async def async_pre_call_hook(
@@ -319,10 +322,14 @@ class EnkryptAIGuardrails(CustomGuardrail):
request_data=data,
)
- verbose_proxy_logger.debug("Guardrails async_pre_call_hook result: %s", result)
+ verbose_proxy_logger.debug(
+ "Guardrails async_pre_call_hook result: %s", result
+ )
# Process the guardrails response
- processed_result = self._process_enkryptai_guardrails_response(result)
+ processed_result = self._process_enkryptai_guardrails_response(
+ result
+ )
attacks_detected = processed_result["attacks_detected"]
# If any attacks are detected, raise an error
@@ -334,7 +341,7 @@ class EnkryptAIGuardrails(CustomGuardrail):
add_guardrail_to_applied_guardrails_header(
request_data=data, guardrail_name=self.guardrail_name
)
-
+
return data
async def async_moderation_hook(
@@ -376,10 +383,14 @@ class EnkryptAIGuardrails(CustomGuardrail):
request_data=data,
)
- verbose_proxy_logger.debug("Guardrails async_moderation_hook result: %s", result)
+ verbose_proxy_logger.debug(
+ "Guardrails async_moderation_hook result: %s", result
+ )
# Process the guardrails response
- processed_result = self._process_enkryptai_guardrails_response(result)
+ processed_result = self._process_enkryptai_guardrails_response(
+ result
+ )
attacks_detected = processed_result["attacks_detected"]
# If any attacks are detected, raise an error
@@ -420,18 +431,22 @@ class EnkryptAIGuardrails(CustomGuardrail):
):
return
- verbose_proxy_logger.debug("async_post_call_success_hook response: %s", response)
-
+ verbose_proxy_logger.debug(
+ "async_post_call_success_hook response: %s", response
+ )
+
# Check if the ModelResponse has text content in its choices
# to avoid sending empty content to EnkryptAI (e.g., during tool calls)
if isinstance(response, litellm.ModelResponse):
has_text_content = False
for choice in response.choices:
if isinstance(choice, litellm.Choices):
- if choice.message.content and isinstance(choice.message.content, str):
+ if choice.message.content and isinstance(
+ choice.message.content, str
+ ):
has_text_content = True
break
-
+
if not has_text_content:
verbose_proxy_logger.warning(
"EnkryptAI: not running guardrail. No output text in response"
@@ -440,17 +455,25 @@ class EnkryptAIGuardrails(CustomGuardrail):
for choice in response.choices:
if isinstance(choice, litellm.Choices):
- verbose_proxy_logger.debug("async_post_call_success_hook choice: %s", choice)
- if choice.message.content and isinstance(choice.message.content, str):
+ verbose_proxy_logger.debug(
+ "async_post_call_success_hook choice: %s", choice
+ )
+ if choice.message.content and isinstance(
+ choice.message.content, str
+ ):
result = await self._call_enkryptai_guardrails(
prompt=choice.message.content,
request_data=data,
)
- verbose_proxy_logger.debug("Guardrails async_post_call_success_hook result: %s", result)
+ verbose_proxy_logger.debug(
+ "Guardrails async_post_call_success_hook result: %s", result
+ )
# Process the guardrails response
- processed_result = self._process_enkryptai_guardrails_response(result)
+ processed_result = self._process_enkryptai_guardrails_response(
+ result
+ )
attacks_detected = processed_result["attacks_detected"]
# If any attacks are detected, raise an error
@@ -463,6 +486,27 @@ class EnkryptAIGuardrails(CustomGuardrail):
request_data=data, guardrail_name=self.guardrail_name
)
+ async def apply_guardrail(
+ self,
+ text: str,
+ language: Optional[str] = None,
+ entities: Optional[List[PiiEntityType]] = None,
+ ) -> str:
+ result = await self._call_enkryptai_guardrails(
+ prompt=text,
+ request_data={},
+ )
+ # Process the guardrails response
+ processed_result = self._process_enkryptai_guardrails_response(result)
+ attacks_detected = processed_result["attacks_detected"]
+
+ # If any attacks are detected, raise an error
+ if attacks_detected:
+ error_message = self._create_error_message(processed_result)
+ raise ValueError(error_message)
+
+ return text
+
async def async_post_call_streaming_iterator_hook(
self,
user_api_key_dict: UserAPIKeyAuth,
@@ -488,4 +532,3 @@ class EnkryptAIGuardrails(CustomGuardrail):
)
return EnkryptAIGuardrailConfigModel
-
diff --git a/litellm/proxy/guardrails/guardrail_hooks/presidio.py b/litellm/proxy/guardrails/guardrail_hooks/presidio.py
index 23c73098c49..2b436681a8e 100644
--- a/litellm/proxy/guardrails/guardrail_hooks/presidio.py
+++ b/litellm/proxy/guardrails/guardrail_hooks/presidio.py
@@ -11,16 +11,7 @@
import asyncio
import json
from datetime import datetime
-from typing import (
- Any,
- AsyncGenerator,
- Dict,
- List,
- Optional,
- Tuple,
- Union,
- cast,
-)
+from typing import Any, AsyncGenerator, Dict, List, Optional, Tuple, Union, cast
import aiohttp
@@ -403,9 +394,15 @@ class _OPTIONAL_PresidioPIIMasking(CustomGuardrail):
content_safety = data.get("content_safety", None)
verbose_proxy_logger.debug("content_safety: %s", content_safety)
presidio_config = self.get_presidio_settings_from_request_data(data)
- messages = data["messages"]
+ messages = data.get("messages", None)
+ if messages is None:
+ return data
tasks = []
- for m in messages:
+ task_mappings: List[Tuple[int, Optional[int]]] = (
+ []
+ ) # Track (message_index, content_index) for each task
+
+ for msg_idx, m in enumerate(messages):
content = m.get("content", None)
if content is None:
continue
@@ -418,15 +415,41 @@ class _OPTIONAL_PresidioPIIMasking(CustomGuardrail):
request_data=data,
)
)
+ task_mappings.append(
+ (msg_idx, None)
+ ) # None indicates string content
+ elif isinstance(content, list):
+ for content_idx, c in enumerate(content):
+ text_str = c.get("text", None)
+ if text_str is None:
+ continue
+ tasks.append(
+ self.check_pii(
+ text=text_str,
+ output_parse_pii=self.output_parse_pii,
+ presidio_config=presidio_config,
+ request_data=data,
+ )
+ )
+ task_mappings.append((msg_idx, int(content_idx)))
+
responses = await asyncio.gather(*tasks)
- for index, r in enumerate(responses):
- content = messages[index].get("content", None)
+
+ # Map responses back to the correct message and content item
+ for task_idx, r in enumerate(responses):
+ mapping = task_mappings[task_idx]
+ msg_idx = cast(int, mapping[0])
+ content_idx_optional = cast(Optional[int], mapping[1])
+ content = messages[msg_idx].get("content", None)
if content is None:
continue
- if isinstance(content, str):
- messages[index][
+ if isinstance(content, str) and content_idx_optional is None:
+ messages[msg_idx][
"content"
] = r # replace content with redacted string
+ elif isinstance(content, list) and content_idx_optional is not None:
+ messages[msg_idx]["content"][content_idx_optional]["text"] = r
+
verbose_proxy_logger.debug(
f"Presidio PII Masking: Redacted pii message: {data['messages']}"
)
@@ -478,36 +501,63 @@ class _OPTIONAL_PresidioPIIMasking(CustomGuardrail):
): # /chat/completions requests
messages: Optional[List] = kwargs.get("messages", None)
tasks = []
+ task_mappings: List[Tuple[int, Optional[int]]] = (
+ []
+ ) # Track (message_index, content_index) for each task
if messages is None:
return kwargs, result
presidio_config = self.get_presidio_settings_from_request_data(kwargs)
- for m in messages:
- text_str = ""
+ for msg_idx, m in enumerate(messages):
content = m.get("content", None)
if content is None:
continue
if isinstance(content, str):
- text_str = content
tasks.append(
self.check_pii(
- text=text_str,
+ text=content,
output_parse_pii=False,
presidio_config=presidio_config,
request_data=kwargs,
)
) # need to pass separately b/c presidio has context window limits
+ task_mappings.append(
+ (msg_idx, None)
+ ) # None indicates string content
+ elif isinstance(content, list):
+ for content_idx, c in enumerate(content):
+ text_str = c.get("text", None)
+ if text_str is None:
+ continue
+ tasks.append(
+ self.check_pii(
+ text=text_str,
+ output_parse_pii=False,
+ presidio_config=presidio_config,
+ request_data=kwargs,
+ )
+ )
+ task_mappings.append((msg_idx, int(content_idx)))
+
responses = await asyncio.gather(*tasks)
- for index, r in enumerate(responses):
- content = messages[index].get("content", None)
+
+ # Map responses back to the correct message and content item
+ for task_idx, r in enumerate(responses):
+ mapping = task_mappings[task_idx]
+ msg_idx = cast(int, mapping[0])
+ content_idx_optional = cast(Optional[int], mapping[1])
+ content = messages[msg_idx].get("content", None)
if content is None:
continue
- if isinstance(content, str):
- messages[index][
+ if isinstance(content, str) and content_idx_optional is None:
+ messages[msg_idx][
"content"
] = r # replace content with redacted string
+ elif isinstance(content, list) and content_idx_optional is not None:
+ messages[msg_idx]["content"][content_idx_optional]["text"] = r
+
verbose_proxy_logger.debug(
f"Presidio PII Masking: Redacted pii message: {messages}"
)
diff --git a/litellm/proxy/guardrails/guardrail_hooks/unified_guardrail/__init__.py b/litellm/proxy/guardrails/guardrail_hooks/unified_guardrail/__init__.py
new file mode 100644
index 00000000000..574b1902f75
--- /dev/null
+++ b/litellm/proxy/guardrails/guardrail_hooks/unified_guardrail/__init__.py
@@ -0,0 +1,11 @@
+from litellm.llms.openai.chat.guardrail_translation.handler import (
+ OpenAIChatCompletionsHandler,
+)
+from litellm.types.utils import CallTypes
+
+endpoint_translation_mappings = {
+ CallTypes.completion: OpenAIChatCompletionsHandler,
+ CallTypes.acompletion: OpenAIChatCompletionsHandler,
+}
+
+__all__ = ["endpoint_translation_mappings"]
diff --git a/litellm/proxy/guardrails/guardrail_hooks/unified_guardrail/unified_guardrail.py b/litellm/proxy/guardrails/guardrail_hooks/unified_guardrail/unified_guardrail.py
new file mode 100644
index 00000000000..0bd1589ed1e
--- /dev/null
+++ b/litellm/proxy/guardrails/guardrail_hooks/unified_guardrail/unified_guardrail.py
@@ -0,0 +1,187 @@
+"""
+Unified Guardrail, leveraging LiteLLM's /applyGuardrail endpoint
+
+1. Implements a way to call /applyGuardrail endpoint for `/chat/completions` + `/v1/messages` requests on async_pre_call_hook
+2. Implements a way to call /applyGuardrail endpoint for `/chat/completions` + `/v1/messages` requests on async_post_call_success_hook
+3. Implements a way to call /applyGuardrail endpoint for `/chat/completions` + `/v1/messages` requests on async_post_call_streaming_iterator_hook
+"""
+
+from typing import Any, AsyncGenerator, Literal, Union
+
+from litellm._logging import verbose_proxy_logger
+from litellm.caching.caching import DualCache
+from litellm.cost_calculator import _infer_call_type
+from litellm.integrations.custom_guardrail import CustomGuardrail
+from litellm.integrations.custom_logger import CustomLogger
+from litellm.llms import (
+ endpoint_guardrail_translation_mappings,
+ load_guardrail_translation_mappings,
+)
+from litellm.proxy._types import UserAPIKeyAuth
+from litellm.types.guardrails import GuardrailEventHooks
+from litellm.types.utils import CallTypes, ModelResponseStream
+
+GUARDRAIL_NAME = "unified_llm_guardrails"
+
+
+class UnifiedLLMGuardrails(CustomLogger):
+ def __init__(
+ self,
+ **kwargs,
+ ):
+
+ # store kwargs as optional_params
+ self.optional_params = kwargs
+
+ super().__init__(**kwargs)
+
+ verbose_proxy_logger.debug(
+ "UnifiedLLMGuardrails initialized with optional_params: %s",
+ self.optional_params,
+ )
+
+ async def async_pre_call_hook(
+ self,
+ user_api_key_dict: UserAPIKeyAuth,
+ cache: DualCache,
+ data: dict,
+ call_type: Literal[
+ "completion",
+ "text_completion",
+ "embeddings",
+ "image_generation",
+ "moderation",
+ "audio_transcription",
+ "pass_through_endpoint",
+ "rerank",
+ "mcp_call",
+ "anthropic_messages",
+ ],
+ ) -> Union[Exception, str, dict, None]:
+ """
+ Runs before the LLM API call
+ Runs on only Input
+ Use this if you want to MODIFY the input
+ """
+ global endpoint_guardrail_translation_mappings
+ from litellm.proxy.common_utils.callback_utils import (
+ add_guardrail_to_applied_guardrails_header,
+ )
+
+ verbose_proxy_logger.debug("Running UnifiedLLMGuardrails pre-call hook")
+
+ guardrail_to_apply: CustomGuardrail = data.pop("guardrail_to_apply", None)
+ if guardrail_to_apply is None:
+ return data
+
+ event_type: GuardrailEventHooks = GuardrailEventHooks.pre_call
+ if (
+ guardrail_to_apply.should_run_guardrail(data=data, event_type=event_type)
+ is not True
+ ):
+ verbose_proxy_logger.debug(
+ "UnifiedLLMGuardrails: Pre-call scanning disabled for %s",
+ guardrail_to_apply.guardrail_name,
+ )
+ return data
+
+ if endpoint_guardrail_translation_mappings is None:
+ endpoint_guardrail_translation_mappings = (
+ load_guardrail_translation_mappings()
+ )
+ if CallTypes(call_type) not in endpoint_guardrail_translation_mappings:
+ return data
+
+ endpoint_translation = endpoint_guardrail_translation_mappings[
+ CallTypes(call_type)
+ ]()
+
+ data = await endpoint_translation.process_input_messages(
+ data=data,
+ guardrail_to_apply=guardrail_to_apply,
+ )
+
+ # Add guardrail to applied guardrails header
+ add_guardrail_to_applied_guardrails_header(
+ request_data=data, guardrail_name=guardrail_to_apply.guardrail_name
+ )
+ return data
+
+ async def async_post_call_success_hook(
+ self,
+ data: dict,
+ user_api_key_dict: UserAPIKeyAuth,
+ response,
+ ) -> Any:
+ """
+ Runs on response from LLM API call
+
+ It can be used to reject a response
+
+ Uses Enkrypt AI guardrails to check the response for policy violations, PII, and injection attacks
+ """
+ global endpoint_guardrail_translation_mappings
+ from litellm.proxy.common_utils.callback_utils import (
+ add_guardrail_to_applied_guardrails_header,
+ )
+ from litellm.types.guardrails import GuardrailEventHooks
+
+ guardrail_to_apply: CustomGuardrail = data.pop("guardrail_to_apply", None)
+ if guardrail_to_apply is None:
+ return
+
+ if (
+ guardrail_to_apply.should_run_guardrail(
+ data=data, event_type=GuardrailEventHooks.post_call
+ )
+ is not True
+ ):
+ return
+
+ verbose_proxy_logger.debug(
+ "async_post_call_success_hook response: %s", response
+ )
+
+ call_type = _infer_call_type(call_type=None, completion_response=response)
+ if call_type is None:
+ return response
+
+ if endpoint_guardrail_translation_mappings is None:
+ endpoint_guardrail_translation_mappings = (
+ load_guardrail_translation_mappings()
+ )
+
+ if CallTypes(call_type) not in endpoint_guardrail_translation_mappings:
+ return response
+
+ endpoint_translation = endpoint_guardrail_translation_mappings[
+ CallTypes(call_type)
+ ]()
+
+ response = await endpoint_translation.process_output_response(
+ response=response, # type: ignore
+ guardrail_to_apply=guardrail_to_apply,
+ )
+ # Add guardrail to applied guardrails header
+ add_guardrail_to_applied_guardrails_header(
+ request_data=data, guardrail_name=guardrail_to_apply.guardrail_name
+ )
+ return response
+
+ async def async_post_call_streaming_iterator_hook(
+ self,
+ user_api_key_dict: UserAPIKeyAuth,
+ response: Any,
+ request_data: dict,
+ ) -> AsyncGenerator[ModelResponseStream, None]:
+ """
+ Passes the entire stream to the guardrail
+
+ This is useful for guardrails that need to see the entire response, such as PII masking.
+
+ See Aim guardrail implementation for an example - https://github.com/BerriAI/litellm/blob/d0e022cfacb8e9ebc5409bb652059b6fd97b45c0/litellm/proxy/guardrails/guardrail_hooks/aim.py#L168
+
+ Triggered by mode: 'post_call'
+ """
+ async for item in response:
+ yield item
diff --git a/litellm/proxy/utils.py b/litellm/proxy/utils.py
index 737856c00cf..168bc45c0c7 100644
--- a/litellm/proxy/utils.py
+++ b/litellm/proxy/utils.py
@@ -81,6 +81,9 @@ from litellm.proxy.db.create_views import (
from litellm.proxy.db.db_spend_update_writer import DBSpendUpdateWriter
from litellm.proxy.db.log_db_metrics import log_db_metrics
from litellm.proxy.db.prisma_client import PrismaWrapper
+from litellm.proxy.guardrails.guardrail_hooks.unified_guardrail.unified_guardrail import (
+ UnifiedLLMGuardrails,
+)
from litellm.proxy.hooks import PROXY_HOOKS, get_proxy_hook
from litellm.proxy.hooks.cache_control_check import _PROXY_CacheControlCheck
from litellm.proxy.hooks.max_budget_limiter import _PROXY_MaxBudgetLimiter
@@ -107,6 +110,9 @@ else:
Span = Any
+unified_guardrail = UnifiedLLMGuardrails()
+
+
def print_verbose(print_statement):
"""
Prints the given `print_statement` to the console if `litellm.set_verbose` is True.
@@ -785,6 +791,74 @@ class ProxyLogging:
raise HTTPException(status_code=400, detail={"error": response})
return data
+ async def _process_guardrail_callback(
+ self,
+ callback: CustomGuardrail,
+ data: dict,
+ user_api_key_dict: Optional[UserAPIKeyAuth],
+ call_type: Literal[
+ "completion",
+ "text_completion",
+ "embeddings",
+ "image_generation",
+ "moderation",
+ "audio_transcription",
+ "pass_through_endpoint",
+ "rerank",
+ "mcp_call",
+ "anthropic_messages",
+ ],
+ ) -> Optional[dict]:
+ """
+ Process a guardrail callback during pre-call hook.
+
+ Args:
+ callback: The CustomGuardrail callback to process
+ data: The request data dictionary
+ user_api_key_dict: User API key authentication details
+ call_type: The type of API call being made
+
+ Returns:
+ Updated data dictionary if guardrail passes, None if guardrail should be skipped
+ """
+ from litellm.types.guardrails import GuardrailEventHooks
+
+ # Determine the event type based on call type
+ event_type = GuardrailEventHooks.pre_call
+ if call_type == "mcp_call":
+ event_type = GuardrailEventHooks.pre_mcp_call
+
+ # Check if the guardrail should run for this request
+ if callback.should_run_guardrail(data=data, event_type=event_type) is not True:
+ return None
+
+ # Execute the appropriate guardrail hook
+ if "apply_guardrail" in type(callback).__dict__:
+ # Use unified guardrail for callbacks with apply_guardrail method
+ data["guardrail_to_apply"] = callback
+ response = await unified_guardrail.async_pre_call_hook(
+ user_api_key_dict=user_api_key_dict, # type: ignore
+ cache=self.call_details["user_api_key_cache"],
+ data=data, # type: ignore
+ call_type=call_type, # type: ignore
+ )
+ else:
+ # Use the callback's own async_pre_call_hook method
+ response = await callback.async_pre_call_hook(
+ user_api_key_dict=user_api_key_dict, # type: ignore
+ cache=self.call_details["user_api_key_cache"],
+ data=data, # type: ignore
+ call_type=call_type, # type: ignore
+ )
+
+ # Process the response if one was returned
+ if response is not None:
+ data = await self.process_pre_call_hook_response(
+ response=response, data=data, call_type=call_type
+ )
+
+ return data
+
# The actual implementation of the function
@overload
async def pre_call_hook(
@@ -912,28 +986,15 @@ class ProxyLogging:
else:
_callback = callback # type: ignore
if _callback is not None and isinstance(_callback, CustomGuardrail):
- from litellm.types.guardrails import GuardrailEventHooks
-
- event_type = GuardrailEventHooks.pre_call
- if call_type == "mcp_call":
- event_type = GuardrailEventHooks.pre_mcp_call
-
- if (
- _callback.should_run_guardrail(data=data, event_type=event_type)
- is not True
- ):
- continue
-
- response = await _callback.async_pre_call_hook(
+ result = await self._process_guardrail_callback(
+ callback=_callback,
+ data=data,
user_api_key_dict=user_api_key_dict,
- cache=self.call_details["user_api_key_cache"],
- data=data, # type: ignore
call_type=call_type,
)
- if response is not None:
- data = await self.process_pre_call_hook_response(
- response=response, data=data, call_type=call_type
- )
+ if result is None:
+ continue
+ data = result
elif (
_callback is not None
@@ -1424,6 +1485,7 @@ class ProxyLogging:
for callback in guardrail_callbacks:
# Main - V2 Guardrails implementation
+
if (
callback.should_run_guardrail(
data=data, event_type=GuardrailEventHooks.post_call
@@ -1432,11 +1494,19 @@ class ProxyLogging:
):
continue
- await callback.async_post_call_success_hook(
- user_api_key_dict=user_api_key_dict,
- data=data,
- response=response,
- )
+ if "apply_guardrail" in type(callback).__dict__:
+ data["guardrail_to_apply"] = callback
+ response = await unified_guardrail.async_post_call_success_hook(
+ user_api_key_dict=user_api_key_dict,
+ data=data,
+ response=response,
+ )
+ else:
+ response = await callback.async_post_call_success_hook(
+ user_api_key_dict=user_api_key_dict,
+ data=data,
+ response=response,
+ )
############ Handle CustomLogger ###############################
#################################################################
diff --git a/litellm/types/utils.py b/litellm/types/utils.py
index de6a35fd810..ba5b54d38a1 100644
--- a/litellm/types/utils.py
+++ b/litellm/types/utils.py
@@ -41,6 +41,7 @@ from litellm.types.mcp import MCPServerCostInfo
from ..litellm_core_utils.core_helpers import map_finish_reason
from .guardrails import GuardrailEventHooks
+from .llms.anthropic_messages.anthropic_response import AnthropicMessagesResponse
from .llms.base import HiddenParams
from .llms.openai import (
Batch,
@@ -55,6 +56,7 @@ from .llms.openai import (
OpenAIChatCompletionChunk,
OpenAIFileObject,
OpenAIRealtimeStreamList,
+ ResponsesAPIResponse,
WebSearchOptions,
)
from .rerank import RerankResponse
@@ -2778,6 +2780,8 @@ LLMResponseTypes = Union[
OpenAIFileObject,
LiteLLMBatch,
LiteLLMFineTuningJob,
+ AnthropicMessagesResponse,
+ ResponsesAPIResponse,
]
diff --git a/tests/proxy_unit_tests/test_proxy_utils.py b/tests/proxy_unit_tests/test_proxy_utils.py
index d12e19e4b6d..55ec5ee32a1 100644
--- a/tests/proxy_unit_tests/test_proxy_utils.py
+++ b/tests/proxy_unit_tests/test_proxy_utils.py
@@ -1796,10 +1796,13 @@ def test_provider_specific_header_multi_provider():
}
-
@pytest.mark.parametrize(
"custom_llm_provider, expected_result",
- [("anthropic", {"anthropic-beta": "test"}), ("bedrock", {"anthropic-beta": "test"}), ("vertex_ai", {"anthropic-beta": "test"})],
+ [
+ ("anthropic", {"anthropic-beta": "test"}),
+ ("bedrock", {"anthropic-beta": "test"}),
+ ("vertex_ai", {"anthropic-beta": "test"}),
+ ],
)
def test_provider_specific_header_in_request(custom_llm_provider, expected_result):
from litellm.types.utils import ProviderSpecificHeader
@@ -1827,7 +1830,6 @@ def test_provider_specific_header_in_request(custom_llm_provider, expected_resul
assert "anthropic-beta" in mock_post.call_args.kwargs["headers"]
-
from litellm.proxy._types import LiteLLM_UserTable
diff --git a/tests/test_litellm/integrations/test_custom_guardrail.py b/tests/test_litellm/integrations/test_custom_guardrail.py
index 182e0134928..1106c0b3678 100644
--- a/tests/test_litellm/integrations/test_custom_guardrail.py
+++ b/tests/test_litellm/integrations/test_custom_guardrail.py
@@ -89,94 +89,151 @@ class TestCustomGuardrailShouldRunGuardrail:
def test_should_run_guardrail_with_litellm_metadata(self):
"""Test that should_run_guardrail works with litellm_metadata pattern"""
from litellm.types.guardrails import GuardrailEventHooks
-
+
custom_guardrail = CustomGuardrail(
- guardrail_name="test_guardrail",
+ guardrail_name="test_guardrail",
default_on=False,
- event_hook=GuardrailEventHooks.pre_call
+ event_hook=GuardrailEventHooks.pre_call,
)
-
+
# Test with guardrails in litellm_metadata
data = {
"model": "gpt-3.5-turbo",
- "litellm_metadata": {
- "guardrails": ["test_guardrail"]
- }
+ "litellm_metadata": {"guardrails": ["test_guardrail"]},
}
-
+
result = custom_guardrail.should_run_guardrail(
data=data, event_type=GuardrailEventHooks.pre_call
)
-
+
assert result is True
-
+
def test_should_run_guardrail_with_metadata(self):
"""Test that should_run_guardrail works with metadata pattern"""
from litellm.types.guardrails import GuardrailEventHooks
-
+
custom_guardrail = CustomGuardrail(
- guardrail_name="test_guardrail",
+ guardrail_name="test_guardrail",
default_on=False,
- event_hook=GuardrailEventHooks.pre_call
+ event_hook=GuardrailEventHooks.pre_call,
)
-
+
# Test with guardrails in metadata
data = {
"model": "gpt-3.5-turbo",
- "metadata": {
- "guardrails": ["test_guardrail"]
- }
+ "metadata": {"guardrails": ["test_guardrail"]},
}
-
+
result = custom_guardrail.should_run_guardrail(
data=data, event_type=GuardrailEventHooks.pre_call
)
-
+
assert result is True
-
+
def test_should_run_guardrail_with_root_level_guardrails(self):
"""Test that should_run_guardrail works with root level guardrails"""
from litellm.types.guardrails import GuardrailEventHooks
-
+
custom_guardrail = CustomGuardrail(
- guardrail_name="test_guardrail",
+ guardrail_name="test_guardrail",
default_on=False,
- event_hook=GuardrailEventHooks.pre_call
+ event_hook=GuardrailEventHooks.pre_call,
)
-
+
# Test with guardrails at root level
- data = {
- "model": "gpt-3.5-turbo",
- "guardrails": ["test_guardrail"]
- }
-
+ data = {"model": "gpt-3.5-turbo", "guardrails": ["test_guardrail"]}
+
result = custom_guardrail.should_run_guardrail(
data=data, event_type=GuardrailEventHooks.pre_call
)
-
+
assert result is True
-
-
+
def test_should_run_guardrail_no_matching_guardrail(self):
"""Test that should_run_guardrail returns False when guardrail name doesn't match"""
from litellm.types.guardrails import GuardrailEventHooks
-
+
custom_guardrail = CustomGuardrail(
- guardrail_name="test_guardrail",
+ guardrail_name="test_guardrail",
default_on=False,
- event_hook=GuardrailEventHooks.pre_call
+ event_hook=GuardrailEventHooks.pre_call,
)
-
+
# Test with different guardrail name
data = {
"model": "gpt-3.5-turbo",
- "litellm_metadata": {
- "guardrails": ["different_guardrail"]
- }
+ "litellm_metadata": {"guardrails": ["different_guardrail"]},
}
-
+
result = custom_guardrail.should_run_guardrail(
data=data, event_type=GuardrailEventHooks.pre_call
)
-
+
assert result is False
+
+
+class TestApplyGuardrailCheck:
+ def test_apply_guardrail_check_only_on_direct_implementation(self):
+ """
+ Test that "apply_guardrail" in type(callback).__dict__ only returns True
+ when the object's own class implements the method, not when it's inherited
+ from a parent class.
+
+ This is critical for properly routing guardrail handling to the unified
+ guardrail handler vs the guardrail's own implementation.
+ """
+
+ # Parent class with apply_guardrail (CustomGuardrail already has it)
+ class ParentGuardrail(CustomGuardrail):
+ """Parent that inherits apply_guardrail from CustomGuardrail"""
+
+ pass
+
+ # Child class that only inherits apply_guardrail (doesn't override)
+ class ChildGuardrailWithoutOverride(ParentGuardrail):
+ """Child that only inherits apply_guardrail"""
+
+ pass
+
+ # Child class that overrides apply_guardrail
+ class ChildGuardrailWithOverride(ParentGuardrail):
+ """Child that overrides apply_guardrail"""
+
+ async def apply_guardrail(self, text, language=None, entities=None):
+ return f"modified: {text}"
+
+ # Instantiate the classes
+ parent_instance = ParentGuardrail()
+ child_without_override = ChildGuardrailWithoutOverride()
+ child_with_override = ChildGuardrailWithOverride()
+
+ # Test: CustomGuardrail itself has apply_guardrail in its __dict__
+ assert (
+ "apply_guardrail" in type(CustomGuardrail()).__dict__
+ ), "CustomGuardrail should have apply_guardrail in its own __dict__"
+
+ # Test: ParentGuardrail inherits but doesn't override, so it should NOT be in __dict__
+ assert (
+ "apply_guardrail" not in type(parent_instance).__dict__
+ ), "ParentGuardrail should NOT have apply_guardrail in its own __dict__ (only inherited)"
+
+ # Test: ChildGuardrailWithoutOverride only inherits, should NOT be in __dict__
+ assert (
+ "apply_guardrail" not in type(child_without_override).__dict__
+ ), "ChildGuardrailWithoutOverride should NOT have apply_guardrail in its own __dict__ (only inherited)"
+
+ # Test: ChildGuardrailWithOverride overrides the method, SHOULD be in __dict__
+ assert (
+ "apply_guardrail" in type(child_with_override).__dict__
+ ), "ChildGuardrailWithOverride SHOULD have apply_guardrail in its own __dict__ (overridden)"
+
+ # Verify that all instances still have the method via inheritance (hasattr)
+ assert hasattr(
+ parent_instance, "apply_guardrail"
+ ), "All instances should have apply_guardrail via inheritance"
+ assert hasattr(
+ child_without_override, "apply_guardrail"
+ ), "All instances should have apply_guardrail via inheritance"
+ assert hasattr(
+ child_with_override, "apply_guardrail"
+ ), "All instances should have apply_guardrail via inheritance"
diff --git a/tests/test_litellm/llms/cohere/rerank/test_rerank_guardrail_handler.py b/tests/test_litellm/llms/cohere/rerank/test_rerank_guardrail_handler.py
new file mode 100644
index 00000000000..8fdc09fc752
--- /dev/null
+++ b/tests/test_litellm/llms/cohere/rerank/test_rerank_guardrail_handler.py
@@ -0,0 +1,376 @@
+"""
+Unit tests for Cohere Rerank Guardrail Translation Handler
+"""
+
+import asyncio
+import os
+import sys
+
+import pytest
+
+sys.path.insert(0, os.path.abspath("../../../../.."))
+
+from litellm.integrations.custom_guardrail import CustomGuardrail
+from litellm.llms import get_guardrail_translation_mapping
+from litellm.llms.cohere.rerank.guardrail_translation.handler import CohereRerankHandler
+from litellm.types.rerank import RerankResponse
+from litellm.types.utils import CallTypes
+
+
+class MockGuardrail(CustomGuardrail):
+ """Mock guardrail for testing"""
+
+ async def apply_guardrail(self, text: str, language=None, entities=None) -> str:
+ return f"{text} [GUARDRAILED]"
+
+
+class TestHandlerDiscovery:
+ """Test that the handler is properly discovered"""
+
+ def test_handler_discovered_for_rerank(self):
+ """Test that rerank CallType is mapped to handler"""
+ handler_class = get_guardrail_translation_mapping(CallTypes.rerank)
+ assert handler_class == CohereRerankHandler
+
+ def test_handler_discovered_for_arerank(self):
+ """Test that arerank CallType is mapped to handler"""
+ handler_class = get_guardrail_translation_mapping(CallTypes.arerank)
+ assert handler_class == CohereRerankHandler
+
+
+class TestInputProcessing:
+ """Test input processing functionality"""
+
+ @pytest.mark.asyncio
+ async def test_process_query_only(self):
+ """Test processing just the query"""
+ handler = CohereRerankHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "model": "rerank-english-v3.0",
+ "query": "What is machine learning?",
+ "documents": ["Doc 1", "Doc 2"],
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Query should be guardrailed
+ assert result["query"] == "What is machine learning? [GUARDRAILED]"
+ # Documents should be unchanged
+ assert result["documents"] == ["Doc 1", "Doc 2"]
+
+ @pytest.mark.asyncio
+ async def test_process_query_with_dict_documents(self):
+ """Test that query is guardrailed but dict documents are unchanged"""
+ handler = CohereRerankHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "model": "rerank-english-v3.0",
+ "query": "Python programming",
+ "documents": [
+ {"text": "Python is a programming language.", "id": "doc1"},
+ {"text": "JavaScript is used for web development.", "id": "doc2"},
+ ],
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Query should be guardrailed
+ assert result["query"] == "Python programming [GUARDRAILED]"
+
+ # Documents should be completely unchanged
+ assert result["documents"][0] == {
+ "text": "Python is a programming language.",
+ "id": "doc1",
+ }
+ assert result["documents"][1] == {
+ "text": "JavaScript is used for web development.",
+ "id": "doc2",
+ }
+
+ @pytest.mark.asyncio
+ async def test_process_no_query(self):
+ """Test processing when query is missing"""
+ handler = CohereRerankHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "model": "rerank-english-v3.0",
+ "documents": ["Document 1", "Document 2"],
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # No query to process, documents unchanged
+ assert "query" not in result
+ assert result["documents"] == ["Document 1", "Document 2"]
+
+ @pytest.mark.asyncio
+ async def test_process_empty_documents(self):
+ """Test processing with empty documents list"""
+ handler = CohereRerankHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "model": "rerank-english-v3.0",
+ "query": "Test query",
+ "documents": [],
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ assert result["query"] == "Test query [GUARDRAILED]"
+ assert result["documents"] == []
+
+ @pytest.mark.asyncio
+ async def test_process_long_query(self):
+ """Test processing a long query"""
+ handler = CohereRerankHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ long_query = "This is a very long search query. " * 20
+
+ data = {
+ "model": "rerank-english-v3.0",
+ "query": long_query,
+ "documents": ["Doc 1"],
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ assert result["query"] == f"{long_query} [GUARDRAILED]"
+ assert long_query in result["query"]
+ # Document unchanged
+ assert result["documents"] == ["Doc 1"]
+
+
+class TestOutputProcessing:
+ """Test output processing functionality"""
+
+ @pytest.mark.asyncio
+ async def test_output_processing_is_noop(self):
+ """Test that output processing returns response unchanged"""
+ handler = CohereRerankHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ # Create a mock RerankResponse
+ response = RerankResponse(
+ id="rerank-123",
+ results=[
+ {"index": 0, "relevance_score": 0.98},
+ {"index": 2, "relevance_score": 0.75},
+ ],
+ )
+
+ result = await handler.process_output_response(response, guardrail)
+
+ # Should return unchanged
+ assert result == response
+ assert result.id == "rerank-123"
+ assert len(result.results) == 2
+
+
+class TestPIIMaskingScenario:
+ """Test real-world scenario: PII masking in rerank query"""
+
+ @pytest.mark.asyncio
+ async def test_pii_masking_in_query(self):
+ """Test that PII can be masked from query only"""
+
+ class PIIMaskingGuardrail(CustomGuardrail):
+ """Mock PII masking guardrail"""
+
+ async def apply_guardrail(
+ self, text: str, language=None, entities=None
+ ) -> str:
+ import re
+
+ masked = re.sub(
+ r"\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b",
+ "[EMAIL_REDACTED]",
+ text,
+ )
+ masked = masked.replace("John Doe", "[NAME_REDACTED]")
+ return masked
+
+ handler = CohereRerankHandler()
+ guardrail = PIIMaskingGuardrail(guardrail_name="mask_pii")
+
+ data = {
+ "model": "rerank-english-v3.0",
+ "query": "Find documents about John Doe at [email protected]",
+ "documents": [
+ "Document 1 content",
+ "Document 2 content",
+ "Document 3 content",
+ ],
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Verify PII was masked in query
+ assert "[email protected]" not in result["query"]
+ assert "John Doe" not in result["query"]
+ assert "[EMAIL_REDACTED]" in result["query"]
+ assert "[NAME_REDACTED]" in result["query"]
+
+ # Verify documents were NOT modified
+ assert result["documents"] == [
+ "Document 1 content",
+ "Document 2 content",
+ "Document 3 content",
+ ]
+
+ @pytest.mark.asyncio
+ async def test_multiple_pii_types_in_query(self):
+ """Test masking multiple PII types in query"""
+
+ class PIIMaskingGuardrail(CustomGuardrail):
+ """Mock PII masking guardrail"""
+
+ async def apply_guardrail(
+ self, text: str, language=None, entities=None
+ ) -> str:
+ import re
+
+ # Mask emails
+ masked = re.sub(
+ r"\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b",
+ "[EMAIL_REDACTED]",
+ text,
+ )
+ # Mask phone numbers
+ masked = re.sub(r"\d{3}-\d{3}-\d{4}", "[PHONE_REDACTED]", masked)
+ # Mask names
+ masked = masked.replace("Alice Smith", "[NAME_REDACTED]")
+ return masked
+
+ handler = CohereRerankHandler()
+ guardrail = PIIMaskingGuardrail(guardrail_name="mask_pii")
+
+ data = {
+ "model": "rerank-english-v3.0",
+ "query": "Search for Alice Smith at [email protected] or call 555-123-4567",
+ "documents": ["Doc 1"],
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Verify all PII types were masked in query
+ assert "[email protected]" not in result["query"]
+ assert "Alice Smith" not in result["query"]
+ assert "555-123-4567" not in result["query"]
+ assert "[EMAIL_REDACTED]" in result["query"]
+ assert "[NAME_REDACTED]" in result["query"]
+ assert "[PHONE_REDACTED]" in result["query"]
+
+ # Documents unchanged
+ assert result["documents"] == ["Doc 1"]
+
+
+class TestEdgeCases:
+ """Test edge cases and error handling"""
+
+ @pytest.mark.asyncio
+ async def test_empty_query(self):
+ """Test with empty query"""
+ handler = CohereRerankHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "model": "rerank-english-v3.0",
+ "query": "",
+ "documents": ["Doc 1", "Doc 2"],
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Empty string should still be processed
+ assert result["query"] == " [GUARDRAILED]"
+ # Documents unchanged
+ assert result["documents"] == ["Doc 1", "Doc 2"]
+
+ @pytest.mark.asyncio
+ async def test_none_query(self):
+ """Test with None query"""
+ handler = CohereRerankHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "model": "rerank-english-v3.0",
+ "query": None,
+ "documents": ["Doc 1", "Doc 2"],
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Query None should be unchanged
+ assert result["query"] is None
+ # Documents unchanged
+ assert result["documents"] == ["Doc 1", "Doc 2"]
+
+ @pytest.mark.asyncio
+ async def test_query_with_special_characters(self):
+ """Test query with special characters"""
+ handler = CohereRerankHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "model": "rerank-english-v3.0",
+ "query": "Search for: @user #hashtag & more!",
+ "documents": ["Doc 1"],
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ assert result["query"] == "Search for: @user #hashtag & more! [GUARDRAILED]"
+ assert result["documents"] == ["Doc 1"]
+
+
+class TestContentFilteringScenario:
+ """Test real-world scenario: Content filtering in rerank query"""
+
+ @pytest.mark.asyncio
+ async def test_content_filtering_query(self):
+ """Test filtering inappropriate content from query only"""
+
+ class ContentFilterGuardrail(CustomGuardrail):
+ """Mock content filter guardrail"""
+
+ async def apply_guardrail(
+ self, text: str, language=None, entities=None
+ ) -> str:
+ bad_words = ["inappropriate", "offensive"]
+ filtered = text
+ for word in bad_words:
+ filtered = filtered.replace(word, "[FILTERED]")
+ return filtered
+
+ handler = CohereRerankHandler()
+ guardrail = ContentFilterGuardrail(guardrail_name="content_filter")
+
+ data = {
+ "model": "rerank-english-v3.0",
+ "query": "Find inappropriate and offensive content",
+ "documents": [
+ "Document 1 content",
+ "Document 2 content",
+ "Document 3 content",
+ ],
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Query should be filtered
+ assert "inappropriate" not in result["query"]
+ assert "offensive" not in result["query"]
+ assert "[FILTERED]" in result["query"]
+
+ # Documents should be unchanged
+ assert result["documents"] == [
+ "Document 1 content",
+ "Document 2 content",
+ "Document 3 content",
+ ]
diff --git a/tests/test_litellm/llms/openai/completion/test_text_completion_guardrail_handler.py b/tests/test_litellm/llms/openai/completion/test_text_completion_guardrail_handler.py
new file mode 100644
index 00000000000..97ca423f773
--- /dev/null
+++ b/tests/test_litellm/llms/openai/completion/test_text_completion_guardrail_handler.py
@@ -0,0 +1,333 @@
+"""
+Unit tests for OpenAI Text Completion Guardrail Translation Handler
+"""
+
+import os
+import sys
+from unittest.mock import MagicMock
+
+import pytest
+
+sys.path.insert(0, os.path.abspath("../../../../.."))
+
+from litellm.integrations.custom_guardrail import CustomGuardrail
+from litellm.llms import get_guardrail_translation_mapping
+from litellm.llms.openai.completion.guardrail_translation.handler import (
+ OpenAITextCompletionHandler,
+)
+from litellm.types.utils import CallTypes, TextChoices, TextCompletionResponse
+
+
+class MockGuardrail(CustomGuardrail):
+ """Mock guardrail for testing"""
+
+ async def apply_guardrail(self, text: str, language=None, entities=None) -> str:
+ return f"{text} [GUARDRAILED]"
+
+
+class TestHandlerDiscovery:
+ """Test that the handler is properly discovered"""
+
+ def test_handler_discovered_for_text_completion(self):
+ """Test that text_completion CallType is mapped to handler"""
+ handler_class = get_guardrail_translation_mapping(CallTypes.text_completion)
+ assert handler_class == OpenAITextCompletionHandler
+
+ def test_handler_discovered_for_atext_completion(self):
+ """Test that atext_completion CallType is mapped to handler"""
+ handler_class = get_guardrail_translation_mapping(CallTypes.atext_completion)
+ assert handler_class == OpenAITextCompletionHandler
+
+
+class TestInputProcessing:
+ """Test input processing functionality"""
+
+ @pytest.mark.asyncio
+ async def test_process_simple_string_prompt(self):
+ """Test processing a simple string prompt"""
+ handler = OpenAITextCompletionHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "model": "gpt-3.5-turbo-instruct",
+ "prompt": "Say this is a test",
+ "max_tokens": 7,
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ assert result["prompt"] == "Say this is a test [GUARDRAILED]"
+ assert result["model"] == "gpt-3.5-turbo-instruct"
+ assert result["max_tokens"] == 7
+
+ @pytest.mark.asyncio
+ async def test_process_list_of_string_prompts(self):
+ """Test processing a list of string prompts (batch completion)"""
+ handler = OpenAITextCompletionHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "model": "gpt-3.5-turbo-instruct",
+ "prompt": ["Tell me a joke", "Write a poem", "Say hello"],
+ "max_tokens": 50,
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ assert result["prompt"] == [
+ "Tell me a joke [GUARDRAILED]",
+ "Write a poem [GUARDRAILED]",
+ "Say hello [GUARDRAILED]",
+ ]
+ assert result["model"] == "gpt-3.5-turbo-instruct"
+
+ @pytest.mark.asyncio
+ async def test_process_no_prompt(self):
+ """Test processing when no prompt is provided"""
+ handler = OpenAITextCompletionHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {"model": "gpt-3.5-turbo-instruct", "max_tokens": 7}
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Should return data unchanged when no prompt
+ assert result == data
+ assert "prompt" not in result
+
+ @pytest.mark.asyncio
+ async def test_process_empty_prompt(self):
+ """Test processing when prompt is None"""
+ handler = OpenAITextCompletionHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {"model": "gpt-3.5-turbo-instruct", "prompt": None}
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Should return data unchanged when prompt is None
+ assert result["prompt"] is None
+
+ @pytest.mark.asyncio
+ async def test_process_mixed_list_prompts(self):
+ """Test processing a list with non-string items (e.g., token lists)"""
+ handler = OpenAITextCompletionHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "model": "gpt-3.5-turbo-instruct",
+ "prompt": ["String prompt", [1, 2, 3], "Another string"],
+ "max_tokens": 50,
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # String items should be guardrailed, list items unchanged
+ assert result["prompt"] == [
+ "String prompt [GUARDRAILED]",
+ [1, 2, 3], # Unchanged
+ "Another string [GUARDRAILED]",
+ ]
+
+ @pytest.mark.asyncio
+ async def test_process_long_prompt(self):
+ """Test processing a long prompt"""
+ handler = OpenAITextCompletionHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ long_prompt = "This is a very long prompt. " * 50
+
+ data = {"model": "gpt-3.5-turbo-instruct", "prompt": long_prompt}
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ assert result["prompt"] == f"{long_prompt} [GUARDRAILED]"
+ assert long_prompt in result["prompt"]
+
+
+class TestOutputProcessing:
+ """Test output processing functionality"""
+
+ @pytest.mark.asyncio
+ async def test_process_output_single_choice(self):
+ """Test processing output with a single choice"""
+ handler = OpenAITextCompletionHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ # Create a mock TextCompletionResponse
+ choice = TextChoices(
+ finish_reason="stop",
+ index=0,
+ logprobs=None,
+ text="This is indeed a test",
+ )
+ response = TextCompletionResponse(
+ id="cmpl-test",
+ choices=[choice],
+ created=1589478378,
+ model="gpt-3.5-turbo-instruct",
+ object="text_completion",
+ )
+
+ result = await handler.process_output_response(response, guardrail)
+
+ # Verify guardrail was applied to output
+ assert result.choices[0].text == "This is indeed a test [GUARDRAILED]"
+ assert result.id == "cmpl-test"
+ assert result.model == "gpt-3.5-turbo-instruct"
+
+ @pytest.mark.asyncio
+ async def test_process_output_multiple_choices(self):
+ """Test processing output with multiple choices (n > 1)"""
+ handler = OpenAITextCompletionHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ # Create mock choices
+ choices = [
+ TextChoices(
+ finish_reason="stop",
+ index=0,
+ logprobs=None,
+ text="Response 1",
+ ),
+ TextChoices(
+ finish_reason="stop",
+ index=1,
+ logprobs=None,
+ text="Response 2",
+ ),
+ ]
+ response = TextCompletionResponse(
+ id="cmpl-test",
+ choices=choices,
+ created=1589478378,
+ model="gpt-3.5-turbo-instruct",
+ object="text_completion",
+ )
+
+ result = await handler.process_output_response(response, guardrail)
+
+ # Verify guardrail was applied to all choices
+ assert result.choices[0].text == "Response 1 [GUARDRAILED]"
+ assert result.choices[1].text == "Response 2 [GUARDRAILED]"
+
+ @pytest.mark.asyncio
+ async def test_process_output_empty_choices(self):
+ """Test processing output with no choices"""
+ handler = OpenAITextCompletionHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ response = TextCompletionResponse(
+ id="cmpl-test",
+ choices=[],
+ created=1589478378,
+ model="gpt-3.5-turbo-instruct",
+ object="text_completion",
+ )
+
+ result = await handler.process_output_response(response, guardrail)
+
+ # Should return unchanged when no choices
+ assert result == response
+ assert len(result.choices) == 0
+
+
+class TestPIIMaskingScenario:
+ """Test real-world scenario: PII masking in prompts and completions"""
+
+ @pytest.mark.asyncio
+ async def test_pii_masking_in_prompt_and_completion(self):
+ """Test that PII can be masked from both input prompt and output completion"""
+
+ class PIIMaskingGuardrail(CustomGuardrail):
+ """Mock PII masking guardrail"""
+
+ async def apply_guardrail(
+ self, text: str, language=None, entities=None
+ ) -> str:
+ # Simple mock: replace email-like patterns
+ import re
+
+ masked = re.sub(
+ r"\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b",
+ "[EMAIL_REDACTED]",
+ text,
+ )
+ # Replace names (simple mock)
+ masked = masked.replace("John Doe", "[NAME_REDACTED]")
+ return masked
+
+ handler = OpenAITextCompletionHandler()
+ guardrail = PIIMaskingGuardrail(guardrail_name="mask_pii")
+
+ # Test input processing
+ data = {
+ "model": "gpt-3.5-turbo-instruct",
+ "prompt": "My name is John Doe and my email is [email protected]",
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Verify PII was masked in input
+ assert "[email protected]" not in result["prompt"]
+ assert "John Doe" not in result["prompt"]
+ assert "[EMAIL_REDACTED]" in result["prompt"]
+ assert "[NAME_REDACTED]" in result["prompt"]
+
+ # Test output processing
+ choice = TextChoices(
+ finish_reason="stop",
+ index=0,
+ logprobs=None,
+ text="You can reach me at [email protected]",
+ )
+ response = TextCompletionResponse(
+ id="cmpl-test",
+ choices=[choice],
+ created=1589478378,
+ model="gpt-3.5-turbo-instruct",
+ object="text_completion",
+ )
+
+ output_result = await handler.process_output_response(response, guardrail)
+
+ # Verify PII was masked in output
+ assert "[email protected]" not in output_result.choices[0].text
+ assert "[EMAIL_REDACTED]" in output_result.choices[0].text
+
+ @pytest.mark.asyncio
+ async def test_batch_prompts_with_pii(self):
+ """Test PII masking with batch prompts"""
+
+ class PIIMaskingGuardrail(CustomGuardrail):
+ """Mock PII masking guardrail"""
+
+ async def apply_guardrail(
+ self, text: str, language=None, entities=None
+ ) -> str:
+ import re
+
+ return re.sub(
+ r"\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b",
+ "[EMAIL_REDACTED]",
+ text,
+ )
+
+ handler = OpenAITextCompletionHandler()
+ guardrail = PIIMaskingGuardrail(guardrail_name="mask_pii")
+
+ data = {
+ "model": "gpt-3.5-turbo-instruct",
+ "prompt": [
+ "Contact me at [email protected]",
+ "Send to [email protected]",
+ ],
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Verify all prompts had PII masked
+ assert "[EMAIL_REDACTED]" in result["prompt"][0]
+ assert "[EMAIL_REDACTED]" in result["prompt"][1]
+ assert "[email protected]" not in result["prompt"][0]
+ assert "[email protected]" not in result["prompt"][1]
diff --git a/tests/test_litellm/llms/openai/image_generation/test_image_generation_guardrail_handler.py b/tests/test_litellm/llms/openai/image_generation/test_image_generation_guardrail_handler.py
new file mode 100644
index 00000000000..529d74f63d9
--- /dev/null
+++ b/tests/test_litellm/llms/openai/image_generation/test_image_generation_guardrail_handler.py
@@ -0,0 +1,172 @@
+"""
+Unit tests for OpenAI Image Generation Guardrail Translation Handler
+"""
+
+import os
+import sys
+
+import pytest
+
+sys.path.insert(0, os.path.abspath("../../../../.."))
+
+from litellm.integrations.custom_guardrail import CustomGuardrail
+from litellm.llms import get_guardrail_translation_mapping
+from litellm.llms.openai.image_generation.guardrail_translation.handler import (
+ OpenAIImageGenerationHandler,
+)
+from litellm.types.utils import CallTypes, ImageObject, ImageResponse
+
+
+class MockGuardrail(CustomGuardrail):
+ """Mock guardrail for testing"""
+
+ async def apply_guardrail(self, text: str, language=None, entities=None) -> str:
+ return f"{text} [GUARDRAILED]"
+
+
+class TestHandlerDiscovery:
+ """Test that the handler is properly discovered"""
+
+ def test_handler_discovered_for_image_generation(self):
+ """Test that image_generation CallType is mapped to handler"""
+ handler_class = get_guardrail_translation_mapping(CallTypes.image_generation)
+ assert handler_class == OpenAIImageGenerationHandler
+
+ def test_handler_discovered_for_aimage_generation(self):
+ """Test that aimage_generation CallType is mapped to handler"""
+ handler_class = get_guardrail_translation_mapping(CallTypes.aimage_generation)
+ assert handler_class == OpenAIImageGenerationHandler
+
+
+class TestInputProcessing:
+ """Test input processing functionality"""
+
+ @pytest.mark.asyncio
+ async def test_process_simple_prompt(self):
+ """Test processing a simple text prompt"""
+ handler = OpenAIImageGenerationHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "model": "dall-e-3",
+ "prompt": "A cute baby sea otter",
+ "size": "1024x1024",
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ assert result["prompt"] == "A cute baby sea otter [GUARDRAILED]"
+ assert result["model"] == "dall-e-3"
+ assert result["size"] == "1024x1024"
+
+ @pytest.mark.asyncio
+ async def test_process_no_prompt(self):
+ """Test processing when no prompt is provided"""
+ handler = OpenAIImageGenerationHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {"model": "dall-e-3", "size": "1024x1024"}
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Should return data unchanged when no prompt
+ assert result == data
+ assert "prompt" not in result
+
+ @pytest.mark.asyncio
+ async def test_process_empty_prompt(self):
+ """Test processing when prompt is None"""
+ handler = OpenAIImageGenerationHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {"model": "dall-e-3", "prompt": None}
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Should return data unchanged when prompt is None
+ assert result["prompt"] is None
+
+ @pytest.mark.asyncio
+ async def test_process_complex_prompt(self):
+ """Test processing a complex/long prompt"""
+ handler = OpenAIImageGenerationHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ long_prompt = (
+ "A highly detailed digital painting of a futuristic cityscape at sunset, "
+ "with flying cars, neon signs, and towering skyscrapers reflecting in the water, "
+ "in the style of Blade Runner, 8k resolution, photorealistic"
+ )
+
+ data = {"model": "dall-e-3", "prompt": long_prompt}
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ assert result["prompt"] == f"{long_prompt} [GUARDRAILED]"
+ assert long_prompt in result["prompt"]
+
+
+class TestOutputProcessing:
+ """Test output processing functionality"""
+
+ @pytest.mark.asyncio
+ async def test_process_output_returns_unchanged(self):
+ """Test that output processing returns response unchanged"""
+ handler = OpenAIImageGenerationHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ # Create a mock ImageResponse
+ image_object = ImageObject(
+ url="https://example.com/image.png",
+ revised_prompt="A cute baby sea otter",
+ )
+ response = ImageResponse(created=1589478378, data=[image_object])
+
+ result = await handler.process_output_response(response, guardrail)
+
+ # Should return unchanged
+ assert result == response
+ assert result.created == 1589478378
+ assert len(result.data) == 1
+
+
+class TestPIIMaskingScenario:
+ """Test real-world scenario: PII masking in prompts"""
+
+ @pytest.mark.asyncio
+ async def test_pii_masking_in_prompt(self):
+ """Test that PII can be masked from image generation prompts"""
+
+ class PIIMaskingGuardrail(CustomGuardrail):
+ """Mock PII masking guardrail"""
+
+ async def apply_guardrail(
+ self, text: str, language=None, entities=None
+ ) -> str:
+ # Simple mock: replace email-like patterns
+ import re
+
+ masked = re.sub(
+ r"\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b",
+ "[EMAIL_REDACTED]",
+ text,
+ )
+ # Replace names (simple mock)
+ masked = masked.replace("John Doe", "[NAME_REDACTED]")
+ return masked
+
+ handler = OpenAIImageGenerationHandler()
+ guardrail = PIIMaskingGuardrail(guardrail_name="mask_pii")
+
+ data = {
+ "model": "dall-e-3",
+ "prompt": "Generate an image of John Doe at [email protected]",
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Verify PII was masked
+ assert "[email protected]" not in result["prompt"]
+ assert "John Doe" not in result["prompt"]
+ assert "[EMAIL_REDACTED]" in result["prompt"]
+ assert "[NAME_REDACTED]" in result["prompt"]
diff --git a/tests/test_litellm/llms/openai/responses/test_openai_responses_guardrail_handler.py b/tests/test_litellm/llms/openai/responses/test_openai_responses_guardrail_handler.py
new file mode 100644
index 00000000000..b447c281aa3
--- /dev/null
+++ b/tests/test_litellm/llms/openai/responses/test_openai_responses_guardrail_handler.py
@@ -0,0 +1,495 @@
+"""
+Unit tests for OpenAI Responses API Guardrail Translation Handler
+
+Tests the handler's ability to process input/output for the Responses API
+with guardrail transformations.
+"""
+
+import os
+import sys
+from typing import Any
+from unittest.mock import AsyncMock, MagicMock
+
+import pytest
+
+sys.path.insert(
+ 0, os.path.abspath("../../../../../..")
+) # Adds the parent directory to the system path
+
+from litellm.integrations.custom_guardrail import CustomGuardrail
+from litellm.llms import get_guardrail_translation_mapping
+from litellm.llms.openai.responses.guardrail_translation.handler import (
+ OpenAIResponsesHandler,
+)
+from litellm.types.llms.openai import ResponsesAPIResponse
+from litellm.types.responses.main import GenericResponseOutputItem, OutputText
+from litellm.types.utils import CallTypes
+
+
+class MockGuardrail(CustomGuardrail):
+ """Mock guardrail for testing that transforms text"""
+
+ async def apply_guardrail(self, text: str) -> str:
+ """Append [GUARDRAILED] to text"""
+ return f"{text} [GUARDRAILED]"
+
+
+class TestOpenAIResponsesHandlerDiscovery:
+ """Test that the handler is properly discovered by the guardrail system"""
+
+ def test_handler_discovered_for_responses(self):
+ """Test that handler is discovered for CallTypes.responses"""
+ handler_class = get_guardrail_translation_mapping(CallTypes.responses)
+ assert handler_class == OpenAIResponsesHandler
+
+ def test_handler_discovered_for_aresponses(self):
+ """Test that handler is discovered for CallTypes.aresponses"""
+ handler_class = get_guardrail_translation_mapping(CallTypes.aresponses)
+ assert handler_class == OpenAIResponsesHandler
+
+ def test_handler_has_required_methods(self):
+ """Test that handler has required methods"""
+ handler = OpenAIResponsesHandler()
+ assert hasattr(handler, "process_input_messages")
+ assert hasattr(handler, "process_output_response")
+ assert callable(handler.process_input_messages)
+ assert callable(handler.process_output_response)
+
+
+class TestOpenAIResponsesHandlerInputProcessing:
+ """Test input processing functionality"""
+
+ @pytest.mark.asyncio
+ async def test_process_input_string(self):
+ """Test processing simple string input"""
+ handler = OpenAIResponsesHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {"input": "Hello world", "model": "gpt-4"}
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ assert result["input"] == "Hello world [GUARDRAILED]"
+ assert result["model"] == "gpt-4"
+
+ @pytest.mark.asyncio
+ async def test_process_input_none(self):
+ """Test processing when input is None"""
+ handler = OpenAIResponsesHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {"model": "gpt-4"}
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ assert "input" not in result
+ assert result["model"] == "gpt-4"
+
+ @pytest.mark.asyncio
+ async def test_process_input_list_with_string_content(self):
+ """Test processing list input with string content"""
+ handler = OpenAIResponsesHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "input": [
+ {"role": "user", "content": "Hello", "type": "message"},
+ {"role": "user", "content": "World", "type": "message"},
+ ],
+ "model": "gpt-4",
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ assert result["input"][0]["content"] == "Hello [GUARDRAILED]"
+ assert result["input"][1]["content"] == "World [GUARDRAILED]"
+ assert result["model"] == "gpt-4"
+
+ @pytest.mark.asyncio
+ async def test_process_input_list_with_multimodal_content(self):
+ """Test processing list input with multimodal content"""
+ handler = OpenAIResponsesHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "input": [
+ {
+ "role": "user",
+ "content": [
+ {"type": "text", "text": "Describe this image"},
+ {
+ "type": "image_url",
+ "image_url": {"url": "https://example.com/image.jpg"},
+ },
+ ],
+ "type": "message",
+ }
+ ],
+ "model": "gpt-4",
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ assert (
+ result["input"][0]["content"][0]["text"]
+ == "Describe this image [GUARDRAILED]"
+ )
+ # Image URL should remain unchanged
+ assert (
+ result["input"][0]["content"][1]["image_url"]["url"]
+ == "https://example.com/image.jpg"
+ )
+
+ @pytest.mark.asyncio
+ async def test_process_input_with_empty_content(self):
+ """Test processing input with empty or None content"""
+ handler = OpenAIResponsesHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "input": [
+ {"role": "user", "content": None, "type": "message"},
+ {"role": "user", "content": "", "type": "message"},
+ ],
+ "model": "gpt-4",
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # None content should remain None
+ assert result["input"][0]["content"] is None
+ # Empty string should be processed
+ assert result["input"][1]["content"] == " [GUARDRAILED]"
+
+
+class TestOpenAIResponsesHandlerOutputProcessing:
+ """Test output processing functionality"""
+
+ @pytest.mark.asyncio
+ async def test_process_output_response_simple(self):
+ """Test processing simple output response"""
+ handler = OpenAIResponsesHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ # Create a mock response
+ response = ResponsesAPIResponse(
+ id="resp_123",
+ created_at=1234567890,
+ model="gpt-4",
+ object="response",
+ status="completed",
+ output=[
+ GenericResponseOutputItem(
+ type="message",
+ id="msg_123",
+ status="completed",
+ role="assistant",
+ content=[
+ OutputText(
+ type="output_text", text="Hello user", annotations=None
+ ),
+ ],
+ )
+ ],
+ )
+
+ result = await handler.process_output_response(response, guardrail)
+
+ assert result.output[0].content[0].text == "Hello user [GUARDRAILED]"
+
+ @pytest.mark.asyncio
+ async def test_process_output_response_multiple_items(self):
+ """Test processing output response with multiple output items"""
+ handler = OpenAIResponsesHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ response = ResponsesAPIResponse(
+ id="resp_123",
+ created_at=1234567890,
+ model="gpt-4",
+ object="response",
+ status="completed",
+ output=[
+ GenericResponseOutputItem(
+ type="message",
+ id="msg_123",
+ status="completed",
+ role="assistant",
+ content=[
+ OutputText(
+ type="output_text",
+ text="First message",
+ annotations=None,
+ ),
+ ],
+ ),
+ GenericResponseOutputItem(
+ type="message",
+ id="msg_124",
+ status="completed",
+ role="assistant",
+ content=[
+ OutputText(
+ type="output_text",
+ text="Second message",
+ annotations=None,
+ ),
+ ],
+ ),
+ ],
+ )
+
+ result = await handler.process_output_response(response, guardrail)
+
+ assert result.output[0].content[0].text == "First message [GUARDRAILED]"
+ assert result.output[1].content[0].text == "Second message [GUARDRAILED]"
+
+ @pytest.mark.asyncio
+ async def test_process_output_response_multiple_content_items(self):
+ """Test processing output response with multiple content items in one output"""
+ handler = OpenAIResponsesHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ response = ResponsesAPIResponse(
+ id="resp_123",
+ created_at=1234567890,
+ model="gpt-4",
+ object="response",
+ status="completed",
+ output=[
+ GenericResponseOutputItem(
+ type="message",
+ id="msg_123",
+ status="completed",
+ role="assistant",
+ content=[
+ OutputText(type="output_text", text="Part 1", annotations=None),
+ OutputText(type="output_text", text="Part 2", annotations=None),
+ ],
+ )
+ ],
+ )
+
+ result = await handler.process_output_response(response, guardrail)
+
+ assert result.output[0].content[0].text == "Part 1 [GUARDRAILED]"
+ assert result.output[0].content[1].text == "Part 2 [GUARDRAILED]"
+
+ @pytest.mark.asyncio
+ async def test_process_output_response_with_dict_format(self):
+ """Test processing output response where content items are dicts instead of OutputText objects"""
+ handler = OpenAIResponsesHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ # Simulate response with dict content (which can happen in some cases)
+ response = ResponsesAPIResponse(
+ id="resp_123",
+ created_at=1234567890,
+ model="gpt-4",
+ object="response",
+ status="completed",
+ output=[
+ {
+ "type": "message",
+ "id": "msg_123",
+ "status": "completed",
+ "role": "assistant",
+ "content": [
+ {"type": "output_text", "text": "Hello from dict"},
+ ],
+ }
+ ],
+ )
+
+ result = await handler.process_output_response(response, guardrail)
+
+ assert result.output[0]["content"][0]["text"] == "Hello from dict [GUARDRAILED]"
+
+ @pytest.mark.asyncio
+ async def test_process_output_response_no_text_content(self):
+ """Test that handler skips processing when there's no text content"""
+ handler = OpenAIResponsesHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ response = ResponsesAPIResponse(
+ id="resp_123",
+ created_at=1234567890,
+ model="gpt-4",
+ object="response",
+ status="completed",
+ output=[],
+ )
+
+ result = await handler.process_output_response(response, guardrail)
+
+ # Should return unchanged response
+ assert result == response
+
+
+class TestOpenAIResponsesHandlerHelperMethods:
+ """Test helper methods"""
+
+ def test_has_text_content_with_text(self):
+ """Test _has_text_content returns True when text exists"""
+ handler = OpenAIResponsesHandler()
+
+ response = ResponsesAPIResponse(
+ id="resp_123",
+ created_at=1234567890,
+ model="gpt-4",
+ object="response",
+ status="completed",
+ output=[
+ GenericResponseOutputItem(
+ type="message",
+ id="msg_123",
+ status="completed",
+ role="assistant",
+ content=[
+ OutputText(type="output_text", text="Hello", annotations=None),
+ ],
+ )
+ ],
+ )
+
+ assert handler._has_text_content(response) is True
+
+ def test_has_text_content_without_text(self):
+ """Test _has_text_content returns False when no text exists"""
+ handler = OpenAIResponsesHandler()
+
+ response = ResponsesAPIResponse(
+ id="resp_123",
+ created_at=1234567890,
+ model="gpt-4",
+ object="response",
+ status="completed",
+ output=[],
+ )
+
+ assert handler._has_text_content(response) is False
+
+ def test_has_text_content_with_empty_text(self):
+ """Test _has_text_content with empty text values"""
+ handler = OpenAIResponsesHandler()
+
+ response = ResponsesAPIResponse(
+ id="resp_123",
+ created_at=1234567890,
+ model="gpt-4",
+ object="response",
+ status="completed",
+ output=[
+ GenericResponseOutputItem(
+ type="message",
+ id="msg_123",
+ status="completed",
+ role="assistant",
+ content=[
+ OutputText(type="output_text", text="", annotations=None),
+ ],
+ )
+ ],
+ )
+
+ # Empty string should still return False
+ assert handler._has_text_content(response) is False
+
+ def test_has_text_content_with_dict_format(self):
+ """Test _has_text_content with dict-based output items"""
+ handler = OpenAIResponsesHandler()
+
+ response = ResponsesAPIResponse(
+ id="resp_123",
+ created_at=1234567890,
+ model="gpt-4",
+ object="response",
+ status="completed",
+ output=[
+ {
+ "type": "message",
+ "id": "msg_123",
+ "status": "completed",
+ "role": "assistant",
+ "content": [
+ {"type": "output_text", "text": "Hello"},
+ ],
+ }
+ ],
+ )
+
+ assert handler._has_text_content(response) is True
+
+
+class TestOpenAIResponsesHandlerEdgeCases:
+ """Test edge cases and error handling"""
+
+ @pytest.mark.asyncio
+ async def test_process_input_with_non_list_non_string(self):
+ """Test processing when input is neither string nor list"""
+ handler = OpenAIResponsesHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {"input": 123, "model": "gpt-4"} # Invalid type
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Should return data unchanged
+ assert result["input"] == 123
+
+ @pytest.mark.asyncio
+ async def test_process_input_mixed_content_types(self):
+ """Test processing with mixed content types in list"""
+ handler = OpenAIResponsesHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "input": [
+ {"role": "user", "content": "String content", "type": "message"},
+ {
+ "role": "user",
+ "content": [
+ {"type": "text", "text": "List content"},
+ {"type": "image_url", "image_url": {"url": "http://example.com"}},
+ ],
+ "type": "message",
+ },
+ ],
+ "model": "gpt-4",
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ assert result["input"][0]["content"] == "String content [GUARDRAILED]"
+ assert result["input"][1]["content"][0]["text"] == "List content [GUARDRAILED]"
+
+ @pytest.mark.asyncio
+ async def test_process_output_with_none_text(self):
+ """Test processing output when text field is None"""
+ handler = OpenAIResponsesHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ response = ResponsesAPIResponse(
+ id="resp_123",
+ created_at=1234567890,
+ model="gpt-4",
+ object="response",
+ status="completed",
+ output=[
+ GenericResponseOutputItem(
+ type="message",
+ id="msg_123",
+ status="completed",
+ role="assistant",
+ content=[
+ OutputText(type="output_text", text=None, annotations=None),
+ ],
+ )
+ ],
+ )
+
+ result = await handler.process_output_response(response, guardrail)
+
+ # Should skip processing and return unchanged
+ assert result == response
+
diff --git a/tests/test_litellm/llms/openai/speech/test_text_to_speech_guardrail_handler.py b/tests/test_litellm/llms/openai/speech/test_text_to_speech_guardrail_handler.py
new file mode 100644
index 00000000000..b4064a22c17
--- /dev/null
+++ b/tests/test_litellm/llms/openai/speech/test_text_to_speech_guardrail_handler.py
@@ -0,0 +1,325 @@
+"""
+Unit tests for OpenAI Text-to-Speech Guardrail Translation Handler
+"""
+
+import os
+import sys
+
+import pytest
+
+sys.path.insert(0, os.path.abspath("../../../../.."))
+
+from litellm.integrations.custom_guardrail import CustomGuardrail
+from litellm.llms import get_guardrail_translation_mapping
+from litellm.llms.openai.speech.guardrail_translation.handler import (
+ OpenAITextToSpeechHandler,
+)
+from litellm.types.utils import CallTypes
+
+
+class MockGuardrail(CustomGuardrail):
+ """Mock guardrail for testing"""
+
+ async def apply_guardrail(self, text: str, language=None, entities=None) -> str:
+ return f"{text} [GUARDRAILED]"
+
+
+class MockBinaryResponse:
+ """Mock binary response for audio output"""
+
+ def __init__(self, content: bytes = b"fake audio data"):
+ self.content = content
+ self.response = self
+
+ def stream_to_file(self, path):
+ with open(path, "wb") as f:
+ f.write(self.content)
+
+
+class TestHandlerDiscovery:
+ """Test that the handler is properly discovered"""
+
+ def test_handler_discovered_for_speech(self):
+ """Test that speech CallType is mapped to handler"""
+ handler_class = get_guardrail_translation_mapping(CallTypes.speech)
+ assert handler_class == OpenAITextToSpeechHandler
+
+ def test_handler_discovered_for_aspeech(self):
+ """Test that aspeech CallType is mapped to handler"""
+ handler_class = get_guardrail_translation_mapping(CallTypes.aspeech)
+ assert handler_class == OpenAITextToSpeechHandler
+
+
+class TestInputProcessing:
+ """Test input processing functionality"""
+
+ @pytest.mark.asyncio
+ async def test_process_simple_input_text(self):
+ """Test processing a simple input text"""
+ handler = OpenAITextToSpeechHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "model": "tts-1",
+ "input": "The quick brown fox jumped over the lazy dog.",
+ "voice": "alloy",
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ assert (
+ result["input"]
+ == "The quick brown fox jumped over the lazy dog. [GUARDRAILED]"
+ )
+ assert result["model"] == "tts-1"
+ assert result["voice"] == "alloy"
+
+ @pytest.mark.asyncio
+ async def test_process_no_input(self):
+ """Test processing when no input is provided"""
+ handler = OpenAITextToSpeechHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {"model": "tts-1", "voice": "alloy"}
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Should return data unchanged when no input
+ assert result == data
+ assert "input" not in result
+
+ @pytest.mark.asyncio
+ async def test_process_empty_input(self):
+ """Test processing when input is None"""
+ handler = OpenAITextToSpeechHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {"model": "tts-1", "input": None, "voice": "alloy"}
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Should return data unchanged when input is None
+ assert result["input"] is None
+
+ @pytest.mark.asyncio
+ async def test_process_long_input(self):
+ """Test processing a long input text"""
+ handler = OpenAITextToSpeechHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ long_text = "This is a very long text that will be converted to speech. " * 50
+
+ data = {"model": "tts-1-hd", "input": long_text, "voice": "shimmer"}
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ assert result["input"] == f"{long_text} [GUARDRAILED]"
+ assert long_text in result["input"]
+
+ @pytest.mark.asyncio
+ async def test_process_with_all_optional_params(self):
+ """Test processing with all optional TTS parameters"""
+ handler = OpenAITextToSpeechHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "model": "tts-1",
+ "input": "Hello world",
+ "voice": "nova",
+ "response_format": "wav",
+ "speed": 1.5,
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Input should be guardrailed
+ assert result["input"] == "Hello world [GUARDRAILED]"
+ # Other params should be preserved
+ assert result["voice"] == "nova"
+ assert result["response_format"] == "wav"
+ assert result["speed"] == 1.5
+
+
+class TestOutputProcessing:
+ """Test output processing functionality"""
+
+ @pytest.mark.asyncio
+ async def test_output_processing_is_noop(self):
+ """Test that output processing returns response unchanged (audio is binary)"""
+ handler = OpenAITextToSpeechHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ response = MockBinaryResponse(content=b"fake audio mp3 data")
+
+ result = await handler.process_output_response(response, guardrail)
+
+ # Should return unchanged since audio can't be text-guardrailed
+ assert result == response
+ assert result.content == b"fake audio mp3 data"
+
+
+class TestPIIMaskingScenario:
+ """Test real-world scenario: PII masking in TTS input"""
+
+ @pytest.mark.asyncio
+ async def test_pii_masking_in_tts_input(self):
+ """Test that PII can be masked from text before TTS conversion"""
+
+ class PIIMaskingGuardrail(CustomGuardrail):
+ """Mock PII masking guardrail"""
+
+ async def apply_guardrail(
+ self, text: str, language=None, entities=None
+ ) -> str:
+ # Simple mock: replace email-like patterns
+ import re
+
+ masked = re.sub(
+ r"\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b",
+ "[EMAIL_REDACTED]",
+ text,
+ )
+ # Replace names (simple mock)
+ masked = masked.replace("John Doe", "[NAME_REDACTED]")
+ masked = masked.replace("555-1234", "[PHONE_REDACTED]")
+ return masked
+
+ handler = OpenAITextToSpeechHandler()
+ guardrail = PIIMaskingGuardrail(guardrail_name="mask_pii")
+
+ data = {
+ "model": "tts-1",
+ "input": "Hi, I'm John Doe. You can reach me at [email protected] or call 555-1234",
+ "voice": "alloy",
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Verify PII was masked
+ assert "[email protected]" not in result["input"]
+ assert "John Doe" not in result["input"]
+ assert "555-1234" not in result["input"]
+ assert "[EMAIL_REDACTED]" in result["input"]
+ assert "[NAME_REDACTED]" in result["input"]
+ assert "[PHONE_REDACTED]" in result["input"]
+
+ @pytest.mark.asyncio
+ async def test_phone_message_pii_redaction(self):
+ """Test PII redaction in an automated phone message scenario"""
+
+ class PIIMaskingGuardrail(CustomGuardrail):
+ """Mock PII masking guardrail"""
+
+ async def apply_guardrail(
+ self, text: str, language=None, entities=None
+ ) -> str:
+ import re
+
+ # Mask account numbers
+ masked = re.sub(r"account number \d{8,12}", "account number [REDACTED]", text)
+ # Mask SSNs
+ masked = re.sub(r"\d{3}-\d{2}-\d{4}", "[SSN_REDACTED]", masked)
+ # Mask credit cards
+ masked = re.sub(r"\d{4}[- ]?\d{4}[- ]?\d{4}[- ]?\d{4}", "[CC_REDACTED]", masked)
+ return masked
+
+ handler = OpenAITextToSpeechHandler()
+ guardrail = PIIMaskingGuardrail(guardrail_name="mask_pii")
+
+ # Simulate an automated phone system message
+ phone_message = (
+ "Your account number 123456789 has a balance of $500. "
+ "Please verify your SSN 123-45-6789 and card ending in 4532 1234 5678 9010."
+ )
+
+ data = {"model": "tts-1", "input": phone_message, "voice": "onyx"}
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Verify all sensitive data was masked
+ assert "123456789" not in result["input"]
+ assert "123-45-6789" not in result["input"]
+ assert "4532 1234 5678 9010" not in result["input"]
+ assert "[REDACTED]" in result["input"]
+ assert "[SSN_REDACTED]" in result["input"]
+ assert "[CC_REDACTED]" in result["input"]
+
+
+class TestContentModerationScenario:
+ """Test real-world scenario: Content moderation for TTS"""
+
+ @pytest.mark.asyncio
+ async def test_profanity_filtering_before_tts(self):
+ """Test filtering inappropriate content before TTS"""
+
+ class ContentFilterGuardrail(CustomGuardrail):
+ """Mock content filter guardrail"""
+
+ async def apply_guardrail(
+ self, text: str, language=None, entities=None
+ ) -> str:
+ # Simple mock: filter inappropriate words
+ bad_words = ["badword", "inappropriate", "offensive"]
+ filtered = text
+ for word in bad_words:
+ filtered = filtered.replace(word, "[FILTERED]")
+ return filtered
+
+ handler = OpenAITextToSpeechHandler()
+ guardrail = ContentFilterGuardrail(guardrail_name="content_filter")
+
+ data = {
+ "model": "tts-1",
+ "input": "This message contains badword and inappropriate offensive content",
+ "voice": "fable",
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Verify inappropriate content was filtered
+ assert "badword" not in result["input"]
+ assert "inappropriate" not in result["input"]
+ assert "offensive" not in result["input"]
+ assert result["input"].count("[FILTERED]") == 3
+
+
+class TestMultilingualTTS:
+ """Test scenarios with different languages and voices"""
+
+ @pytest.mark.asyncio
+ async def test_multilingual_input_preserved(self):
+ """Test that non-English text is properly processed"""
+ handler = OpenAITextToSpeechHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "model": "tts-1",
+ "input": "Bonjour, comment allez-vous?",
+ "voice": "alloy",
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Text should be guardrailed
+ assert result["input"] == "Bonjour, comment allez-vous? [GUARDRAILED]"
+
+ @pytest.mark.asyncio
+ async def test_all_voice_options(self):
+ """Test that guardrails work with all voice options"""
+ handler = OpenAITextToSpeechHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ voices = ["alloy", "echo", "fable", "onyx", "nova", "shimmer"]
+
+ for voice in voices:
+ data = {
+ "model": "tts-1",
+ "input": f"Testing with {voice} voice",
+ "voice": voice,
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ assert f"Testing with {voice} voice [GUARDRAILED]" == result["input"]
+ assert result["voice"] == voice
+
diff --git a/tests/test_litellm/llms/openai/transcriptions/test_audio_transcription_guardrail_handler.py b/tests/test_litellm/llms/openai/transcriptions/test_audio_transcription_guardrail_handler.py
new file mode 100644
index 00000000000..faa425eb714
--- /dev/null
+++ b/tests/test_litellm/llms/openai/transcriptions/test_audio_transcription_guardrail_handler.py
@@ -0,0 +1,276 @@
+"""
+Unit tests for OpenAI Audio Transcription Guardrail Translation Handler
+"""
+
+import os
+import sys
+
+import pytest
+
+sys.path.insert(0, os.path.abspath("../../../../.."))
+
+from litellm.integrations.custom_guardrail import CustomGuardrail
+from litellm.llms import get_guardrail_translation_mapping
+from litellm.llms.openai.transcriptions.guardrail_translation.handler import (
+ OpenAIAudioTranscriptionHandler,
+)
+from litellm.types.utils import CallTypes
+from litellm.utils import TranscriptionResponse
+
+
+class MockGuardrail(CustomGuardrail):
+ """Mock guardrail for testing"""
+
+ async def apply_guardrail(self, text: str, language=None, entities=None) -> str:
+ return f"{text} [GUARDRAILED]"
+
+
+class TestHandlerDiscovery:
+ """Test that the handler is properly discovered"""
+
+ def test_handler_discovered_for_transcription(self):
+ """Test that transcription CallType is mapped to handler"""
+ handler_class = get_guardrail_translation_mapping(CallTypes.transcription)
+ assert handler_class == OpenAIAudioTranscriptionHandler
+
+ def test_handler_discovered_for_atranscription(self):
+ """Test that atranscription CallType is mapped to handler"""
+ handler_class = get_guardrail_translation_mapping(CallTypes.atranscription)
+ assert handler_class == OpenAIAudioTranscriptionHandler
+
+
+class TestInputProcessing:
+ """Test input processing functionality"""
+
+ @pytest.mark.asyncio
+ async def test_input_processing_is_noop(self):
+ """Test that input processing returns data unchanged (audio files can't be guardrailed)"""
+ handler = OpenAIAudioTranscriptionHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ data = {
+ "model": "whisper-1",
+ "file": "<audio file object>",
+ "response_format": "json",
+ }
+
+ result = await handler.process_input_messages(data, guardrail)
+
+ # Should return unchanged since audio files can't be text-guardrailed
+ assert result == data
+ assert result["model"] == "whisper-1"
+ assert result["file"] == "<audio file object>"
+
+
+class TestOutputProcessing:
+ """Test output processing functionality"""
+
+ @pytest.mark.asyncio
+ async def test_process_simple_transcription(self):
+ """Test processing a simple transcription response"""
+ handler = OpenAIAudioTranscriptionHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ response = TranscriptionResponse(
+ text="This is a test transcription",
+ )
+
+ result = await handler.process_output_response(response, guardrail)
+
+ assert result.text == "This is a test transcription [GUARDRAILED]"
+
+ @pytest.mark.asyncio
+ async def test_process_transcription_with_metadata(self):
+ """Test processing transcription with additional metadata"""
+ handler = OpenAIAudioTranscriptionHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ response = TranscriptionResponse(
+ text="Hello world",
+ )
+ # Add metadata
+ response.duration = 3.5
+ response.language = "en"
+
+ result = await handler.process_output_response(response, guardrail)
+
+ # Text should be guardrailed
+ assert result.text == "Hello world [GUARDRAILED]"
+ # Metadata should be preserved
+ assert result.duration == 3.5
+ assert result.language == "en"
+
+ @pytest.mark.asyncio
+ async def test_process_empty_text(self):
+ """Test processing transcription with None text"""
+ handler = OpenAIAudioTranscriptionHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ response = TranscriptionResponse(text=None)
+
+ result = await handler.process_output_response(response, guardrail)
+
+ # Should return unchanged when text is None
+ assert result.text is None
+
+ @pytest.mark.asyncio
+ async def test_process_long_transcription(self):
+ """Test processing a long transcription"""
+ handler = OpenAIAudioTranscriptionHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ long_text = "This is a very long transcription. " * 100
+
+ response = TranscriptionResponse(text=long_text)
+
+ result = await handler.process_output_response(response, guardrail)
+
+ assert result.text == f"{long_text} [GUARDRAILED]"
+ assert long_text in result.text
+
+
+class TestPIIMaskingScenario:
+ """Test real-world scenario: PII masking in transcriptions"""
+
+ @pytest.mark.asyncio
+ async def test_pii_masking_in_transcription(self):
+ """Test that PII can be masked from transcribed audio"""
+
+ class PIIMaskingGuardrail(CustomGuardrail):
+ """Mock PII masking guardrail"""
+
+ async def apply_guardrail(
+ self, text: str, language=None, entities=None
+ ) -> str:
+ # Simple mock: replace email-like patterns
+ import re
+
+ masked = re.sub(
+ r"\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b",
+ "[EMAIL_REDACTED]",
+ text,
+ )
+ # Replace names (simple mock)
+ masked = masked.replace("John Doe", "[NAME_REDACTED]")
+ masked = masked.replace("555-1234", "[PHONE_REDACTED]")
+ return masked
+
+ handler = OpenAIAudioTranscriptionHandler()
+ guardrail = PIIMaskingGuardrail(guardrail_name="mask_pii")
+
+ # Simulate transcription that contains PII
+ response = TranscriptionResponse(
+ text="My name is John Doe and you can reach me at [email protected] or call 555-1234"
+ )
+
+ result = await handler.process_output_response(response, guardrail)
+
+ # Verify PII was masked
+ assert "[email protected]" not in result.text
+ assert "John Doe" not in result.text
+ assert "555-1234" not in result.text
+ assert "[EMAIL_REDACTED]" in result.text
+ assert "[NAME_REDACTED]" in result.text
+ assert "[PHONE_REDACTED]" in result.text
+
+ @pytest.mark.asyncio
+ async def test_meeting_transcription_pii_redaction(self):
+ """Test PII redaction in a meeting transcription scenario"""
+
+ class PIIMaskingGuardrail(CustomGuardrail):
+ """Mock PII masking guardrail"""
+
+ async def apply_guardrail(
+ self, text: str, language=None, entities=None
+ ) -> str:
+ import re
+
+ # Mask credit card numbers
+ masked = re.sub(
+ r"\d{4}[- ]?\d{4}[- ]?\d{4}[- ]?\d{4}", "[CC_REDACTED]", text
+ )
+ # Mask SSNs
+ masked = re.sub(r"\d{3}-\d{2}-\d{4}", "[SSN_REDACTED]", masked)
+ # Mask emails
+ masked = re.sub(
+ r"\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b",
+ "[EMAIL_REDACTED]",
+ masked,
+ )
+ return masked
+
+ handler = OpenAIAudioTranscriptionHandler()
+ guardrail = PIIMaskingGuardrail(guardrail_name="mask_pii")
+
+ # Simulate a meeting transcription with sensitive data
+ meeting_text = (
+ "During our call, the customer mentioned their card number is 4532-1234-5678-9010 "
+ "and their SSN is 123-45-6789. You can email them at [email protected] for follow-up."
+ )
+
+ response = TranscriptionResponse(text=meeting_text)
+ result = await handler.process_output_response(response, guardrail)
+
+ # Verify all PII was masked
+ assert "4532-1234-5678-9010" not in result.text
+ assert "123-45-6789" not in result.text
+ assert "[email protected]" not in result.text
+ assert "[CC_REDACTED]" in result.text
+ assert "[SSN_REDACTED]" in result.text
+ assert "[EMAIL_REDACTED]" in result.text
+
+
+class TestContentModerationScenario:
+ """Test real-world scenario: Content moderation on transcriptions"""
+
+ @pytest.mark.asyncio
+ async def test_profanity_filtering(self):
+ """Test filtering profanity from transcriptions"""
+
+ class ProfanityFilterGuardrail(CustomGuardrail):
+ """Mock profanity filter guardrail"""
+
+ async def apply_guardrail(
+ self, text: str, language=None, entities=None
+ ) -> str:
+ # Simple mock: replace common profanity
+ bad_words = ["badword1", "badword2", "inappropriate"]
+ filtered = text
+ for word in bad_words:
+ filtered = filtered.replace(word, "[FILTERED]")
+ return filtered
+
+ handler = OpenAIAudioTranscriptionHandler()
+ guardrail = ProfanityFilterGuardrail(guardrail_name="content_filter")
+
+ response = TranscriptionResponse(
+ text="This contains badword1 and inappropriate content with badword2"
+ )
+
+ result = await handler.process_output_response(response, guardrail)
+
+ # Verify profanity was filtered
+ assert "badword1" not in result.text
+ assert "badword2" not in result.text
+ assert "inappropriate" not in result.text
+ assert result.text.count("[FILTERED]") == 3
+
+
+class TestMultilingualTranscription:
+ """Test scenarios with different languages"""
+
+ @pytest.mark.asyncio
+ async def test_transcription_preserves_language_info(self):
+ """Test that language metadata is preserved when applying guardrails"""
+ handler = OpenAIAudioTranscriptionHandler()
+ guardrail = MockGuardrail(guardrail_name="test")
+
+ response = TranscriptionResponse(text="Bonjour le monde")
+ response.language = "fr"
+
+ result = await handler.process_output_response(response, guardrail)
+
+ # Text should be guardrailed
+ assert result.text == "Bonjour le monde [GUARDRAILED]"
+ # Language metadata should be preserved
+ assert result.language == "fr"
diff --git a/tests/test_litellm/proxy/guardrails/guardrail_hooks/test_presidio.py b/tests/test_litellm/proxy/guardrails/guardrail_hooks/test_presidio.py
new file mode 100644
index 00000000000..1acf0080e3f
--- /dev/null
+++ b/tests/test_litellm/proxy/guardrails/guardrail_hooks/test_presidio.py
@@ -0,0 +1,553 @@
+"""
+Unit tests for Presidio PII Masking Guardrail
+Tests PII detection and masking for different message formats
+"""
+
+import asyncio
+import json
+import os
+import sys
+from unittest.mock import AsyncMock, MagicMock, patch
+
+import pytest
+
+sys.path.insert(0, os.path.abspath("../../../../../.."))
+
+from litellm.caching.caching import DualCache
+from litellm.proxy._types import UserAPIKeyAuth
+from litellm.proxy.guardrails.guardrail_hooks.presidio import (
+ _OPTIONAL_PresidioPIIMasking,
+)
+from litellm.types.guardrails import PiiAction, PiiEntityType
+
+
+def presidio_guardrail():
+ """Create a Presidio guardrail instance for testing"""
+ return _OPTIONAL_PresidioPIIMasking(
+ mock_testing=True,
+ output_parse_pii=False,
+ pii_entities_config={
+ PiiEntityType.CREDIT_CARD: PiiAction.MASK,
+ PiiEntityType.EMAIL_ADDRESS: PiiAction.MASK,
+ PiiEntityType.PHONE_NUMBER: PiiAction.MASK,
+ },
+ )
+
+
+def mock_user_api_key():
+ """Create a mock user API key auth object"""
+ return UserAPIKeyAuth(
+ api_key="test_key",
+ user_id="test_user",
+ )
+
+
+def mock_cache():
+ """Create a mock cache object"""
+ return MagicMock(spec=DualCache)
+
+
+async def test_multimodal_message_format_completion_call_type(
+ presidio_guardrail, mock_user_api_key, mock_cache
+):
+ """
+ Test Presidio PII masking with multimodal message format (content as list)
+ for completion call type.
+
+ Tests the message format:
+ {
+ "role": "user",
+ "content": [
+ {
+ "type": "text",
+ "text": "My credit card number is 4111-1111-1111-1111..."
+ }
+ ]
+ }
+ """
+ # Prepare test data with multimodal message format
+ test_data = {
+ "messages": [
+ {
+ "role": "user",
+ "content": [
+ {
+ "type": "text",
+ "text": "My credit card number is 4111-1111-1111-1111, my email is [email protected], and my phone is 555-123-4567",
+ }
+ ],
+ }
+ ],
+ "model": "gpt-4",
+ }
+
+ # Mock the check_pii method to return redacted text
+ async def mock_check_pii(text, output_parse_pii, presidio_config, request_data):
+ # Simulate PII detection and masking
+ redacted_text = text
+ redacted_text = redacted_text.replace("4111-1111-1111-1111", "[CREDIT_CARD]")
+ redacted_text = redacted_text.replace("[email protected]", "[EMAIL]")
+ redacted_text = redacted_text.replace("555-123-4567", "[PHONE]")
+ return redacted_text
+
+ presidio_guardrail.check_pii = mock_check_pii
+
+ # Call the async_pre_call_hook with call_type="completion"
+ result = await presidio_guardrail.async_pre_call_hook(
+ user_api_key_dict=mock_user_api_key,
+ cache=mock_cache,
+ data=test_data,
+ call_type="completion",
+ )
+
+ # Verify that PII was masked in the text field
+ assert result is not None
+ assert "messages" in result
+ assert len(result["messages"]) == 1
+
+ message = result["messages"][0]
+ assert "content" in message
+ assert isinstance(message["content"], list)
+ assert len(message["content"]) == 1
+
+ content_item = message["content"][0]
+ assert content_item["type"] == "text"
+ assert "[CREDIT_CARD]" in content_item["text"]
+ assert "[EMAIL]" in content_item["text"]
+ assert "[PHONE]" in content_item["text"]
+
+ # Verify original PII is not present
+ assert "4111-1111-1111-1111" not in content_item["text"]
+ assert "[email protected]" not in content_item["text"]
+ assert "555-123-4567" not in content_item["text"]
+
+ print("✓ Multimodal message format test for completion call type passed")
+
+
+async def test_multimodal_message_format_anthropic_messages_call_type(
+ presidio_guardrail, mock_user_api_key, mock_cache
+):
+ """
+ Test Presidio PII masking with multimodal message format (content as list)
+ for anthropic_messages call type.
+
+ Tests the same message format but with anthropic_messages call type.
+ """
+ # Prepare test data with multimodal message format
+ test_data = {
+ "messages": [
+ {
+ "role": "user",
+ "content": [
+ {
+ "type": "text",
+ "text": "My credit card number is 4111-1111-1111-1111, my email is [email protected], and my phone is 555-123-4567",
+ }
+ ],
+ }
+ ],
+ "model": "claude-3-opus-20240229",
+ }
+
+ # Mock the check_pii method to return redacted text
+ async def mock_check_pii(text, output_parse_pii, presidio_config, request_data):
+ # Simulate PII detection and masking
+ redacted_text = text
+ redacted_text = redacted_text.replace("4111-1111-1111-1111", "[CREDIT_CARD]")
+ redacted_text = redacted_text.replace("[email protected]", "[EMAIL]")
+ redacted_text = redacted_text.replace("555-123-4567", "[PHONE]")
+ return redacted_text
+
+ presidio_guardrail.check_pii = mock_check_pii
+
+ # Call the async_pre_call_hook with call_type="anthropic_messages"
+ result = await presidio_guardrail.async_pre_call_hook(
+ user_api_key_dict=mock_user_api_key,
+ cache=mock_cache,
+ data=test_data,
+ call_type="anthropic_messages",
+ )
+
+ # Verify that PII was masked in the text field
+ assert result is not None
+ assert "messages" in result
+ assert len(result["messages"]) == 1
+
+ message = result["messages"][0]
+ assert "content" in message
+ assert isinstance(message["content"], list)
+ assert len(message["content"]) == 1
+
+ content_item = message["content"][0]
+ assert content_item["type"] == "text"
+ assert "[CREDIT_CARD]" in content_item["text"]
+ assert "[EMAIL]" in content_item["text"]
+ assert "[PHONE]" in content_item["text"]
+
+ # Verify original PII is not present
+ assert "4111-1111-1111-1111" not in content_item["text"]
+ assert "[email protected]" not in content_item["text"]
+ assert "555-123-4567" not in content_item["text"]
+
+ print("✓ Multimodal message format test for anthropic_messages call type passed")
+
+
+async def test_multimodal_message_multiple_content_items(
+ presidio_guardrail, mock_user_api_key, mock_cache
+):
+ """
+ Test Presidio PII masking with multiple content items in the content list.
+ """
+ # Prepare test data with multiple content items
+ test_data = {
+ "messages": [
+ {
+ "role": "user",
+ "content": [
+ {
+ "type": "text",
+ "text": "My credit card is 4111-1111-1111-1111",
+ },
+ {
+ "type": "text",
+ "text": "My email is [email protected]",
+ },
+ ],
+ }
+ ],
+ "model": "gpt-4",
+ }
+
+ # Mock the check_pii method
+ async def mock_check_pii(text, output_parse_pii, presidio_config, request_data):
+ redacted_text = text
+ redacted_text = redacted_text.replace("4111-1111-1111-1111", "[CREDIT_CARD]")
+ redacted_text = redacted_text.replace("[email protected]", "[EMAIL]")
+ return redacted_text
+
+ presidio_guardrail.check_pii = mock_check_pii
+
+ # Call the async_pre_call_hook
+ result = await presidio_guardrail.async_pre_call_hook(
+ user_api_key_dict=mock_user_api_key,
+ cache=mock_cache,
+ data=test_data,
+ call_type="completion",
+ )
+
+ # Verify both content items were processed
+ assert result is not None
+ message = result["messages"][0]
+ content_items = message["content"]
+
+ assert len(content_items) == 2
+ assert "[CREDIT_CARD]" in content_items[0]["text"]
+ assert "[EMAIL]" in content_items[1]["text"]
+
+ print("✓ Multiple content items test passed")
+
+
+async def test_mixed_string_and_list_content(
+ presidio_guardrail, mock_user_api_key, mock_cache
+):
+ """
+ Test Presidio PII masking with mixed string and list content formats.
+ """
+ # Prepare test data with mixed content formats
+ test_data = {
+ "messages": [
+ {
+ "role": "user",
+ "content": "My credit card is 4111-1111-1111-1111",
+ },
+ {
+ "role": "assistant",
+ "content": "I can help you with that.",
+ },
+ {
+ "role": "user",
+ "content": [
+ {
+ "type": "text",
+ "text": "My email is [email protected]",
+ }
+ ],
+ },
+ ],
+ "model": "gpt-4",
+ }
+
+ # Mock the check_pii method
+ async def mock_check_pii(text, output_parse_pii, presidio_config, request_data):
+ redacted_text = text
+ redacted_text = redacted_text.replace("4111-1111-1111-1111", "[CREDIT_CARD]")
+ redacted_text = redacted_text.replace("[email protected]", "[EMAIL]")
+ return redacted_text
+
+ presidio_guardrail.check_pii = mock_check_pii
+
+ # Call the async_pre_call_hook
+ result = await presidio_guardrail.async_pre_call_hook(
+ user_api_key_dict=mock_user_api_key,
+ cache=mock_cache,
+ data=test_data,
+ call_type="completion",
+ )
+
+ # Verify all messages were processed correctly
+ assert result is not None
+ messages = result["messages"]
+
+ # First message (string content)
+ assert isinstance(messages[0]["content"], str)
+ assert "[CREDIT_CARD]" in messages[0]["content"]
+
+ # Second message (string content, no PII)
+ assert isinstance(messages[1]["content"], str)
+ assert messages[1]["content"] == "I can help you with that."
+
+ # Third message (list content)
+ assert isinstance(messages[2]["content"], list)
+ assert "[EMAIL]" in messages[2]["content"][0]["text"]
+
+ print("✓ Mixed string and list content test passed")
+
+
+async def test_content_list_without_text_field(
+ presidio_guardrail, mock_user_api_key, mock_cache
+):
+ """
+ Test Presidio PII masking gracefully handles content items without text field
+ (e.g., image content items).
+ """
+ # Prepare test data with image content (no text field)
+ test_data = {
+ "messages": [
+ {
+ "role": "user",
+ "content": [
+ {
+ "type": "image_url",
+ "image_url": {"url": "https://example.com/image.jpg"},
+ },
+ {
+ "type": "text",
+ "text": "What's in this image? My email is [email protected]",
+ },
+ ],
+ }
+ ],
+ "model": "gpt-4-vision",
+ }
+
+ # Mock the check_pii method
+ async def mock_check_pii(text, output_parse_pii, presidio_config, request_data):
+ redacted_text = text.replace("[email protected]", "[EMAIL]")
+ return redacted_text
+
+ presidio_guardrail.check_pii = mock_check_pii
+
+ # Call the async_pre_call_hook
+ result = await presidio_guardrail.async_pre_call_hook(
+ user_api_key_dict=mock_user_api_key,
+ cache=mock_cache,
+ data=test_data,
+ call_type="completion",
+ )
+
+ # Verify that image content is preserved and text content is processed
+ assert result is not None
+ content_items = result["messages"][0]["content"]
+
+ assert len(content_items) == 2
+ # Image content should remain unchanged
+ assert content_items[0]["type"] == "image_url"
+ assert content_items[0]["image_url"]["url"] == "https://example.com/image.jpg"
+
+ # Text content should be redacted
+ assert content_items[1]["type"] == "text"
+ assert "[EMAIL]" in content_items[1]["text"]
+
+ print("✓ Content list without text field test passed")
+
+
+async def test_empty_messages(presidio_guardrail, mock_user_api_key, mock_cache):
+ """
+ Test that Presidio handles empty messages gracefully.
+ """
+ test_data = {
+ "messages": [],
+ "model": "gpt-4",
+ }
+
+ # Call the async_pre_call_hook
+ result = await presidio_guardrail.async_pre_call_hook(
+ user_api_key_dict=mock_user_api_key,
+ cache=mock_cache,
+ data=test_data,
+ call_type="completion",
+ )
+
+ # Should return data unchanged
+ assert result == test_data
+ print("✓ Empty messages test passed")
+
+
+async def test_no_messages_field(presidio_guardrail, mock_user_api_key, mock_cache):
+ """
+ Test that Presidio handles missing messages field gracefully.
+ """
+ test_data = {
+ "model": "gpt-4",
+ "prompt": "This is a completion request",
+ }
+
+ # Call the async_pre_call_hook
+ result = await presidio_guardrail.async_pre_call_hook(
+ user_api_key_dict=mock_user_api_key,
+ cache=mock_cache,
+ data=test_data,
+ call_type="completion",
+ )
+
+ # Should return data unchanged
+ assert result == test_data
+ print("✓ No messages field test passed")
+
+
+async def test_logging_hook_multimodal_message_format(presidio_guardrail):
+ """
+ Test Presidio async_logging_hook with multimodal message format for completion call type.
+ This hook is used to mask PII before logging to external services.
+ """
+ # Prepare kwargs with multimodal message format
+ test_kwargs = {
+ "messages": [
+ {
+ "role": "user",
+ "content": [
+ {
+ "type": "text",
+ "text": "My credit card number is 4111-1111-1111-1111, my email is [email protected]",
+ }
+ ],
+ }
+ ],
+ "model": "gpt-4",
+ }
+
+ # Mock result
+ mock_result = {"choices": [{"message": {"content": "Response"}}]}
+
+ # Mock the check_pii method
+ async def mock_check_pii(text, output_parse_pii, presidio_config, request_data):
+ redacted_text = text
+ redacted_text = redacted_text.replace("4111-1111-1111-1111", "[CREDIT_CARD]")
+ redacted_text = redacted_text.replace("[email protected]", "[EMAIL]")
+ return redacted_text
+
+ presidio_guardrail.check_pii = mock_check_pii
+
+ # Call the async_logging_hook
+ result_kwargs, result_response = await presidio_guardrail.async_logging_hook(
+ kwargs=test_kwargs,
+ result=mock_result,
+ call_type="completion",
+ )
+
+ # Verify that PII was masked in the kwargs
+ assert result_kwargs is not None
+ assert "messages" in result_kwargs
+ message = result_kwargs["messages"][0]
+ content_item = message["content"][0]
+
+ assert "[CREDIT_CARD]" in content_item["text"]
+ assert "[EMAIL]" in content_item["text"]
+ assert "4111-1111-1111-1111" not in content_item["text"]
+ assert "[email protected]" not in content_item["text"]
+
+ print("✓ Logging hook multimodal message format test passed")
+
+
+async def test_logging_hook_multiple_content_items(presidio_guardrail):
+ """
+ Test Presidio async_logging_hook with multiple content items in a single message.
+ """
+ test_kwargs = {
+ "messages": [
+ {
+ "role": "user",
+ "content": [
+ {
+ "type": "text",
+ "text": "My credit card is 4111-1111-1111-1111",
+ },
+ {
+ "type": "text",
+ "text": "My email is [email protected]",
+ },
+ ],
+ }
+ ],
+ "model": "gpt-4",
+ }
+
+ mock_result = {"choices": [{"message": {"content": "Response"}}]}
+
+ # Mock the check_pii method
+ async def mock_check_pii(text, output_parse_pii, presidio_config, request_data):
+ redacted_text = text
+ redacted_text = redacted_text.replace("4111-1111-1111-1111", "[CREDIT_CARD]")
+ redacted_text = redacted_text.replace("[email protected]", "[EMAIL]")
+ return redacted_text
+
+ presidio_guardrail.check_pii = mock_check_pii
+
+ # Call the async_logging_hook
+ result_kwargs, result_response = await presidio_guardrail.async_logging_hook(
+ kwargs=test_kwargs,
+ result=mock_result,
+ call_type="completion",
+ )
+
+ # Verify both content items were processed
+ message = result_kwargs["messages"][0]
+ content_items = message["content"]
+
+ assert len(content_items) == 2
+ assert "[CREDIT_CARD]" in content_items[0]["text"]
+ assert "[EMAIL]" in content_items[1]["text"]
+
+ print("✓ Logging hook multiple content items test passed")
+
+
+if __name__ == "__main__":
+ # Run tests
+ asyncio.run(
+ test_multimodal_message_format_completion_call_type(
+ _OPTIONAL_PresidioPIIMasking(
+ mock_testing=True,
+ output_parse_pii=False,
+ pii_entities_config={
+ PiiEntityType.CREDIT_CARD: PiiAction.MASK,
+ PiiEntityType.EMAIL_ADDRESS: PiiAction.MASK,
+ PiiEntityType.PHONE_NUMBER: PiiAction.MASK,
+ },
+ ),
+ UserAPIKeyAuth(api_key="test_key", user_id="test_user"),
+ MagicMock(spec=DualCache),
+ )
+ )
+ print("\n✅ All Presidio tests passed!")