mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
* refactor(ui): move the add model and credential forms off tremor TextInput becomes the shadcn Input, Text becomes a sized paragraph, the advanced settings Accordion becomes a bordered Collapsible, and the Team-BYOK Switch moves to the Base UI switch with onCheckedChange plus an aria-label. That switch stays wrapped in a span so the antd Tooltip still shows on hover while it is disabled for non-premium users, matching what the tremor wrapper div did. provider_specific_fields keeps antd's Input.TextArea through an AntdInput alias so its antd import stays a single statement. Prunes the tremor no-restricted-imports suppressions these files no longer need. * fix(ui): keep the reveal toggle on the provider secret fields tremor's TextInput drew its own show/hide button whenever the type was password, and the shadcn Input is a plain native input, so every provider secret this form renders (API keys, client secrets, and the same fields inside the add credential modal) lost that affordance. Puts the password branch on antd's Input.Password, which is what the other dynamic credential forms in the dashboard already use, so the reveal comes back and the antd Form.Item wiring stays untouched. The control chain moves into an early-return helper, which keeps the extra branch from pushing the file past its no-nested-ternary budget and drops that count from 5 to 3. |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||