mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
The TeamInfo settings save path invalidates organization queries via organizationKeys.all, and the ModelAliasManager stub renders <button> elements without type="button", so any click inside the edit form was submitting it. Together these masked each other: the accidental submit threw on the missing organizationKeys export, the catch swallowed the error, teamUpdateCall had already been recorded, and the assertion was happy. Under CI load the pass-through routes test tipped past the 30s testTimeout while the form was stuck mid-save. Add organizationKeys to the mock so the invalidation succeeds and stamp type="button" on the alias-editor stubs so Set Alias / Clear Aliases only update parent state. The model_aliases tests now exercise the real click Set Alias -> click Save Changes flow instead of passing on the first accidental submit. Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||