forked from phoenix/litellm-mirror
(feat) set soft budget limits on ui
This commit is contained in:
parent
1bb8263c92
commit
163c8f1c5a
2 changed files with 4 additions and 1 deletions
|
@ -108,6 +108,9 @@ const CreateKey: React.FC<CreateKeyProps> = ({
|
||||||
))}
|
))}
|
||||||
</Select>
|
</Select>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
<Form.Item label="Soft Budget (USD) Monthly" name="soft_budget">
|
||||||
|
<InputNumber step={0.01} precision={2} defaultValue={50.00} width={200} />
|
||||||
|
</Form.Item>
|
||||||
<Form.Item label="Max Budget (USD)" name="max_budget">
|
<Form.Item label="Max Budget (USD)" name="max_budget">
|
||||||
<InputNumber step={0.01} precision={2} width={200} />
|
<InputNumber step={0.01} precision={2} width={200} />
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|
|
@ -105,7 +105,7 @@ const ViewKeySpendReport: React.FC<ViewKeySpendReportProps> = ({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Button size = "xs" onClick={showModal}>
|
<Button size = "xs" onClick={showModal} variant="secondary">
|
||||||
View Spend Report
|
View Spend Report
|
||||||
</Button>
|
</Button>
|
||||||
<Modal
|
<Modal
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue