mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
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).
This commit is contained in:
parent
9a0dd48b06
commit
96d90ac7bd
2 changed files with 3 additions and 3 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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.",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue