From e1dcb6c76beee531e0f25e04733d1df71689c265 Mon Sep 17 00:00:00 2001 From: yuneng Date: Wed, 26 Aug 2026 17:25:04 +0000 Subject: [PATCH] style(ui): format the add model mapping column defs Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .../add_model/conditional_public_model_name.tsx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/ui/litellm-dashboard/src/components/add_model/conditional_public_model_name.tsx b/ui/litellm-dashboard/src/components/add_model/conditional_public_model_name.tsx index f83ace0dbfb..18dd5e4f80e 100644 --- a/ui/litellm-dashboard/src/components/add_model/conditional_public_model_name.tsx +++ b/ui/litellm-dashboard/src/components/add_model/conditional_public_model_name.tsx @@ -36,19 +36,14 @@ const modelMappingsRule = { const tooltipCodeClassName = "rounded-sm bg-background/20 px-1 py-0.5 font-mono text-xs"; -const ANTHROPIC_1M_HEADERS = JSON.stringify( - { extra_headers: { "anthropic-beta": "context-1m-2025-08-07" } }, - null, - 2, -); +const ANTHROPIC_1M_HEADERS = JSON.stringify({ extra_headers: { "anthropic-beta": "context-1m-2025-08-07" } }, null, 2); const publicNameTooltipContent = (
The name you specify in your API calls to LiteLLM Proxy
- Example: If you name your public model{" "} - example-name, and choose{" "} - openai/qwen-plus-latest as the LiteLLM model + Example: If you name your public model example-name + , and choose openai/qwen-plus-latest as the LiteLLM model
Usage: You make an API call to the LiteLLM proxy with{" "}