Azure / Azure/azure-sdk-for-python

AI search could not work together with MCP tools

Abierto
#42,998 2 comentarios 0 reacciones 0 asignados Ver en GitHub
AI Client customer-reported needs-team-attention question Service Attention
Lenguaje dominante
Python
Estrellas
5.6k
Forks
3.4k
Merge medio
2 d
PR fusionados (30 d)
217

Descripción

- **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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Empieza reproduciendo los cuatro escenarios con azure-ai-agents 1.2.0b3, centrándote en AgentsClient.runs.stream() y en la interacción entre AI search y MCP tools. Se considera terminado cuando AI search funciona tanto al configurarse en un agente como al pasarse para una ejecución, incluidas las ejecuciones que también reciben MCP tools.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
ai, api
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.