Skip to content

Commit c8951ca

Browse files
authored
infra: drop azure from streaming benchmarks (#31421)
Covered by BaseChatOpenAI
1 parent 19f2a92 commit c8951ca

File tree

4 files changed

+2
-15
lines changed

4 files changed

+2
-15
lines changed

β€Ž.github/workflows/codspeed.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ on:
88
workflow_dispatch:
99

1010
env:
11-
AZURE_OPENAI_API_VERSION: ${{ secrets.AZURE_OPENAI_API_VERSION }}
12-
AZURE_OPENAI_API_BASE: ${{ secrets.AZURE_OPENAI_API_BASE }}
13-
AZURE_OPENAI_CHAT_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_CHAT_DEPLOYMENT_NAME }}
14-
AZURE_OPENAI_LEGACY_CHAT_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_LEGACY_CHAT_DEPLOYMENT_NAME }}
11+
AZURE_OPENAI_CHAT_DEPLOYMENT_NAME: foo
12+
AZURE_OPENAI_LEGACY_CHAT_DEPLOYMENT_NAME: foo
1513
DEEPSEEK_API_KEY: foo
1614
FIREWORKS_API_KEY: foo
1715

@@ -62,4 +60,3 @@ jobs:
6260
uv run --no-sync pytest ./tests/ --codspeed
6361
fi
6462
mode: ${{ matrix.mode || 'instrumentation' }}
65-

β€Žlibs/partners/openai/tests/cassettes/TestAzureOpenAIStandardLegacy_test_stream_time.yaml.gz

Lines changed: 0 additions & 1 deletion
This file was deleted.

β€Žlibs/partners/openai/tests/cassettes/TestAzureOpenAIStandard_test_stream_time.yaml.gz

Lines changed: 0 additions & 1 deletion
This file was deleted.

β€Žlibs/partners/openai/tests/integration_tests/chat_models/test_azure_standard.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ def supports_image_urls(self) -> bool:
3838
def supports_json_mode(self) -> bool:
3939
return True
4040

41-
@property
42-
def enable_vcr_tests(self) -> bool:
43-
return True
44-
4541

4642
class TestAzureOpenAIStandardLegacy(ChatModelIntegrationTests):
4743
"""Test a legacy model."""
@@ -62,7 +58,3 @@ def chat_model_params(self) -> dict:
6258
@property
6359
def structured_output_kwargs(self) -> dict:
6460
return {"method": "function_calling"}
65-
66-
@property
67-
def enable_vcr_tests(self) -> bool:
68-
return True

0 commit comments

Comments
Β (0)