The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
refactor
eycjur6eb1b40336b8
diff --git a/litellm/llms/bedrock/chat/converse_transformation.py b/litellm/llms/bedrock/chat/converse_transformation.pyindex 9e885b3f839..080ec05576e 100644--- a/litellm/llms/bedrock/chat/converse_transformation.py+++ b/litellm/llms/bedrock/chat/converse_transformation.py@@ -466,13 +466,12 @@ class AmazonConverseConfig(BaseConfig):if "gpt-oss" in model:# GPT-OSS models: keep reasoning_effort as-is# It will be passed through to additionalModelRequestFields- optional_params["reasoning_effort"] = valuecontinue- else:- # Anthropic and other models: convert to thinking parameter- optional_params["thinking"] = AnthropicConfig._map_reasoning_effort(- value- )++ # Anthropic and other models: convert to thinking parameter+ optional_params["thinking"] = AnthropicConfig._map_reasoning_effort(+ value+ )# Only update thinking tokens for non-GPT-OSS modelsif not ("gpt-oss" in model):