Background:
I’m currently focused on developing an Agent that works with M365 Copilot Chat, but I’ve encountered some issues. I’d like to ask whether these are limitations of the SDK or bugs.
Regarding this Agent, its functionality and presentation are very similar to the Researcher Agent shown below. It needs to analyze the user’s input, then call backend APIs (which take some time to process) to retrieve streaming SSE data, and finally process and stream the data back to the user.
Questions:
1.When I use turnContext.StreamingResponse.QueueTextChunk to push messages to Copilot 365, it always seems to disconnect after about 5 minutes. Does this mean M365 Copilot has a built-in timer that forcibly closes a StreamingResponse object? (I set the EndStreamTimeout property, but it still disconnects.)
2.How can I keep M365 Copilot in a continuous loading state? Researcher does this very well. Although I can use QueueInformativeUpdateAsync to maintain the loading state, it doesn’t accept Adaptive Cards, so I’m curious how Researcher achieves this.
3.Simply put, does the current .NET Agent SDK support building an agent like Researcher Or should I use the Node.js SDK instead of the .NET SDK? Are there any sample examples or document available?
Thanks~
Background:
I’m currently focused on developing an Agent that works with M365 Copilot Chat, but I’ve encountered some issues. I’d like to ask whether these are limitations of the SDK or bugs.
Regarding this Agent, its functionality and presentation are very similar to the Researcher Agent shown below. It needs to analyze the user’s input, then call backend APIs (which take some time to process) to retrieve streaming SSE data, and finally process and stream the data back to the user.
Questions:
1.When I use turnContext.StreamingResponse.QueueTextChunk to push messages to Copilot 365, it always seems to disconnect after about 5 minutes. Does this mean M365 Copilot has a built-in timer that forcibly closes a StreamingResponse object? (I set the EndStreamTimeout property, but it still disconnects.)
2.How can I keep M365 Copilot in a continuous loading state? Researcher does this very well. Although I can use QueueInformativeUpdateAsync to maintain the loading state, it doesn’t accept Adaptive Cards, so I’m curious how Researcher achieves this.
3.Simply put, does the current .NET Agent SDK support building an agent like Researcher Or should I use the Node.js SDK instead of the .NET SDK? Are there any sample examples or document available?
Thanks~