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
refactor(ui): drop unused cost-tracking barrel re-exports and response types
mateo221dc23ce2c8
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/_components/index.ts b/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/_components/index.tsindex 90701dd8f1f..4771000a2e2 100644--- a/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/_components/index.ts+++ b/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/_components/index.ts@@ -1,16 +1 @@export { default as CostTrackingSettings } from "./cost_tracking_settings";-export { default as ProviderDiscountTable } from "./provider_discount_table";-export { default as AddProviderForm } from "./add_provider_form";-export { default as ProviderMarginTable } from "./provider_margin_table";-export { default as AddMarginForm } from "./add_margin_form";-export { default as HowItWorks } from "./how_it_works";-export type {- CostTrackingSettingsProps,- DiscountConfig,- CostDiscountResponse,- MarginConfig,- CostMarginResponse,-} from "./types";-export * from "./provider_display_helpers";-export { useDiscountConfig } from "./use_discount_config";-export { useMarginConfig } from "./use_margin_config";diff --git a/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/_components/types.ts b/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/_components/types.tsindex f824e2f1eff..07a807df66e 100644--- a/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/_components/types.ts+++ b/ui/litellm-dashboard/src/app/(dashboard)/cost-tracking/_components/types.ts@@ -8,18 +8,10 @@ export interface DiscountConfig {[provider: string]: number;}-export interface CostDiscountResponse {- values: DiscountConfig;-}-export interface MarginConfig {[provider: string]: number | { percentage?: number; fixed_amount?: number };}-export interface CostMarginResponse {- values: MarginConfig;-}-export interface CostEstimateRequest {model: string;input_tokens: number;