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]

fix(ci): drop the publicly known master key prefix from the voyage routing test (#45431)

devin-ai-integration[bot]7ec2a94cd87d
diff --git a/tests/unit/llms/voyage/test_common_utils.py b/tests/unit/llms/voyage/test_common_utils.py
index 511391093f3..51d6c3ed0af 100644
--- a/tests/unit/llms/voyage/test_common_utils.py
+++ b/tests/unit/llms/voyage/test_common_utils.py
@@ -29,7 +29,7 @@ def test_mongodb_key_routes_to_mongodb_host():
assert get_default_base_url("al-1234567890") == MONGODB_API_BASE
[email protected]("api_key", ["pa-1234567890", "sk-1234567890", "al", "", None])
[email protected]("api_key", ["pa-1234567890", "sk-voyage-legacy-key", "al", "", None])
def test_non_mongodb_key_routes_to_voyage_host(api_key):
assert get_default_base_url(api_key) == VOYAGE_API_BASE