MetaGPT icon indicating copy to clipboard operation
MetaGPT copied to clipboard

Proxy Setting for other LLM

Open zzzzzz5530041 opened this issue 2 years ago • 5 comments

Feature description Google Gemini怎么设置代理啊?

Your Feature 希望支持Google Gemini的代理.

zzzzzz5530041 avatar Jan 13 '24 15:01 zzzzzz5530041

please help to support Gemini proxy setting .thanks

zzzzzz5530041 avatar Jan 13 '24 15:01 zzzzzz5530041

运行代码前,本地配置全局代理。例如:

export http_proxy=http://127.0.0.1:7890
export https_proxy=http://127.0.0.1:7890

voidking avatar Jan 16 '24 02:01 voidking

试试在配置文件 config.yaml 里增加 GLOBAL_PROXY: 这个配置

gaoshan5211 avatar Jan 16 '24 07:01 gaoshan5211

运行代码前,本地配置全局代理。例如:

export http_proxy=http://127.0.0.1:7890
export https_proxy=http://127.0.0.1:7890

谢谢 搞定

zzzzzz5530041 avatar Jan 17 '24 15:01 zzzzzz5530041

试试在配置文件 config.yaml 里增加 GLOBAL_PROXY: 这个配置

这个我加上了还是没用。 上面的兄弟的方法可以用。。谢谢你

zzzzzz5530041 avatar Jan 17 '24 15:01 zzzzzz5530041