litellm/cookbook
Priyansh Nandwana c6fc5b01bb
fix(bedrock): send batch jobs to a configured control-plane endpoint (#47260)
* fix(bedrock): send batch jobs to a configured control-plane endpoint

Bedrock batch create, retrieve and cancel always built the regional
bedrock.{region} host, so a VPC endpoint or compatible gateway could not
be used. Add aws_bedrock_control_plane_endpoint as a deployment setting
read by the signed HTTP path and the boto3 path, carry it through the
proxy credential filter, and refuse it in request bodies like the other
endpoint overrides. api_base stays out of it because on a Bedrock
deployment it points at the runtime host.

Fixes #45056

* fix(bedrock): read the control-plane endpoint from typed kwargs in job status

The named parameter added one unknown-argument error in litellm/batches/main.py,
which unpacks untyped kwargs into this function

* docs(bedrock): explain batch control-plane endpoint configuration

* fix(bedrock): keep the batch control-plane endpoint out of chat request bodies

A deployment that sets aws_bedrock_control_plane_endpoint also serves chat,
and the unregistered key was swept into the Bedrock request body, so every
chat call on it failed with "Extra inputs are not permitted". Register it
with the other Bedrock batch connection fields so it stays a LiteLLM-owned
kwarg on every route while batches still read it from litellm_params.

* test(bedrock): verify endpoint signatures without internal mocks

---------

Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
2026-10-20 12:30:16 -07:00
..
ai_coding_tool_guides fix(security): remove the publicly known master key from the repo (#44718) 2026-10-06 10:55:24 -07:00
anthropic_agent_sdk fix(security): remove the publicly known master key from the repo (#44718) 2026-10-06 10:55:24 -07:00
benchmark docs: document new github + gitlab ci scripts 2026-03-25 20:17:10 -07:00
codellama-server docs: remove phone numbers from readme and docs 2026-03-25 12:40:40 -07:00
community-resources
gollem_go_agent_framework chore(cookbook): bump Go directive to 1.26.3 in gollem example (#29234) 2026-05-28 18:12:31 -07:00
litellm-ollama-docker-image chore(deps): refresh dependency locks 2026-05-04 11:36:18 -07:00
litellm_proxy_server fix(bedrock): send batch jobs to a configured control-plane endpoint (#47260) 2026-10-20 12:30:16 -07:00
litellm_router
litellm_router_load_test
livekit_agent_sdk fix(security): remove the publicly known master key from the repo (#44718) 2026-10-06 10:55:24 -07:00
logging_observability
misc fix(security): remove the publicly known master key from the repo (#44718) 2026-10-06 10:55:24 -07:00
mock_guardrail_server Guardrails API - new structured_messages param (#17518) 2025-12-04 22:08:00 -08:00
mock_prompt_management_server fix(security): remove the publicly known master key from the repo (#44718) 2026-10-06 10:55:24 -07:00
Benchmarking_LLMs_by_use_case.ipynb
Claude_(Anthropic)_with_Streaming_liteLLM_Examples.ipynb
Evaluating_LLMs.ipynb
google_adk_litellm_tutorial.ipynb
liteLLM_A121_Jurrasic_example.ipynb
LiteLLM_Azure_and_OpenAI_example.ipynb
liteLLM_Baseten.ipynb
LiteLLM_batch_completion.ipynb
LiteLLM_Bedrock.ipynb
liteLLM_clarifai_Demo.ipynb
LiteLLM_CometAPI.ipynb bump openai 2.8.0 2025-11-19 17:47:18 -08:00
LiteLLM_Comparing_LLMs.ipynb
LiteLLM_Completion_Cost.ipynb
liteLLM_function_calling.ipynb
liteLLM_Getting_Started.ipynb
LiteLLM_HuggingFace.ipynb fix img URL for tests 2025-11-22 09:41:15 -08:00
liteLLM_IBM_Watsonx.ipynb
liteLLM_Langchain_Demo.ipynb
litellm_model_fallback.ipynb
LiteLLM_NovitaAI_Cookbook.ipynb
liteLLM_Ollama.ipynb
LiteLLM_OpenRouter.ipynb
LiteLLM_Petals.ipynb
LiteLLM_PromptLayer.ipynb fix: prompt registry 2026-02-18 00:34:54 +05:30
liteLLM_Replicate_Demo.ipynb
liteLLM_Streaming_Demo.ipynb
litellm_test_multiple_llm_demo.ipynb
litellm_Test_Multiple_Providers.ipynb
LiteLLM_User_Based_Rate_Limits.ipynb
liteLLM_VertextAI_Example.ipynb
Migrating_to_LiteLLM_Proxy_from_OpenAI_Azure_OpenAI.ipynb fix(security): remove the publicly known master key from the repo (#44718) 2026-10-06 10:55:24 -07:00
mlflow_langchain_tracing_litellm_proxy.ipynb fix(security): remove the publicly known master key from the repo (#44718) 2026-10-06 10:55:24 -07:00
nova_sonic_realtime.py fix(security): remove the publicly known master key from the repo (#44718) 2026-10-06 10:55:24 -07:00
Parallel_function_calling.ipynb
Proxy_Batch_Users.ipynb fix(security): remove the publicly known master key from the repo (#44718) 2026-10-06 10:55:24 -07:00
result.html
TogetherAI_liteLLM.ipynb
Using_Nemo_Guardrails_with_LiteLLM_Server.ipynb
veo_video_generation.py fix(security): remove the publicly known master key from the repo (#44718) 2026-10-06 10:55:24 -07:00
VLLM_Model_Testing.ipynb