mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
* fix(messages): load the anthropic beta map only when a filter has a beta to filter Since #52042 the Rust messages route asked Python for the beta map on every azure_ai, Bedrock Invoke and Foundry call while decoding the request, so the first such call on each worker downloaded the remote map even when it sent no anthropic-beta, and the download ran synchronously on the request path. The bridge now installs the map only once Python has loaded it. When a filter first meets a beta and no map is installed, it asks the host to load it on the loader thread and uses the compiled table for that call, as before #52042. * fix(messages): start at most one background beta map load at a time A burst of beta-carrying calls while the first download was still in flight queued one load task per call on the loader thread. A non-blocking lock now lets only one load wait in the queue, and it is released when that load ends. |
||
|---|---|---|
| .. | ||
| routes | ||
| __init__.py | ||
| test_cache.py | ||
| test_callbacks_legacy_python.py | ||
| test_model_capabilities.py | ||
| test_model_cost.py | ||
| test_preflight.py | ||
| test_redis_credentials.py | ||
| test_redis_events.py | ||
| test_route_groups.py | ||
| test_secret_manager.py | ||
| test_settings.py | ||