litellm/tests/unit/llms/gigachat
ryan-crabbe-berri 40081cdef2 fix(llms): parse image data URIs with one shared helper
Eight request-side copies parsed data:<type>;base64,<data> URIs their own way.
The Anthropic image path kept parameters like ;charset=utf-8 and the original
case in the media type, so Claude on Vertex and Bedrock invoke rejected the
image with a 400, Bedrock converse rejected uppercase types with a 500, and
GigaChat tried to download the data URI over HTTP. All copies now share one
parser that drops parameters and lowercases the media type.
2026-11-09 23:56:45 -08:00
..
chat refactor(typing): clear about 1,100 basedpyright Any errors across 303 files (#49986) 2026-11-06 13:31:15 -08:00
embedding fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
passthrough fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
__init__.py test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
test_authenticator.py test(llms): migrate phase 7 provider unit tests to tests/unit 2026-09-20 08:08:12 +00:00
test_file_handler.py fix(llms): parse image data URIs with one shared helper 2026-11-09 23:56:45 -08:00
test_utils.py test(llms): migrate phase 7 provider unit tests to tests/unit 2026-09-20 08:08:12 +00:00