Files
litellm/tests
Chesars c5cec60fd0 fix(moonshot): preserve image_url blocks in multimodal messages
Moonshot's _transform_messages unconditionally flattened content arrays
to plain text, dropping image_url blocks. Vision models like kimi-k2.5
accept the standard OpenAI content array format.

Now checks for image_url blocks before flattening — if any message
contains images the content array is preserved intact.

Fixes #20862
2026-02-19 16:44:38 -03:00
..
2026-01-20 18:37:56 +05:30
2026-01-11 08:00:31 -08:00
2026-01-31 19:08:07 -08:00
2026-02-18 16:13:20 +05:30
2026-01-22 15:21:44 -08:00
2026-02-05 09:40:21 +05:30

In total litellm runs 1000+ tests

[02/20/2025] Update:

To make it easier to contribute and map what behavior is tested,

we've started mapping the litellm directory in tests/test_litellm

This folder can only run mock tests.