Skip to content

支持传递proxy参数(GEMINI-CLI已有此功能) #122

@toomanyopenfiles

Description

@toomanyopenfiles

What would you like to be added?

在GEMINI CLI中,有一个 --proxy 参数,让使用者可以传递本地代理服务器参数:
$ gemini --help
--proxy Proxy for gemini client, like schema://user:password@host:port

希望qwen-code能同步此功能到qwen-code中,这样能解决一些网络访问问题

Why is this needed?

在某些需要代理访问的网络环境中,如果不能传递proxy参数,则qwen-code内部发起的网络请求可能失败。导致削弱了agent使用工具的能力。且此功能在GEMINI-CLI中已经支持,可以参考它的实现来同步此功能。

Additional context

参考GEMINI-CLI的PR #2526
google-gemini/gemini-cli#2526

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions