From 0b3ea8f217bf8793558c4d3f31ee42d4747ef6b8 Mon Sep 17 00:00:00 2001 From: Bharadwaj Pendyala Date: Sat, 15 Aug 2026 08:15:42 -0500 Subject: [PATCH] chore(vertex_ai): restore the mutable-ok reason on the tuple-items rewrite --- litellm/llms/vertex_ai/common_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/vertex_ai/common_utils.py b/litellm/llms/vertex_ai/common_utils.py index a23ee0b48c2..5694821184c 100644 --- a/litellm/llms/vertex_ai/common_utils.py +++ b/litellm/llms/vertex_ai/common_utils.py @@ -846,7 +846,7 @@ def _normalize_tuple_items(schema: dict[str, Any], depth: int = 0) -> None: tuple_items: Final = schema.get("items", None) if isinstance(tuple_items, list): if tuple_items: - schema["items"] = {"anyOf": tuple_items} + schema["items"] = {"anyOf": tuple_items} # mutable-ok: the walkers below rewrite this subtree in place else: schema.pop("items")