mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-05 01:59:27 +00:00
* refactor(cost): split chat, image, and video calculators * refactor(cost): preserve helper exports without redundant aliases * refactor(cost): consolidate pricing by operation * fix(cost): keep normalized usage as a mapping * style(cost): sort image pricing imports * refactor(cost): restore the original token pricing flow * docs(cost): point contributors to token pricing dispatch * fix(cost): clear the recursion flag and the banned import count The refusal helper imported the provider check under its own name, which the recursion detector read as a self call. The realtime split helper now lives next to the realtime processor, and the decisions rate merge goes through one shared helper, so the cost package adds no new typing.cast imports. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test(bedrock): call cost_per_token through the litellm package litellm.cost.calculator is not loaded by importing litellm, so the two cache billing tests failed with an AttributeError before reaching the cost check. 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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_azure_container_transformation.py | ||
| test_container_api.py | ||
| test_container_handler_url.py | ||
| test_container_integration.py | ||
| test_container_proxy_ownership.py | ||
| test_container_regional_api_base.py | ||
| test_container_transformation.py | ||
| test_container_utils.py | ||
| test_endpoint_factory.py | ||