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(e2e): source the ratelimit suite's model from E2E_CHEAP_ANTHROPIC_MODEL
mateo-berri36dff0f63ad5
diff --git a/tests/e2e/e2e_config.py b/tests/e2e/e2e_config.pyindex 75bd715a23a..cde30bf7841 100644--- a/tests/e2e/e2e_config.py+++ b/tests/e2e/e2e_config.py@@ -24,6 +24,8 @@ CONTROL_PLANE_BASE_URL = os.environ.get(UI_USERNAME = os.environ.get("E2E_UI_USERNAME", "admin")UI_PASSWORD = os.environ.get("E2E_UI_PASSWORD", MASTER_KEY)+CHEAP_ANTHROPIC_MODEL = os.environ.get("E2E_CHEAP_ANTHROPIC_MODEL", "claude-haiku-4-5")+# Writes on the proxy are eventually consistent (e.g. spend rows flush on# proxy_batch_write_at, ~60s). Read-backs poll to this deadline, never sleep-once.POLL_TIMEOUT = float(os.environ.get("E2E_POLL_TIMEOUT", "120"))diff --git a/tests/e2e/quota_management/ratelimit/test_rate_limit_e2e.py b/tests/e2e/quota_management/ratelimit/test_rate_limit_e2e.pyindex c837bec19f8..b60b0f37ed2 100644--- a/tests/e2e/quota_management/ratelimit/test_rate_limit_e2e.py+++ b/tests/e2e/quota_management/ratelimit/test_rate_limit_e2e.py@@ -37,7 +37,7 @@ from dataclasses import dataclassimport pytestfrom pydantic import BaseModel, ConfigDict, ValidationError-from e2e_config import unique_marker+from e2e_config import CHEAP_ANTHROPIC_MODEL, unique_markerfrom e2e_http import StreamingResponse, require_successful_callfrom lifecycle import ResourceManagerfrom models import KeyGenerateBody@@ -45,7 +45,7 @@ from quota_client import QuotaClientpytestmark = pytest.mark.e2e-MODEL = "claude-haiku-4-5"+MODEL = CHEAP_ANTHROPIC_MODELTPM_LIMIT = 60CHAT_MAX_TOKENS = 16RESERVATION_CHARS_PER_TOKEN = 4