You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[CopilotClient] aiohttp "Chunk too big" error on large responses in microsoft-agents-copilotstudio-client #268
I am using microsoft-agents-copilotstudio-client (v0.6.1). When the Copilot agent returns a large response (e.g., a long summary > 64KB), the underlying aiohttp client crashes with a Chunk to big error.
The library does not expose a way to configure the aiohttp.ClientSession or increase the readuntil limit, which defaults to 64KB. This is often insufficient for Generative AI responses sent as single-line JSON or SSE events.
To Reproduce
Initialize CopilotClient.
Send a query that generates a large text response (> 64KB).
The client raises aiohttp.streams.LineTooLong (or similar).
Expected behavior
The client should allow configuring the session limit or default to a higher limit (e.g. 10MB) to handle verbose LLM outputs.
Activity