mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
test(code-quality): allow the bounded semantic cache prompt walkers in the recursion check
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
5aed3ab3de
commit
39efb5d9da
1 changed files with 4 additions and 0 deletions
|
|
@ -72,6 +72,10 @@ IGNORE_FUNCTIONS = [
|
|||
"_string_leaves", # bounded by the nesting depth of a safe_json_structure output (a finite JSON tree, no cycles possible).
|
||||
"_replace_string_leaves", # bounded by the nesting depth of a safe_json_structure output (a finite JSON tree, no cycles possible).
|
||||
"_sort_processed_sets", # bounded by the nesting depth of the log-record extra it walks (a finite JSON tree, no cycles possible).
|
||||
"_content_prompt", # bounded by the nesting depth of the request messages or input it walks (a finite JSON tree, no cycles possible).
|
||||
"_responses_input_parts", # bounded by the nesting depth of the request messages or input it walks (a finite JSON tree, no cycles possible).
|
||||
"_normalized", # bounded by the nesting depth of the request messages or input it walks (a finite JSON tree, no cycles possible).
|
||||
"_call_ids", # bounded by the nesting depth of the request messages or input it walks (a finite JSON tree, no cycles possible).
|
||||
"scrub_json_strings", # max depth set (MAX_SCRUB_DEPTH); fails closed by returning "[Filtered]" for anything nested past the cap.
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue