Skip to content

Commit 8d7e01e

Browse files
fix auth issue + extra tags (microsoft#2218)
1 parent 37e7c84 commit 8d7e01e

4 files changed

Lines changed: 5 additions & 1 deletion

File tree

dotnet/samples/HostedAgents/AgentWithHostedMCP/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
// Create an agent with the MCP tool using Azure OpenAI Responses.
2525
AIAgent agent = new AzureOpenAIClient(
2626
new Uri(endpoint),
27-
new AzureCliCredential())
27+
new DefaultAzureCredential())
2828
.GetOpenAIResponseClient(deploymentName)
2929
.CreateAIAgent(
3030
instructions: "You answer questions by searching the Microsoft Learn content only.",

dotnet/samples/HostedAgents/AgentWithHostedMCP/agent.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ metadata:
99
authors:
1010
- Microsoft Agent Framework Team
1111
tags:
12+
- Azure AI AgentServer
1213
- Microsoft Agent Framework
1314
- Model Context Protocol
1415
- MCP
16+
- Tool Call Approval
1517
template:
1618
kind: hosted
1719
name: AgentWithHostedMCP

dotnet/samples/HostedAgents/AgentWithTextSearchRag/agent.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ metadata:
1010
authors:
1111
- Microsoft Agent Framework Team
1212
tags:
13+
- Azure AI AgentServer
1314
- Microsoft Agent Framework
1415
- Retrieval-Augmented Generation
1516
- RAG

dotnet/samples/HostedAgents/AgentsInWorkflows/agent.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ metadata:
88
authors:
99
- Microsoft Agent Framework Team
1010
tags:
11+
- Azure AI AgentServer
1112
- Microsoft Agent Framework
1213
- Workflows
1314
template:

0 commit comments

Comments
 (0)