mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-13 08:52:02 +00:00
test(code-quality): ignore the bounded JSON walkers in the decisions guardrail translation
This commit is contained in:
parent
6d7162af8c
commit
e3ff8fa515
1 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,8 @@ import os
|
|||
|
||||
IGNORE_FUNCTIONS = [
|
||||
"_json_cost", # bounded at depth 32 and consumed under byte/node limits.
|
||||
"_json_text_forms", # walks a value TypeAdapter(JsonValue) already accepted, which caps depth near 255.
|
||||
"_guardrailed_json", # walks a value TypeAdapter(JsonValue) already accepted, which caps depth near 255.
|
||||
"_format_type",
|
||||
"remove_additional_properties",
|
||||
"remove_strict_from_schema",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue