mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
(ui) show message again
This commit is contained in:
parent
7a1cab83db
commit
eb3aeff37f
1 changed files with 18 additions and 5 deletions
|
@ -123,12 +123,25 @@ const CreateKey: React.FC<CreateKeyProps> = ({
|
||||||
visible={isModalVisible}
|
visible={isModalVisible}
|
||||||
onOk={handleOk}
|
onOk={handleOk}
|
||||||
onCancel={handleCancel}
|
onCancel={handleCancel}
|
||||||
|
footer={null}
|
||||||
>
|
>
|
||||||
{/* Display the result here */}
|
<Grid numItems={1} className="gap-2 w-full">
|
||||||
<p>
|
<Col numColSpan={1}>
|
||||||
API Key: {apiKey} <br />
|
<p>
|
||||||
{/* Display other API response details here */}
|
Please save this secret key somewhere safe and accessible. For
|
||||||
</p>
|
security reasons, <b>you will not be able to view it again</b>{" "}
|
||||||
|
through your LiteLLM account. If you lose this secret key, you will
|
||||||
|
need to generate a new one.
|
||||||
|
</p>
|
||||||
|
</Col>
|
||||||
|
<Col numColSpan={1}>
|
||||||
|
{apiKey != null ? (
|
||||||
|
<Text>API Key: {apiKey}</Text>
|
||||||
|
) : (
|
||||||
|
<Text>Key being created, this might take 30s</Text>
|
||||||
|
)}
|
||||||
|
</Col>
|
||||||
|
</Grid>
|
||||||
</Modal>
|
</Modal>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue