mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
test: update test_build_vertex_schema to expect items on bare arrays
The process_items fix now ensures type=array always has an items field,
so update the existing test expectation for callbacks.anyOf[0] to
include items: {type: string}.
This commit is contained in:
parent
452061ec8b
commit
fed49634f9
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ def test_build_vertex_schema():
|
|||
"metadata": {"type": "object"},
|
||||
"callbacks": {
|
||||
"anyOf": [
|
||||
{"type": "array", "nullable": True},
|
||||
{"type": "array", "nullable": True, "items": {"type": "string"}},
|
||||
{"type": "object", "nullable": True},
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue