SIGN IN SIGN UP

Fix stream consumption in MCP adapter proxy (#97)

## Summary

Fixes #48.

The adapter proxy directly wrapped non-seekable incoming request bodies
in `StreamContent`. When the request content was consumed more than
once,
this resulted in:

`System.InvalidOperationException: The stream was already consumed. It
cannot be read again.`

This change enables buffering for non-seekable request bodies before
creating
the proxied `StreamContent`.

## Tests

- Added regression coverage for non-seekable request bodies.
- `dotnet test`
- 251 tests passed
- 0 failed

---------

Co-authored-by: Rakshit Singh <rakshitsinghhh@gmail.com>
R
Rakshitsinghhh committed
59201a91f0c033dab7259f7c3c27be15353dafa4
Parent: 3e83bfb
Committed by GitHub <noreply@github.com> on 8/12/2026, 10:21:28 PM