mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
chore(vertex_ai): restore the mutable-ok reason on the tuple-items rewrite
This commit is contained in:
parent
99f1e4d899
commit
99636a7c60
1 changed files with 1 additions and 1 deletions
|
|
@ -895,7 +895,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