mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-05 01:59:27 +00:00
The Anthropic and Bedrock cost_per_token fallbacks for a call Rust leaves to Python called generic_cost_per_token alone, so they dropped the geo and speed uplifts, and Bedrock billed an unreadable geo value with no uplift where main raised and moved on to the next candidate. They now run main's own body. cost_per_token also stops sending the reported web search count to Rust, since it never bills the search fee and a row without a search price made Rust decline the whole call. The search kind read a row's flat query rate ahead of its tiered_pricing, while main reads the tiers first, so a row listing both now answers NotPorted and keeps main's tier pick. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_main.py | ||