litellm icon indicating copy to clipboard operation
litellm copied to clipboard

[Bug]: Can't modify models settings on UI (Edit Option)

Open MattCarneiro opened this issue 9 months ago • 10 comments

What happened?

A bug happened!

If I select a model and click on edit icon, there's a button called Edit Model. If I press it and try to modify model name or public name and save. It saves but after refresh the page, the public model name still the same. Same if I try to update via API. It changes on patch request but then after refresh it stays the same public name

Relevant log output


Are you a ML Ops Team?

No

What LiteLLM version are you on ?

v1.63.3 (main-latest)

Twitter / LinkedIn details

No response

MattCarneiro avatar Mar 10 '25 22:03 MattCarneiro

Hey @MattCarneiro is this on a db model or config model?

krrishdholakia avatar Mar 10 '25 23:03 krrishdholakia

Hey @MattCarneiro is this on a db model or config model?

DB model

MattCarneiro avatar Mar 10 '25 23:03 MattCarneiro

I noticed something strange. If I update public name via API on (main-latest) version, it doesn't change anything. At least on UI still the old public name and if I do a Get request still the old name. However, if I downgrade to (main-stable) version, it shows the new updated name under the model public name.

MattCarneiro avatar Mar 10 '25 23:03 MattCarneiro

what's the version of main-stable?

krrishdholakia avatar Mar 10 '25 23:03 krrishdholakia

what's the version of main-stable?

1.53.7

MattCarneiro avatar Mar 10 '25 23:03 MattCarneiro

got it - able to repro this on the latest stable - v1.63.2 (it's moved to being from the stable release branch)

Will push a fix for this

krrishdholakia avatar Mar 10 '25 23:03 krrishdholakia

Thank you for your help on this @MattCarneiro

krrishdholakia avatar Mar 10 '25 23:03 krrishdholakia

Thank you for your help on this @MattCarneiro

nice! please tell me when you fix it and which version

MattCarneiro avatar Mar 12 '25 17:03 MattCarneiro

cc: @ishaan-jaff

krrishdholakia avatar Mar 14 '25 21:03 krrishdholakia

cc: @ishaan-jaff

latest stable version the problem remains

MattCarneiro avatar Mar 16 '25 22:03 MattCarneiro

Problem persists on latest stable @krrishdholakia released today

MattCarneiro avatar Mar 23 '25 06:03 MattCarneiro

so? @krrishdholakia @ishaan-jaff

MattCarneiro avatar Apr 30 '25 11:04 MattCarneiro