litellm/tests/unit/llms/azure
shrey kharbanda d0730b51d7 fix(images): measure the uploaded reference set and resolve deployment pricing kwargs
- measure every file part and every embedded image field the request
  carries instead of the caller's image arg, so a transform that drops,
  filters, or adds parts and a JSON body that smuggles extra_body
  references all bill what the provider actually receives
- read seekable streams from offset 0 and restore the cursor, matching
  how httpx serializes the part
- measure input_image* base64 fields on azure image generation the
  same as edits
- merge top-level litellm_params pricing kwargs over nested model_info
  in _deployment_model_info so custom pricing works on non-router calls
- reject bool and non-positive width/height in the size fallback and
  clamp negative reference_pixels to zero
- prices_tokens now checks rates for non-zero values; get_model_info
  normalizes absent token rates to 0, which made is not None always
  true and zero-billed per-pixel models that return usage
2026-09-24 06:22:28 +00:00
..
image_edit test(unit): add package markers to migrated unit test directories 2026-09-20 11:53:14 +00:00
image_generation fix(images): measure the uploaded reference set and resolve deployment pricing kwargs 2026-09-24 06:22:28 +00:00
passthrough test(unit): add package markers to migrated unit test directories 2026-09-20 11:53:14 +00:00
realtime test(unit): add package markers to migrated unit test directories 2026-09-20 11:53:14 +00:00
response test(unit): add package markers to migrated unit test directories 2026-09-20 11:53:14 +00:00
search test(unit): add package markers to migrated unit test directories 2026-09-20 11:53:14 +00:00
text_to_speech test(unit): add package markers to migrated unit test directories 2026-09-20 11:53:14 +00:00
vector_stores test(unit): add package markers to migrated unit test directories 2026-09-20 11:53:14 +00:00
__init__.py test(unit): add package markers to migrated unit test directories 2026-09-20 11:53:14 +00:00