mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-14 09:03:16 +00:00
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. |
||
|---|---|---|
| .. | ||
| chat | ||
| embedding | ||
| passthrough | ||
| __init__.py | ||
| test_authenticator.py | ||
| test_file_handler.py | ||
| test_utils.py | ||