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
add more test
LingXuanYinf8c9009fe5f2
diff --git a/tests/test_litellm/llms/volcengine/test_volcengine.py b/tests/test_litellm/llms/volcengine/test_volcengine.pyindex 056979f209c..f43167efa32 100644--- a/tests/test_litellm/llms/volcengine/test_volcengine.py+++ b/tests/test_litellm/llms/volcengine/test_volcengine.py@@ -104,6 +104,15 @@ class TestVolcEngineConfig:)assert result_no_thinking == {}+ # Test 7: invalid thinking type - should NOT appear in extra_body (value is None)+ result_no_thinking = config.map_openai_params(+ non_default_params={"thinking": {"type": None}},+ optional_params={},+ model="doubao-seed-1.6",+ drop_params=False,+ )+ assert result_no_thinking == {}+def test_e2e_completion(self):from openai import OpenAI