UI-TARS-desktop icon indicating copy to clipboard operation
UI-TARS-desktop copied to clipboard

[Feature]: 支持设置代理转发端口以解决 Node.js 请求不走系统代理的问题

Open Alessandro-Pang opened this issue 9 months ago • 1 comments

Which destkop app does this feature request relate to?

Agent-TARS Desktop

What problem does this feature solve?

当前桌面软件(基于 Node.js 和 Electron 构建)在处理网络请求时,默认不走宿主机系统代理设置。这导致即便宿主机已开启全局代理,软件发起的请求仍无法通过代理访问外网接口。推测此问题可能源于 Node.js 的请求机制在 Electron 环境下未能正确识别或利用系统代理配置。

此问题对用户造成的影响:

  1. 用户在需要通过代理访问外网的场景下,无法正常使用软件功能。
  2. 增加了用户的手动配置成本,需要额外设置代理或寻找替代方案。

What does the proposed features look like?

为了改善用户体验并解决上述问题,建议软件增加以下功能:

​- 代理设置支持:在软件的网络设置中增加代理配置选项,允许用户输入代理服务器的地址和端口。

  • ​自动代理转发:当用户配置了代理服务器后,软件发起的所有网络请求自动通过该代理服务器转发,确保请求能够正确通过代理访问外网。

Alessandro-Pang avatar Mar 24 '25 22:03 Alessandro-Pang

@Alessandro-Pang Thanks for your feedback! request proxy is really a good feature, since the core team still has a lot of issues to solve regarding Agent, if the community has an urgent need for this feature, feel free and welcome to contribute for it.


BTW, I'll appreciate if you take the time to translate the issue to English so anybody can answer, you will also benefit from this :) Next time I suggest you open an issue by English so anybody can answer, you will also benefit from this :)

ulivz avatar Mar 28 '25 07:03 ulivz