litellm/ui/litellm-dashboard
Yuneng Jiang 9d85318726
fix(ui): keep dashboard schemas working on zod 4
zod 4.6 rejects a missing object key unless its schema is optional, even when the schema itself accepts undefined. The key edit form schema is built from z.custom fields that relied on the old behavior, so an empty or partially filled form failed to validate

Build the schema from its shape with partial(), which makes every field optional the way main does with per-field optional(). The other zod importers type-check unchanged and their tests pass on zod 4.6.6
2026-10-23 15:20:14 -07:00
..
public feat(guardrails): add Conduct Guard integration with validated hooks and forwarded params (#40785) 2026-09-12 10:04:55 -07:00
scripts
src fix(ui): keep dashboard schemas working on zod 4 2026-10-23 15:20:14 -07:00
tests fix(ui): fall back to user id in Top Virtual Keys user column 2026-09-19 11:04:46 -07:00
.env.development
.env.production
.npmrc
.nvmrc
.prettierignore
.prettierrc
AGENTS.md chore: consolidate CLAUDE.md into AGENTS.md 2026-09-19 02:30:35 +00:00
build_release_ui.sh
build_ui.sh
build_ui_custom_path.sh
components.json
eslint-budgets.json refactor(ui): render the Virtual Keys page without the legacy user dashboard 2026-09-05 17:49:29 -07:00
eslint-suppressions.json Merge pull request #39308 from BerriAI/litellm_ui_per_second_video_pricing 2026-09-18 10:05:26 -07:00
eslint.config.mjs test(ui): budget DOM-structure assertions in dashboard tests 2026-09-01 00:13:05 -07:00
knip.json
next.config.mjs fix(ui): retain compatible build and test commands 2026-09-08 15:54:13 -07:00
package-lock.json chore(deps): bump dashboard next, zod, vite, vitest and sharp 2026-10-23 15:14:47 -07:00
package.json chore(deps): bump dashboard next, zod, vite, vitest and sharp 2026-10-23 15:14:47 -07:00
postcss.config.js
README.md
tsconfig.json
tsconfig.tsbuildinfo fix(auto_router): clear the non-reasoning tier when the classifier changes 2026-09-08 12:30:42 -07:00
vitest.config.ts

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.