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(perf): tag a UI journey sample with its API response, not a Next.js prefetch under /ui/ (#47650)
Kerry Lu95b6eea5bb48
diff --git a/tests/e2e/perf/setup/ui_journeys.py b/tests/e2e/perf/setup/ui_journeys.pyindex 2b7bda77733..4de97d8c717 100644--- a/tests/e2e/perf/setup/ui_journeys.py+++ b/tests/e2e/perf/setup/ui_journeys.py@@ -10,8 +10,8 @@ from dataclasses import dataclassfrom datetime import datetimefrom itertools import chainfrom types import MappingProxyType-from urllib.parse import urlsplitfrom typing import Final+from urllib.parse import urlsplitfrom playwright.sync_api import Error as PlaywrightErrorfrom playwright.sync_api import Locator, Page, Response, expect, sync_playwright@@ -189,7 +189,9 @@ def _login(page: Page, dashboard: Dashboard) -> None:def _is_data_fetch(response: Response) -> bool:- return response.request.resource_type in ("fetch", "xhr") and "/_next/" not in response.url+ """API calls only. The Admin UI's own assets and Next.js prefetches live under /ui/ and /_next/."""+ path: Final = urlsplit(response.url).path+ return response.request.resource_type in ("fetch", "xhr") and not path.startswith(("/ui/", "/_next/"))def _worst(responses: list[Response]) -> Response | None: