mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-27 01:22:18 +00:00
refactor(ui): drop unused cost-tracking barrel re-exports and response types
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
decbb96382
commit
221dc23ce2
2 changed files with 0 additions and 23 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue