From 96d90ac7bd68f49805e6b3db79f3bf647092a348 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 6 May 2026 02:33:16 +0000 Subject: [PATCH] compat-matrix: pass Vertex AI + Azure Foundry creds to PR-gate proxy and stop logging api_key The Claude Code Compatibility Matrix PR gate booted the proxy with only Anthropic + Bedrock credentials, so every Vertex AI and Azure cell (12 out of 30) failed at startup because test_config.yaml resolves VERTEXAI_CREDENTIALS, AZURE_FOUNDRY_API_KEY, and AZURE_FOUNDRY_API_BASE from the environment. Forward those three env vars from the CircleCI context so the proxy has working routes for all five providers. Also drop the leftover debug prints in basic_messaging_non_streaming/test_anthropic.py that wrote the proxy api_key to stdout (and from there to JUnit XML / CI logs). --- .circleci/config.yml | 3 +++ .../basic_messaging_non_streaming/test_anthropic.py | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b78820019e2..a409f1ed17a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2068,6 +2068,9 @@ jobs: -e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \ -e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \ -e AWS_REGION_NAME="us-east-1" \ + -e VERTEXAI_CREDENTIALS=$VERTEXAI_CREDENTIALS \ + -e AZURE_FOUNDRY_API_KEY=$AZURE_FOUNDRY_API_KEY \ + -e AZURE_FOUNDRY_API_BASE=$AZURE_FOUNDRY_API_BASE \ -e LITELLM_LOCAL_ANTHROPIC_BETA_HEADERS="True" \ --add-host host.docker.internal:host-gateway \ --name compat-proxy \ diff --git a/tests/claude_code/basic_messaging_non_streaming/test_anthropic.py b/tests/claude_code/basic_messaging_non_streaming/test_anthropic.py index ee6314d5ded..4929e8eeccf 100644 --- a/tests/claude_code/basic_messaging_non_streaming/test_anthropic.py +++ b/tests/claude_code/basic_messaging_non_streaming/test_anthropic.py @@ -63,9 +63,6 @@ def test_basic_messaging_non_streaming_anthropic(compat_result, model): f"{PROXY_BASE_URL_ENV} / {PROXY_API_KEY_ENV} not configured", pytrace=False ) - print(f"base_url: {base_url}") - print(f"api_key: {api_key}") - try: result = run_claude( prompt="Reply with the single word 'pong' and nothing else.",