Skip to content

Commit c8fe055

Browse files
authored
Add test recordings to all Agent telemetry tests that have OpenAI only network calls (#44148)
1 parent 3b60667 commit c8fe055

File tree

13 files changed

+83
-144
lines changed

13 files changed

+83
-144
lines changed

sdk/ai/azure-ai-projects/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "python",
44
"TagPrefix": "python/ai/azure-ai-projects",
5-
"Tag": "python/ai/azure-ai-projects_ca3d235eb7"
5+
"Tag": "python/ai/azure-ai-projects_f19313ab67"
66
}

sdk/ai/azure-ai-projects/pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ keywords = ["azure", "azure sdk"]
3434
dependencies = [
3535
"isodate>=0.6.1",
3636
"azure-core>=1.35.0",
37-
"azure-identity>=1.25.0",
38-
"openai>=2.0.0",
37+
"azure-identity>=1.15.0",
38+
"openai>=2.8.0",
3939
"azure-storage-blob>=12.15.0",
4040
]
4141
dynamic = [
@@ -64,4 +64,6 @@ exclude = [
6464
pytyped = ["py.typed"]
6565

6666
[tool.azure-sdk-build]
67+
black = true
6768
verifytypes = false
69+

sdk/ai/azure-ai-projects/samples/agents/sample_agent_basic_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
1818
Before running the sample:
1919
20-
pip install "azure-ai-projects>=2.0.0b1" python-dotenv aiohttp
20+
pip install "azure-ai-projects>=2.0.0b1" python-dotenv aiohttp
2121
2222
Set these environment variables with your own values:
2323
1) AZURE_AI_PROJECT_ENDPOINT - The Azure AI Project endpoint, as found in the Overview

sdk/ai/azure-ai-projects/samples/connections/sample_connections_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
Before running the sample:
1616
17-
pip install "azure-ai-projects>=2.0.0b1" python-dotenv aiohttp
17+
pip install "azure-ai-projects>=2.0.0b1" python-dotenv aiohttp
1818
1919
Set these environment variables with your own values:
2020
1) AZURE_AI_PROJECT_ENDPOINT - Required. The Azure AI Project endpoint, as found in the overview page of your

sdk/ai/azure-ai-projects/samples/datasets/sample_datasets_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
1616
Before running the sample:
1717
18-
pip install "azure-ai-projects>=2.0.0b1" python-dotenv aiohttp
18+
pip install "azure-ai-projects>=2.0.0b1" python-dotenv aiohttp
1919
2020
Set these environment variables with your own values:
2121
1) AZURE_AI_PROJECT_ENDPOINT - Required. The Azure AI Project endpoint, as found in the overview page of your

sdk/ai/azure-ai-projects/samples/deployments/sample_deployments_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
Before running the sample:
1515
16-
pip install "azure-ai-projects>=2.0.0b1" python-dotenv aiohttp
16+
pip install "azure-ai-projects>=2.0.0b1" python-dotenv aiohttp
1717
1818
Set these environment variables with your own values:
1919
1) AZURE_AI_PROJECT_ENDPOINT - Required. The Azure AI Project endpoint, as found in the overview page of your

sdk/ai/azure-ai-projects/samples/indexes/sample_indexes_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
1616
Before running the sample:
1717
18-
pip install "azure-ai-projects>=2.0.0b1" python-dotenv aiohttp
18+
pip install "azure-ai-projects>=2.0.0b1" python-dotenv aiohttp
1919
2020
Set these environment variables with your own values:
2121
1) AZURE_AI_PROJECT_ENDPOINT - Required. The Azure AI Project endpoint, as found in the overview page of your

sdk/ai/azure-ai-projects/samples/responses/sample_responses_basic_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
1616
Before running the sample:
1717
18-
pip install "azure-ai-projects>=2.0.0b1" python-dotenv aiohttp
18+
pip install "azure-ai-projects>=2.0.0b1" python-dotenv aiohttp
1919
2020
Set these environment variables with your own values:
2121
1) AZURE_AI_PROJECT_ENDPOINT - The Azure AI Project endpoint, as found in the Overview

sdk/ai/azure-ai-projects/samples/telemetry/sample_telemetry_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
Before running the sample:
1616
17-
pip install "azure-ai-projects>=2.0.0b1" python-dotenv aiohttp
17+
pip install "azure-ai-projects>=2.0.0b1" python-dotenv aiohttp
1818
1919
Set these environment variables with your own values:
2020
1) AZURE_AI_PROJECT_ENDPOINT - The Azure AI Project endpoint, as found in the overview page of your

sdk/ai/azure-ai-projects/tests/agents/telemetry/test_responses_instrumentor.py

Lines changed: 32 additions & 63 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)