mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
* refactor(ui): move the agent, guardrail, prompt, policy and skill forms off tremor The agent info Save Changes button used to rely on tremor's implicit submit inside the antd Form, so it now carries an explicit type="submit". Every converted TabsContent is keepMounted to keep tremor's always-mounted panel semantics, pinned by a new guardrail info test. Prunes the tremor no-restricted-imports suppressions these nine files no longer need. * fix(ui): keep the line tab strip on the agent, guardrail and prompt info views tremor's TabList defaulted to the line variant while shadcn's TabsList defaults to the filled pill, so the bare conversion turned three underlined tab strips into segmented pills. Restores the line variant plus the bottom border and the tab padding the strips used to have. * test(ui): pin the agent settings submit and the prompt raw json tab Agent Settings only saves because Save Changes carries an explicit type="submit" now that the button is a Base UI button, so a test drives the edit and asserts the patch call fires. The prompt info tabs are keyed by slug now, which also makes Raw JSON render for prompts with no template, so a second test renders that case and asserts the serialized response is visible. |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||