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
Updating Csharp and Python BYO samples to GA. - #1074
[BAT-GA] Migrate C# and Python BYO browser automation samples to GA MCP.
Follow ups:
p0:
prompt agent MCP samples (wherever needed in this repo).
p1:
There are few places where the toolbox name etc are not in full sync, will add that sync in next prs (for now this can be considered as just the migration to GA pr.)
Scripts to bicep files.(next prs)
Check the postdeploy script error for the pww id given in the new project flow (pre-existing, but need to check once, could be transient too)
Move the MAF migration and pending MAF infrastructure changes to users/mohit/bat-ga-mcp-csharp-maf; keep this branch scoped to BYO samples.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 05607f09-ad87-46b5-9b03-4a9f594b891d
The client advertises MCP 2025-03-26, but the Streamable HTTP transport requires POST requests to accept both application/json and text/event-stream. This pipeline sets no Accept header and later assumes the response is a single JSON document, so a compliant GA endpoint may reject the call or return SSE that cannot be parsed. Add both response formats or use an MCP transport client.
MCP client lacks Streamable HTTP negotiation and SSE handling
This client now advertises MCP 2025-03-26, whose Streamable HTTP transport requires every POST to accept both application/json and text/event-stream. These headers omit Accept, and _post unconditionally parses a JSON body, so a compliant GA endpoint may reject the request or return SSE that this client cannot consume. Add protocol-compliant content negotiation and handle both response formats, or use an MCP transport client.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updating Csharp and Python BYO samples to GA.
[BAT-GA] Migrate C# and Python BYO browser automation samples to GA MCP.
Follow ups:
p0:
prompt agent MCP samples (wherever needed in this repo).
p1:
There are few places where the toolbox name etc are not in full sync, will add that sync in next prs (for now this can be considered as just the migration to GA pr.)
Scripts to bicep files.(next prs)
Check the postdeploy script error for the pww id given in the new project flow (pre-existing, but need to check once, could be transient too)