mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
chore(ci): allow the bounded OpenAPI $ref inliners in the recursive-function check
Both are bounded: the ref walk carries a seen-set cycle guard and the rest of the walk is limited by the spec's finite JSON-schema depth. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
7e59527359
commit
0f73fbfa9b
1 changed files with 2 additions and 0 deletions
|
|
@ -60,6 +60,8 @@ IGNORE_FUNCTIONS = [
|
|||
"json_string_leaves", # max depth set (MAX_STRUCTURED_CONTENT_SCAN_DEPTH); fails closed by raising at the cap so nothing goes unscanned.
|
||||
"with_json_string_leaves", # transitively bounded: only runs on a tree json_string_leaves already walked under the cap.
|
||||
"json_unrewritable_labels", # max depth set (MAX_STRUCTURED_CONTENT_SCAN_DEPTH); returns the None sentinel at the cap so the caller blocks.
|
||||
"_inline_schema_refs", # OpenAPI: bounded by the `seen` ref cycle guard and by the spec's finite JSON-schema depth.
|
||||
"_inlined_schema_value", # OpenAPI: transitively bounded, it only walks what _inline_schema_refs already bounded.
|
||||
]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue