mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-29 01:03:17 +00:00
* fix(bedrock): accept encoding_format float and base64 on Nova embeddings * fix(bedrock): return base64 Nova embeddings when the caller asks for base64 Older openai-node releases base64-decode every default-path embedding, so a float list became zero vectors. A base64 request now gets little-endian float32 bytes in base64, a float request keeps the list, and a non-string encoding_format takes the unsupported-param path instead of a 500. * test(bedrock): check every Nova base64 vector keeps its input order The base64 test now sends two inputs, so it fails if vectors are reordered or only the first is encoded. A new test keeps an upstream base64 string unchanged. Also drops the helper's docstring. * test(bedrock): check base64 survives drop_params on Nova and an async job's placeholder is a string --------- Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_amazon_nova_transformation.py | ||
| test_bedrock_async_invoke_embedding.py | ||
| test_bedrock_embedding.py | ||
| test_embedding.py | ||
| test_twelvelabs_marengo_3_transformation.py | ||