From e9fc5e50631330502147101e3a4a53d3534ed14c Mon Sep 17 00:00:00 2001 From: Deepanshu Date: Sat, 25 Jul 2026 13:28:08 -0400 Subject: [PATCH] revert(ui): drop incidental schema.d.ts regeneration Committing router.py/common_request_processing.py touched pre_commit_lint.sh's litellm/proxy trigger for the API-type-sync check, which force-regenerated schema.d.ts even though neither file changes any route or model. The regenerated ordering of two unrelated Union/enum fields (stream_timeout, user_role) isn't stable across process invocations even against completely unmodified backend code (confirmed by regenerating twice against the pre-existing committed code and getting the same diff both times), so this reverts to the original committed file rather than chase non-deterministic output. --- ui/litellm-dashboard/src/lib/http/schema.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/litellm-dashboard/src/lib/http/schema.d.ts b/ui/litellm-dashboard/src/lib/http/schema.d.ts index 9133bfb5cf4..52c3257dd66 100644 --- a/ui/litellm-dashboard/src/lib/http/schema.d.ts +++ b/ui/litellm-dashboard/src/lib/http/schema.d.ts @@ -23744,7 +23744,7 @@ export interface components { * @description Default role assigned to new users created * @default internal_user_viewer */ - user_role: ("proxy_admin" | "proxy_admin_viewer" | "internal_user" | "internal_user_viewer") | null; + user_role: ("internal_user" | "internal_user_viewer" | "proxy_admin" | "proxy_admin_viewer") | null; }; /** * DefaultTeamSSOParams @@ -26343,7 +26343,7 @@ export interface components { [key: string]: unknown; } | null; /** Stream Timeout */ - stream_timeout?: string | number | null; + stream_timeout?: number | string | null; /** Tag Regex */ tag_regex?: string[] | null; /** Tags */ @@ -34557,7 +34557,7 @@ export interface components { [key: string]: unknown; } | null; /** Stream Timeout */ - stream_timeout?: string | number | null; + stream_timeout?: number | string | null; /** Tag Regex */ tag_regex?: string[] | null; /** Tags */