mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-07 07:58:09 +00:00
* test(images): cover SDK retry budgets and router ownership Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(images): forward max_retries to the OpenAI image generation client Per-call, deployment and default_litellm_params max_retries were filtered out before reaching the OpenAI-compatible image handler, which then always used 2 SDK retries. Forward the caller's value, and pin it to 0 for routed calls so the Router stays the only retry owner, matching completion() Co-authored-by: Ericz <yonglzh@gmail.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(images): read image max_retries through a typed kwargs view Co-authored-by: Ericz <yonglzh@gmail.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test(images): assert the public invalid retry error mapping Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test(images): preserve the invalid retry status code Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test(images): group the proxy test imports Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test(images): discard proxy retry test routers Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Ericz <yonglzh@gmail.com> |
||
|---|---|---|
| .. | ||
| request_payloads | ||
| __init__.py | ||
| test_image_edit.py | ||
| test_image_edit_extra_params.py | ||
| test_image_edit_utils.py | ||
| test_image_generation_extra_headers.py | ||
| test_main.py | ||