litellm/tests/test_litellm/proxy/image_endpoints
yucheng b96a804004 fix(proxy): seed litellm_call_id into request data before parsing can fail
The failure hook received data without the resolved id when body parsing or
add_litellm_data_to_request raised, so proxy-only spend logging minted a fresh id
that did not match the error log or the x-litellm-call-id header. The id is now
part of the request data from the start and merged over the parsed body, which
also removes the post-hoc in-place assignment

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-16 20:55:32 +00:00
..
__init__.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_azure_routes.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_endpoints.py fix(proxy): seed litellm_call_id into request data before parsing can fail 2026-09-16 20:55:32 +00:00