Skip to content

Update sample #10

Open
lilyjma wants to merge 2 commits into
Azure-Samples:mainfrom
lilyjma:main
Open

Update sample #10
lilyjma wants to merge 2 commits into
Azure-Samples:mainfrom
lilyjma:main

Conversation

@lilyjma

@lilyjma lilyjma commented May 19, 2026

Copy link
Copy Markdown
  • remove location restrictions (updated bicep and note in readme)
  • update MCP code (updated to the latest in the Functions MCP extension)
  • azure-ai-projects>=1.0.0b12 now resolves to 2.1.0, which has some breaking changes. Updated main.py

lilyjma and others added 2 commits May 19, 2026 13:07
- Update main.py to use AgentsClient directly (AIProjectClient.agents
  was removed in azure-ai-projects 2.x)
- Add MCP tool approval handling (require_approval param no longer
  supported; use allowed_tools + submit_tool_approval REST call)
- Remove /sse suffix from MCP server URL (endpoint doesn't exist)
- Fix agent folder path in README (agent -> src/agent)
- Fix copy command in README (copy -> cp)
- Add region capacity warning in README for eastus2/eastus
- Add SDK usage note about AgentsClient and tool approvals
- Pin azure-ai-projects<3.0.0 to prevent future breaking changes

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant