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
The body channel is internal framework plumbing: the adapter drains it for
HTTP requests and pumps it to CopilotWebSocketHandler.SendRequestMessage for
WebSocket requests. It was exported only because Go exports by capitalisation;
no other SDK surfaces the body channel on the request context. A consumer
reading it directly (e.g. via RequestContextFrom) would race the adapter's
pump goroutine and lose frames. Lowercase it to body to match the other SDKs
and keep it internal to the adapter layer.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments