| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Models advertising a WebSocket responses endpoint use it by default, and the environment variable that falls back to the HTTP transport is not listed anywhere users can find it. It is the documented recovery for networks that block WebSocket connections and for sessions that start failing with a connection-bound input item ID error. Signed-off-by: 1fanwang <1fannnw@gmail.com>
There was a problem hiding this comment.
Clarify the inverse SDK option and add PowerShell instructions.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overviewDocuments disabling WebSocket responses to fall back to HTTP.
Changes:
| File | Description |
|---|---|
| README.md | Documents HTTP fallback configuration for WebSocket response failures. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Sorry, something went wrong.
The README documents Windows support but the workaround only had POSIX export syntax, and calling it equivalent to the SDK option was ambiguous because the two have opposite polarity. Signed-off-by: 1fanwang <1fannnw@gmail.com>
There was a problem hiding this comment.
Looks good. Clear documentation with both Bash and PowerShell instructions.
Sorry, something went wrong.
|
Well presented, with clear instructions provided for both Bash and PowerShell |
Sorry, something went wrong.
|
What is.
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Why
Models that advertise a WebSocket responses endpoint use it by default. When that transport is unusable, either because the network blocks WebSocket connections or because a session starts failing with 400 input item ID does not belong to this connection, there is a working escape hatch, but nothing user-facing points to it.
COPILOT_CLI_DISABLE_WEBSOCKET_RESPONSES is not listed in copilot help environment and is not in the README. The only public description lives in an SDK type comment, which CLI users do not read. People hitting this are left changing models by trial and error, and switching between two models that both use the transport appears to do nothing.
Related: #4505
What changed
A short subsection under Using the CLI naming the variable, the two situations it addresses, and its relationship to the SDK session option.
Testing
Ran the same prompt with and without the variable under --log-level debug, in an isolated home directory, and counted use of the WebSocket responses network module.
Raw logsRepeating the second run with --model gpt-5.6-terra also reported zero
WebSocket responses connections.