Azure / Azure/azure-sdk-for-python
AI search could not work together with MCP tools
- Lingua principale
- Python
- Stelle
- 5.6k
- Fork
- 3.4k
- Merge medio
- 2g 2h
- PR unite (30g)
- 202
Descrizione
- **Package Name**: azure-ai-agents
- **Package Version**: 1.2.0b3
- **Operating System**: Windows
- **Python Version**: 3.11.9
**Describe the bug**
AI search could not work when work with MCP tools. Below are the scenarios I tried.
1. Use AI search sample to create a new agent with AI search configured.
AI search tool works correctly
2. Use the same agent with AI search configured and pass MCP tools via AgentsClient.runs.stream().
MCP tools work correctly but AI search doesn't work
3. Use the same agent with AI search and pass MCP tools along with AI search tool via AgentsClient.runs.stream().
Both of MCP tools and AI search work correctly.
4. Use an agent without AI search configured and pass AI search tool via AgentsClient.runs.stream().
AI search doesn't work.
**To Reproduce**
Steps to reproduce the behavior:
See the above scenario descriptions.
**Expected behavior**
A clear and concise description of what you expected to happen.
If AI search is configured for an agent, it should also work when MCP tools are passed for a run.
If AI search is not configured for and agent, it should also work when pass AI search tool via AgentsClient.runs.stream().
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Additional context**
Add any other context about the problem here.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo i quattro scenari con azure-ai-agents 1.2.0b3, concentrandoti su AgentsClient.runs.stream() e sull’interazione tra AI search e MCP tools. Il lavoro è completato quando AI search funziona sia se configurato su un agent sia se passato per un’esecuzione, comprese le esecuzioni che ricevono anche MCP tools.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- ai, api
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100