Skip to content

CoPilot Studio - SendActivityAsync stream ends, but things are still in progress #384

@graemefoster

Description

@graemefoster

Language/Version
What package version of the SDK are you using.

  • Language: C#
  • Package version: 1.4.1-beta
  • SDK Use: Agents Hosting / Clients / Tools. dotnet 10, using CoPilot Studio Agent

Describe the bug

I have a CoPilot Studio Agent that talks onwards to a Microsoft Foundry Agent.
When I watch the eventstream, it stops when Copilot Studio sends a message to the Foundry Agent.

I see the same in the CoPilot Studio portal, however the web-interface then makes a further /subscribe call, where I see more events followed by the eventual message.

My problem is, the SDK gives me no way to 'subscribe' when the initial message stream stops.

To Reproduce
How can we reproduce this error?

Create a CPS Agent, hook it up to a Foundry one, auto-approve the call in CPS. In the portal you'll see this:

Image Image

But the Client SDK won't do this. You'll end on an event message, and get nothing else from the stream.

Metadata

Metadata

Labels

AI FoundryThis issue is related to AI FoundryCopilot StudioThis issue is related to Microsoft Copilot Studio

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions