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(integration): opt the config pass-through spend-log case into auth (#44265)

yuneng-jiangb94eaa65c321
diff --git a/tests/integration/observability/test_passthrough_upstream_error_visibility.py b/tests/integration/observability/test_passthrough_upstream_error_visibility.py
index bb18add2f2f..c29ce4f1c62 100644
--- a/tests/integration/observability/test_passthrough_upstream_error_visibility.py
+++ b/tests/integration/observability/test_passthrough_upstream_error_visibility.py
@@ -238,6 +238,7 @@ def test_config_pass_through_route_logs_body_and_strips_query(gateway: Gateway,
"target": f"{wire.url}/upstream?trace=secret-q",
"include_subpath": True,
"headers": {"Authorization": "Bearer scripted"},
+ "auth": True,
}
]
path.write_text(yaml.safe_dump(config))