The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
working button toggle
Ishaan Jaffb504e3b40662
diff --git a/ui/litellm-dashboard/src/components/top_key_view.tsx b/ui/litellm-dashboard/src/components/top_key_view.tsxindex 11c7877f9c5..9de9985908f 100644--- a/ui/litellm-dashboard/src/components/top_key_view.tsx+++ b/ui/litellm-dashboard/src/components/top_key_view.tsx@@ -100,20 +100,20 @@ const TopKeyView: React.FC<TopKeyViewProps> = ({return (<>- <div className="mb-4 flex justify-between items-center">+ <div className="mb-4 flex justify-end items-center"><div className="flex space-x-2">+ <button+ onClick={() => setViewMode('table')}+ className={`px-3 py-1 text-sm rounded-md ${viewMode === 'table' ? 'bg-blue-100 text-blue-700' : 'bg-gray-100 text-gray-700'}`}+ >+ Table View+ </button><buttononClick={() => setViewMode('chart')}className={`px-3 py-1 text-sm rounded-md ${viewMode === 'chart' ? 'bg-blue-100 text-blue-700' : 'bg-gray-100 text-gray-700'}`}>Chart View</button>- <button- onClick={() => setViewMode('table')}- className={`px-3 py-1 text-sm rounded-md ${viewMode === 'table' ? 'bg-blue-100 text-blue-700' : 'bg-gray-100 text-gray-700'}`}- >- Table View- </button></div></div>