From 48c0be34aa49af7483343c2e821d6fb999aaa335 Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Mon, 28 Sep 2026 15:36:37 -0700 Subject: [PATCH] fix(proxy): drop the reverted TeamIdSearchFilter import after merging main Main reverted the team key search change that added TeamIdSearchFilter, so the PTU share team check types its where clause locally --- .../proxy/management_endpoints/model_management_endpoints.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litellm/proxy/management_endpoints/model_management_endpoints.py b/litellm/proxy/management_endpoints/model_management_endpoints.py index 41df67557e7..b16ef81e6c2 100644 --- a/litellm/proxy/management_endpoints/model_management_endpoints.py +++ b/litellm/proxy/management_endpoints/model_management_endpoints.py @@ -135,7 +135,6 @@ from litellm.types.proxy.management_endpoints.model_management_endpoints import AutoRouterClassifierDefaultPromptResponse, UpdateUsefulLinksRequest, ) -from litellm.types.proxy.management_endpoints.team_endpoints import TeamIdSearchFilter from litellm.types.router import ( SPECIAL_MODEL_INFO_PARAMS, Deployment, @@ -249,7 +248,7 @@ class _TeamRow(Protocol): class _TeamIdsWhere(TypedDict): - team_id: ReadOnly[TeamIdSearchFilter] + team_id: ReadOnly[Mapping[Literal["in"], Sequence[str]]] class _TeamLookupTable(Protocol):