Skip to content

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]

removing thinking lines

Lucky Lodhic1aa1c380cd4
diff --git a/litellm/llms/bedrock/messages/invoke_transformations/anthropic_claude3_transformation.py b/litellm/llms/bedrock/messages/invoke_transformations/anthropic_claude3_transformation.py
index 6ae9cc1b60b..fbb6d0fd7bd 100644
--- a/litellm/llms/bedrock/messages/invoke_transformations/anthropic_claude3_transformation.py
+++ b/litellm/llms/bedrock/messages/invoke_transformations/anthropic_claude3_transformation.py
@@ -147,12 +147,6 @@ class AmazonAnthropicClaudeMessagesConfig(
ttl = cache_control["ttl"]
if is_claude_4_5 and ttl in ["5m", "1h"]:
continue
-
- # [Maintain compatibility with current implementation and tests]
- # Existing tests expect '5m' or '1h' to be preserved even if not Claude 4.5?
- # Wait, the test I saw earlier expected '5m' and '1h' preservation!
- # Let me re-read the test carefully.
-
if ttl in ["5m", "1h"]:
continue