mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
* feat(bedrock): add a config toggle to disable agent-runtime pass-through The /bedrock pass-through dispatches agents, knowledge bases, flows, rerank, retrieveAndGenerate, generateQuery and optimize-prompt to bedrock-agent-runtime, so an operator who only wants to expose model invoke and converse has no way to narrow that surface Adds general_settings.disable_bedrock_agent_runtime_passthrough. When set, those routes are rejected with a 403 before credentials are fetched or the request is signed. Plain bedrock-runtime model pass-through is unaffected, and the setting defaults to off, so existing deployments behave exactly as before The branch is inverted to an early return for the non-agent-runtime case so the toggle can reject outright instead of falling through to model extraction, which would surface a confusing 400 about an unparseable model * style(bedrock): drop redundant docstrings from the agent-runtime toggle |
||
|---|---|---|
| .. | ||
| llm_provider_handlers | ||
| test_carry_guardrail_logging_info.py | ||
| test_llm_pass_through_endpoints.py | ||
| test_managed_id_rewriter.py | ||
| test_method_specific_routing.py | ||
| test_pass_through_endpoints.py | ||
| test_passthrough_auth_default.py | ||
| test_passthrough_endpoint_router.py | ||
| test_passthrough_endpoints_common_utils.py | ||
| test_passthrough_guardrail_block_otel_span.py | ||
| test_passthrough_guardrails.py | ||
| test_passthrough_guardrails_field_targeting.py | ||
| test_passthrough_post_call_guardrails.py | ||
| test_streaming_handler_interrupt.py | ||
| test_upstream_usage_headers.py | ||
| test_vertex_ai_batch_passthrough.py | ||
| test_vertex_passthrough_load_balancing.py | ||
| test_watsonx_proxy_route.py | ||