forked from phoenix/litellm-mirror
(fix) show correct spend on ui
This commit is contained in:
parent
6233351b01
commit
7df2d7cb33
4 changed files with 6 additions and 18 deletions
|
@ -276,17 +276,10 @@ const CreateKey: React.FC<CreateKeyProps> = ({
|
|||
{apiKey != null ? (
|
||||
<div>
|
||||
<Text>API Key: {apiKey}</Text>
|
||||
<Title className="mt-6">Budgets</Title>
|
||||
<Text>Soft Limit Budget: ${softBudget}</Text>
|
||||
|
||||
<Button className="mt-3" onClick={sendSlackAlert}>
|
||||
Test Slack Alert
|
||||
Test Key
|
||||
</Button>
|
||||
<Text className="mt-2">
|
||||
(LiteLLM Docs -
|
||||
<a href="https://docs.litellm.ai/docs/proxy/alerting" target="_blank" className="text-blue-500">
|
||||
Set Up Slack Alerting)
|
||||
</a>
|
||||
</Text>
|
||||
</div>
|
||||
) : (
|
||||
<Text>Key being created, this might take 30s</Text>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue