mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
UI Improvements + Fixes - remove 'default key' on user signup + fix showing user models available for personal key creation (#9741)
* fix(create_user_button.tsx): don't auto create key on user signup prevents unknown key from being created whenever user signs up * fix(top_key_view.tsx): show key hash on hover for new usage tab * fix(create_key_button.tsx): fix showing user models they have access to during personal key creatio
This commit is contained in:
parent
3d58963c64
commit
b536956e25
5 changed files with 13 additions and 10 deletions
|
@ -528,6 +528,8 @@ export const userCreateCall = async (
|
|||
delete formValues.description;
|
||||
formValues.metadata = JSON.stringify(formValues.metadata);
|
||||
}
|
||||
|
||||
formValues.auto_create_key = false;
|
||||
// if formValues.metadata is not undefined, make it a valid dict
|
||||
if (formValues.metadata) {
|
||||
console.log("formValues.metadata:", formValues.metadata);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue