litellm/ui
devin-ai-integration[bot] 250205ac94
refactor(dashboard): migrate to zod 4 and openai 6 (#44345)
* refactor(dashboard): migrate to zod 4 and openai 6

Bump the dashboard to real zod 4.6.5 and openai 6.49.0 so every module
imports from bare "zod" instead of "zod/v4". Ports the ten files that
still used the zod 3 API (error params, record, passthrough, strict,
email/date validators, union discriminator codes) and adapts the
LiteAdmin tool schemas and form plumbing where openai 6 and zod 4
changed behaviour.

* style(dashboard): prettier format zod 4 schema files

* fix(dashboard): restore system one missing state message under zod 4

---------

Dependency files were restored from the line and only the openai 4.104.0 -> 6.49.0 change was applied, since zod is already on 4.6.6 here. The lock moves only openai and drops its 4.x-only transitive packages
systemOneUI schemas.ts and validatePayload.test.ts do not exist on this line, so their hunks were dropped
jev_classifier_config.ts on this line has no refine, so only the instructions optional hunk applies
build_auto_router_routing_test_request.ts keeps the line's schema with the record key and loose() changes, and its object default becomes prefault({}) because zod 4 no longer parses a default through the schema

Co-authored-by: Yujong Lee <yujong@berri.ai>
(cherry picked from commit 0c86d6bfc9)
2026-10-23 15:15:47 -07:00
..
litellm-dashboard refactor(dashboard): migrate to zod 4 and openai 6 (#44345) 2026-10-23 15:15:47 -07:00
Dockerfile fix(docker): bump nginx runtime to 1.31.5-alpine3.24 and pin digest to resolve critical CVEs (#39561) 2026-09-03 08:46:07 -07:00
nginx.conf fix(ui): boot the UI image as an arbitrary uid by anchoring nginx writes under /tmp (#37982) 2026-08-24 11:57:36 -07:00