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
[Fix] Tests: Use master key for /otel-spans in test_chat_completion_check_otel_spans
Yuneng Jiang8a1b6635fa45
diff --git a/tests/otel_tests/test_otel.py b/tests/otel_tests/test_otel.pyindex cf28d678de1..a9ed4461a12 100644--- a/tests/otel_tests/test_otel.py+++ b/tests/otel_tests/test_otel.py@@ -99,7 +99,8 @@ async def test_chat_completion_check_otel_spans():await asyncio.sleep(3)- otel_spans = await get_otel_spans(session=session, key=key)+ # /otel-spans requires proxy admin; use the master key.+ otel_spans = await get_otel_spans(session=session, key="sk-1234")print("otel_spans: ", otel_spans)all_otel_spans = otel_spans["otel_spans"]