Skip to content

Commit 08161f6

Browse files
authored
Found certain cases isinstance not reliable for annotaiton. So I now… (#43855)
* Found certain cases isinstance not reliable for annotaiton. So I now check type instead to be a universal solution. Added bing grounding. Retest all streaming. * Update * resolved comment * delete hosted agent
1 parent 15da461 commit 08161f6

29 files changed

+237
-398
lines changed

sdk/ai/azure-ai-projects/.env.template

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,10 @@ AZURE_AI_PROJECTS_TESTS_CONTAINER_PROJECT_ENDPOINT=
3737
AZURE_AI_PROJECTS_TESTS_CONTAINER_APP_RESOURCE_ID=
3838
AZURE_AI_PROJECTS_TESTS_CONTAINER_INGRESS_SUBDOMAIN_SUFFIX=
3939

40+
# Used in tools
41+
BING_PROJECT_CONNECTION_ID=
42+
MCP_PROJECT_CONNECTION_ID=
43+
44+
4045

4146

sdk/ai/azure-ai-projects/samples/agents/memory/sample_agent_memory.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" azure-identity python-dotenv
16+
pip install "azure-ai-projects>=2.0.0b1" azure-identity openai python-dotenv
1717
1818
Deploy a chat model (e.g. gpt-4.1) and an embedding model (e.g. text-embedding-3-small).
1919
Once you have deployed models, set the deployment name in the variables below.

sdk/ai/azure-ai-projects/samples/agents/memory/sample_memory_advanced.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" azure-identity python-dotenv
16+
pip install "azure-ai-projects>=2.0.0b1" azure-identity openai python-dotenv
1717
1818
Deploy a chat model (e.g. gpt-4.1) and an embedding model (e.g. text-embedding-3-small).
1919
Once you have deployed models, set the deployment name in the variables below.

sdk/ai/azure-ai-projects/samples/agents/memory/sample_memory_basic.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" azure-identity python-dotenv
16+
pip install "azure-ai-projects>=2.0.0b1" azure-identity openai python-dotenv
1717
1818
Deploy a chat model (e.g. gpt-4.1) and an embedding model (e.g. text-embedding-3-small).
1919
Once you have deployed models, set the deployment name in the variables below.

sdk/ai/azure-ai-projects/samples/agents/memory/sample_memory_crud.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" azure-identity python-dotenv
16+
pip install "azure-ai-projects>=2.0.0b1" azure-identity openai python-dotenv
1717
1818
Set these environment variables with your own values:
1919
1) AZURE_AI_PROJECT_ENDPOINT - The Azure AI Project endpoint, as found in the Overview

sdk/ai/azure-ai-projects/samples/agents/sample_agent_responses_function_tool_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" azure-identity aiohttp python-dotenv
18+
pip install "azure-ai-projects>=2.0.0b1" azure-identity openai 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/agents/sample_agent_retrieve_basic.py

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

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

Lines changed: 0 additions & 85 deletions
This file was deleted.

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

Lines changed: 0 additions & 94 deletions
This file was deleted.

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

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)