litellm/tests/unit/llms/bedrock/embed
Kerry Lu 913730c922
fix(bedrock): bill Nova audio and video embeddings by clip length when the deployment sets only a token price (#54304)
* fix(bedrock): keep the token estimate for Nova clips when a deployment sets only a token price

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(bedrock): read the deployment's params without widening types

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(bedrock): bill Nova clips by length at the listed rates when a deployment sets only a token price

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(bedrock): inherit the clip rates of the deployment's own region

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(bedrock): set the region's clip rates in the test instead of relying on listed prices

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(bedrock): find the region's clip rates when the model has no provider prefix

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-25 19:57:58 +00:00
..
__init__.py
test_amazon_nova_transformation.py fix(bedrock): accept the OpenAI SDK default encoding_format on Nova embeddings (#53755) 2026-11-23 10:00:50 -08:00
test_bedrock_async_invoke_embedding.py
test_bedrock_embedding.py fix(bedrock): bill Nova audio and video embeddings by clip length when the deployment sets only a token price (#54304) 2026-11-25 19:57:58 +00:00
test_embedding.py
test_twelvelabs_marengo_3_transformation.py