When developing an agent for M365 Copilot using the Agent SDK, I encountered some issues. #319
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
You are seeing limitations in M365 Copilot. its a bit hard to find information on this.. however you can see it here:
The best pattern to use here shown in an example here: This uses Informational Streaming updates to keep the connection alive while the LLM is working, ,then chunks messages back as the LLM delivers them. When using tools, you would project the turncontext into the Tool invoker and send Informational updates as your LLM processes tool calls. and accessed inside a tool here: https://github.com/microsoft/Agents/blob/616cab3f7721582c14c286064f1ea536c7e1cf63/samples/dotnet/semantic-kernel-multiturn/Plugins/WeatherForecastPlugin.cs#L11C1-L11C61 |
Beta Was this translation helpful? Give feedback.

You are seeing limitations in M365 Copilot.
That client requires a response within 15 seconds of sending the request.
Then you must continue to update it ~45 seconds until the request completes,
if you fail to do that, the Client will time out and not receive further updates.
its a bit hard to find information on this.. however you can see it here:
https://learn.microsoft.com/en-us/microsoft-365-copilot/extensibility/custom-engine-agent-asynchronous-flow
The best pattern to use here shown in an example here: