mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-30 01:08:33 +00:00
* fix(bedrock): discover models through the configured control-plane endpoint * fix(bedrock): name the failing control-plane host and cover discovery through the configured endpoint * fix(bedrock): fall back to the regional host when the configured control-plane endpoint lacks the list routes * fix(bedrock): list through the regional host on any control-plane endpoint failure and keep API keys off it * fix(bedrock): fall back on an empty endpoint listing and skip a failed endpoint for an hour A configured control-plane endpoint that answers 2xx without models now counts as a failure, so discovery lists through the regional host instead of returning an empty list. After a fallback, each worker lists that deployment through the regional host for an hour, and returns to the endpoint at once if the regional host fails. When a Bedrock API key makes discovery skip a configured endpoint and the regional listing fails, the error says so. * fix(bedrock): keep listing timeouts cacheable and never follow redirects A timeout through the configured endpoint still falls back to the regional host, but a timeout on the last host now reaches the proxy as a timeout again, so the failed listing is cached for 30 seconds as it is on main. Signed listing requests no longer follow redirects, so a 3xx from the endpoint counts as a failure and falls back instead of carrying the SigV4 headers to another host. * test: list the Bedrock model lister as a process-local cache caller --------- Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| batches | ||
| chat | ||
| count_tokens | ||
| embed | ||
| files | ||
| image | ||
| image_edit | ||
| image_generation | ||
| invoke_agent | ||
| messages | ||
| passthrough | ||
| realtime | ||
| rerank | ||
| responses | ||
| search | ||
| vector_stores | ||
| __init__.py | ||
| event_loop_probe.py | ||
| slow_upstream.py | ||
| test_anthropic_beta_support.py | ||
| test_base_aws_llm.py | ||
| test_bedrock_common_utils.py | ||
| test_bedrock_model_listing.py | ||
| test_bedrock_ssl_verify.py | ||
| test_claude_platform_provider.py | ||
| test_converse_context_management.py | ||
| test_cost_calculation.py | ||
| test_cross_region_inference_profile_mapping.py | ||
| test_guardrail_attachments.py | ||
| test_mantle.py | ||
| test_nova_imported_models.py | ||
| test_request_metadata.py | ||
| test_session_identity.py | ||
| test_web_identity_session_policy.py | ||