Skip to content

Conversation

@ibetitsmike
Copy link
Contributor

Switch from undici Agent to EnvHttpProxyAgent to automatically respect HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables.

Benefits:

  • Enables debugging/inspection via proxy tools like mitmproxy
  • Supports corporate network environments that require proxying

The EnvHttpProxyAgent inherits all the same timeout configuration (bodyTimeout: 0, headersTimeout: 0) to prevent BodyTimeoutError on long-running reasoning model pauses.

Generated with mux

Switch from undici Agent to EnvHttpProxyAgent to automatically
respect HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables.
This enables debugging/inspection via proxy tools like mitmproxy and
supports corporate network environments that require proxying.

The EnvHttpProxyAgent inherits all the same timeout configuration
(bodyTimeout: 0, headersTimeout: 0) to prevent BodyTimeoutError on
long-running reasoning model pauses.

_Generated with mux_
@ibetitsmike ibetitsmike added this pull request to the merge queue Dec 3, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 3, 2025
@ibetitsmike ibetitsmike force-pushed the fix-mux-http-proxy-env-vars branch from c00d5d4 to 4d6a0c0 Compare December 3, 2025 12:37
@ibetitsmike ibetitsmike added this pull request to the merge queue Dec 3, 2025
github-merge-queue bot pushed a commit that referenced this pull request Dec 3, 2025
Switch from undici `Agent` to `EnvHttpProxyAgent` to automatically
respect `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY` environment
variables.

**Benefits:**
- Enables debugging/inspection via proxy tools like mitmproxy
- Supports corporate network environments that require proxying

The `EnvHttpProxyAgent` inherits all the same timeout configuration
(`bodyTimeout: 0`, `headersTimeout: 0`) to prevent `BodyTimeoutError` on
long-running reasoning model pauses.

_Generated with `mux`_
Merged via the queue into main with commit 6b9f32d Dec 3, 2025
20 of 21 checks passed
@ibetitsmike ibetitsmike deleted the fix-mux-http-proxy-env-vars branch December 3, 2025 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant