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
Remove cost tracking disabled tooltip in chat ui (#16953)
Ishaan Jaff34f0c3c4dce1
diff --git a/ui/litellm-dashboard/src/components/playground/chat_ui/ResponseMetrics.tsx b/ui/litellm-dashboard/src/components/playground/chat_ui/ResponseMetrics.tsxindex 658d55b12d8..01eafa4d534 100644--- a/ui/litellm-dashboard/src/components/playground/chat_ui/ResponseMetrics.tsx+++ b/ui/litellm-dashboard/src/components/playground/chat_ui/ResponseMetrics.tsx@@ -84,17 +84,11 @@ const ResponseMetrics: React.FC<ResponseMetricsProps> = ({ timeToFirstToken, tot</Tooltip>)}- {usage && (- <Tooltip- title={- usage.cost !== undefined- ? "Cost"- : "Cost tracking is disabled. Set include_cost_in_streaming_usage: true in your proxy config to enable cost tracking."- }- >+ {usage?.cost !== undefined && (+ <Tooltip title="Cost"><div className="flex items-center"><DollarOutlined className="mr-1" />- <span>{usage.cost !== undefined ? `$${usage.cost.toFixed(6)}` : "Not Tracked"}</span>+ <span>${usage.cost.toFixed(6)}</span></div></Tooltip>)}