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
fix(tests): update redaction assertion + remove flaky qwen3 streaming test (#23062)
Ishaan Jaffa50a84c16c5a
diff --git a/tests/local_testing/test_amazing_vertex_completion.py b/tests/local_testing/test_amazing_vertex_completion.pyindex 4d3b356bac4..58cd2477bf1 100644--- a/tests/local_testing/test_amazing_vertex_completion.py+++ b/tests/local_testing/test_amazing_vertex_completion.py@@ -891,7 +891,7 @@ async def test_partner_models_httpx(model, region, sync_mode):"model,region",[# vertex_ai/meta/llama-4-scout-17b-16e-instruct-maas removed - consistently returns 400 BadRequest on Vertex AI- ("vertex_ai/qwen/qwen3-coder-480b-a35b-instruct-maas", "us-south1"),+ # vertex_ai/qwen/qwen3-coder-480b-a35b-instruct-maas removed - us-south1 endpoint unavailable in CI("vertex_ai/mistral-small-2503","us-central1",diff --git a/tests/local_testing/test_custom_callback_input.py b/tests/local_testing/test_custom_callback_input.pyindex 6bbeb3f5a54..fcdfcfe6e70 100644--- a/tests/local_testing/test_custom_callback_input.py+++ b/tests/local_testing/test_custom_callback_input.py@@ -1085,7 +1085,10 @@ def test_standard_logging_payload(model, turn_off_message_logging):if turn_off_message_logging:print("checks redacted-by-litellm")assert "redacted-by-litellm" == slobject["messages"][0]["content"]- assert {"text": "redacted-by-litellm"} == slobject["response"]+ # response is a full ModelResponse dict (choices format) since d84e5e381acf+ response = slobject["response"]+ assert response["choices"][0]["message"]["content"] == "redacted-by-litellm"+ assert response["choices"][0]["message"].get("audio") is None@pytest.mark.parametrize(@@ -1185,7 +1188,10 @@ def test_standard_logging_payload_audio(turn_off_message_logging, stream):if turn_off_message_logging:print("checks redacted-by-litellm")assert "redacted-by-litellm" == slobject["messages"][0]["content"]- assert {"text": "redacted-by-litellm"} == slobject["response"]+ # response is a full ModelResponse dict (choices format) since d84e5e381acf+ response = slobject["response"]+ assert response["choices"][0]["message"]["content"] == "redacted-by-litellm"+ assert response["choices"][0]["message"].get("audio") is None@pytest.mark.skip(reason="Works locally. Flaky on ci/cd")