Handle more gemini tool calling edge cases + support bedrock 'stable-image-core' (#10351)

* test(test_amazing_vertex_completion.py): try to repro https://github.com/BerriAI/litellm/issues/10319

* fix(common_utils.py): handle edge case on tools

Fixes https://github.com/BerriAI/litellm/issues/10319

* test: add unit testing for infinite loops

* fix(amazon_stability3_transformation.py): support 'stable-image-core' transformation

Fixes https://github.com/BerriAI/litellm/issues/8488

* test: add unit testing for stable image core model

* test: update test
This commit is contained in:
Krish Dholakia
2025-04-28 14:22:29 -07:00
committed by GitHub
parent a5ef8a9556
commit bf9382a182
6 changed files with 409 additions and 1 deletions
@@ -19,6 +19,7 @@ IGNORE_FUNCTIONS = [
"_sanitize_request_body_for_spend_logs_payload", # testing added for circular reference
"_sanitize_value", # testing added for circular reference
"set_schema_property_ordering", # testing added for infinite recursion
"process_items", # testing added for infinite recursion + max depth set.
]