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
feat: show proxy url in ModelHub (#21660)
janfrederickk107f9dc46c44
diff --git a/ui/litellm-dashboard/src/components/AIHub/ModelHubTable.tsx b/ui/litellm-dashboard/src/components/AIHub/ModelHubTable.tsxindex 71b84e281df..537aa001b70 100644--- a/ui/litellm-dashboard/src/components/AIHub/ModelHubTable.tsx+++ b/ui/litellm-dashboard/src/components/AIHub/ModelHubTable.tsx@@ -659,7 +659,7 @@ const ModelHubTable: React.FC<ModelHubTableProps> = ({ accessToken, publicPage,client = openai.OpenAI(api_key="your_api_key",- base_url="http://0.0.0.0:4000" # Your LiteLLM Proxy URL+ base_url="${getProxyBaseUrl()}" # Your LiteLLM Proxy URL)response = client.chat.completions.create(@@ -997,7 +997,7 @@ import asyncioconfig = {"mcpServers": {"${selectedMcpServer.server_name}": {- "url": "http://localhost:4000/${selectedMcpServer.server_name}/mcp",+ "url": "${getProxyBaseUrl()}/${selectedMcpServer.server_name}/mcp","headers": {"x-litellm-api-key": "Bearer sk-1234"}@@ -1016,7 +1016,7 @@ async def main():# Call a toolresponse = await client.call_tool(- name="tool_name",+ name="tool_name",arguments={"arg": "value"})print(f"Response: {response}")