mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
* fix(bedrock): strip output_config from Bedrock Invoke requests Bedrock Invoke API does not support the output_config parameter (added to Anthropic Messages API). Requests with output_config cause 400 errors: 'extraneous key [output_config] is not permitted'. Strip output_config in both Bedrock Invoke transformation layers (messages and chat), consistent with how output_format is already handled and how VertexAI strips both parameters. Fixes: https://github.com/BerriAI/litellm/issues/22797 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * test(bedrock): add output_config test for chat/invoke path Addresses review feedback — the chat/invoke_transformations path now has symmetric test coverage matching the messages/invoke_transformations path. Fixes: https://github.com/BerriAI/litellm/issues/22797 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: giulio-leone <6887247+giulio-leone@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| chat | ||
| count_tokens | ||
| embed | ||
| files | ||
| image | ||
| invoke_agent | ||
| messages/invoke_transformations | ||
| passthrough | ||
| realtime | ||
| rerank | ||
| vector_stores | ||
| test_anthropic_beta_support.py | ||
| test_base_aws_llm.py | ||
| test_bedrock_common_utils.py | ||
| test_bedrock_ssl_verify.py | ||
| test_cross_region_inference_profile_mapping.py | ||