diff --git a/litellm/llms/vertex_ai/common_utils.py b/litellm/llms/vertex_ai/common_utils.py index 0362645bf94..a23ee0b48c2 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} # mutable-ok: every walker here rewrites the schema tree in place + schema["items"] = {"anyOf": tuple_items} else: schema.pop("items")