acp: Add NO_PROXY if not set otherwise to not proxy localhost urls (#39100)

Since we might run MCP servers locally for an agent, we don't want to
use the proxy for those.
We set this if the user has set a proxy, but not a custom NO_PROXY env
var.

Closes #38839

Release Notes:

- acp: Don't run local mcp servers through proxy, if set
bad96776cdBen Brandt committed on 9/29/2025, 11:34:52 AM· committed by GitHubparentaa14980
1 file changedLine totals unavailable