mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
chore(vertex_ai): restore the mutable-ok reason on the tuple-items rewrite
This commit is contained in:
parent
ba8226a79a
commit
89d0301db2
1 changed files with 1 additions and 1 deletions
|
|
@ -784,7 +784,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