mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-30 01:08:33 +00:00
Image generation and edits now use api_base as given with the same default
and key order as Volcengine chat, and no longer read ARK_API_BASE. A user
longer than Ark's 64-character safety_identifier limit is sent as its sha256.
stream is rejected (or dropped with drop_params) whether it arrives top-level
or inside extra_body, and a multipart stream="false" is not a stream request.
Edits forward extra_body fields to Ark. A deployment's own per-image and tier
prices now win over the shared layer and tier rows
On lts/1.108.x the line has no image fan-out, so n above 1 still answers a
400 unless drop_params, and the stream flag is read by a local helper since
the line has no litellm/images/streaming.py
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_volcengine_image_edit_transformation.py | ||