mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-16 23:41:43 +00:00
chore(vertex_ai): restore the mutable-ok reason on the tuple-items rewrite
This commit is contained in:
parent
68f0f4db7d
commit
0b3ea8f217
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue