mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-03 12:24:08 +00:00
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
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.