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]

test: allow dashscope domain in qwen alias default api_base check

mateo-berri6a9dcb5ce65c
diff --git a/tests/local_testing/test_get_llm_provider.py b/tests/local_testing/test_get_llm_provider.py
index cc6209f2bf9..ebad0fbafc5 100644
--- a/tests/local_testing/test_get_llm_provider.py
+++ b/tests/local_testing/test_get_llm_provider.py
@@ -155,6 +155,11 @@ def test_default_api_base():
continue
elif provider == "github" and other_provider.value == "azure":
continue
+ elif (
+ provider in ("qwencloud", "qwen_ai_platform")
+ and other_provider.value == "dashscope"
+ ):
+ continue
assert other_provider.value not in api_base.replace("/openai", "")