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
test: drop restating comment and wrap long call in thinking tests
mateo-berri54cc988a9e5f
diff --git a/tests/test_litellm/llms/bedrock/chat/test_converse_transformation.py b/tests/test_litellm/llms/bedrock/chat/test_converse_transformation.pyindex ff3d38eb374..298360789eb 100644--- a/tests/test_litellm/llms/bedrock/chat/test_converse_transformation.py+++ b/tests/test_litellm/llms/bedrock/chat/test_converse_transformation.py@@ -6048,5 +6048,7 @@ def test_streaming_usage_chunk_is_transformed():def test_update_optional_params_with_thinking_tokens_bool_thinking_does_not_crash():config = AmazonConverseConfig()optional_params = {"thinking": True}- config.update_optional_params_with_thinking_tokens(non_default_params={"thinking": True}, optional_params=optional_params)+ config.update_optional_params_with_thinking_tokens(+ non_default_params={"thinking": True}, optional_params=optional_params+ )assert "maxTokens" not in optional_paramsdiff --git a/tests/test_litellm/test_thinking_enabled.py b/tests/test_litellm/test_thinking_enabled.pyindex 38c4534e45c..744b258e617 100644--- a/tests/test_litellm/test_thinking_enabled.py+++ b/tests/test_litellm/test_thinking_enabled.py@@ -60,7 +60,6 @@ class TestIsThinkingEnabled:({"reasoning_effort": "medium"}, True),# both thinking enabled and reasoning_effort returns True({"thinking": {"type": "enabled"}, "reasoning_effort": "high"}, True),- # thinking=True (bool) should not crash, returns True({"thinking": True}, True),# falsy thinking values should not crash({"thinking": False}, False),