Skip to content

Python: Bug: CopilotStudioAgent in Orchestration gets stuck, always timeout #12449

@angandin

Description

@angandin

Describe the bug
Using a CopilotStudioAgent in any orchestration pattern does not get any response, even after waiting tens of minutes. Using the same exact Agent with .get_response, it works perfectly.

To Reproduce

  1. Use CopilotStudioAgent class (https://github.com/microsoft/semantic-kernel/blob/main/python/samples/getting_started_with_agents/copilot_studio/step1_copilot_studio_agent_simple.py) to define the CopilotStudioAgent
  2. Use the ConcurrentOrchestration pattern (https://github.com/microsoft/semantic-kernel/blob/main/python/samples/getting_started_with_agents/multi_agent_orchestration/step1_concurrent.py), with just one agent defined in step 1
  3. Execute code: value = await orchestration_result.get(timeout=20) will get stuck indefenitely

Expected behavior
Get result from orchestration_result.get() method, a text from the CopilotStudioAgent

Platform

  • Language: Python
  • Source: pip semantic-kernel 1.32.2, pip microsoft-agents-copilotstudio-client 0.0.0a3
  • AI model: OpenAI gpt-4o
  • IDE: Visual Studio Code
  • OS: Windows

Metadata

Metadata

Assignees

Labels

agentsbugSomething isn't workingmulti-agentIssues for multi-agent orchestrationpythonPull requests for the Python Semantic Kernel

Type

Projects

Status

Sprint: Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions