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:
Krish Dholakia 2025-04-03 20:00:45 -07:00 committed by GitHub
parent 3d58963c64
commit b536956e25
5 changed files with 13 additions and 10 deletions

View file

@ -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);