litellm/tests/test_litellm/llms/black_forest_labs
mateo-berri 0ee3bec046 fix(image_edit): await an async transform hook and hide the URL policy verdict from callers
The image edit handler now awaits BaseImageEditConfig.async_transform_image_edit_request, and
Black Forest Labs overrides it so URL images and masks download through async_safe_get instead of
the blocking safe_get on the event loop. Rejected image fetches raise a fixed policy message with
the user_url_allowed_hosts hint rather than echoing the resolver's verdict (resolved IP, DNS
failure) back to the caller. The test fixture also fails any request-path call of the sync
convert_url_to_base64 so a regression cannot pass unnoticed.
2026-09-04 23:20:21 -07:00
..
image_edit fix(image_edit): await an async transform hook and hide the URL policy verdict from callers 2026-09-04 23:20:21 -07:00
image_generation test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
__init__.py feat(black_forest_labs): add native image edit support for Black Forest Labs 2026-03-04 18:08:50 -03:00
test_bfl_common_utils.py Litellm OSS Staging 010626 (#29422) 2026-06-01 21:42:51 -07:00