注意:你也可以将这些环境变量添加到你的 .bashrc
、.zshrc
或其他 shell 配置文件中,这样每次启动终端时都会自动设置这些变量。
GEMINI_API_BASE_URL
来使用中转站。
GEMINI_API_BASE_URL
设置中转站外,你也可以使用其他代理配置方式 1:GEMINI_API_BASE_URL
,最新版本的 Gemini CLI 也支持通过 ALL_PROXY
环境变量设置代理 2:
--proxy
参数直接在命令行设置代理 2> Describe the main pieces of this system's architecture.
> What security mechanisms are in place?
> Provide a step-by-step dev onboarding doc for developers new to the codebase.
> Implement a first draft for GitHub issue #123.
> Help me migrate this codebase to the latest version of Java. Start with a plan.
> Make me a slide deck showing the git history from the last 7 days, grouped by feature and team member.
> Make a full-screen web app for a wall display to show our most interacted-with GitHub issues.
> Convert all the images in this directory to png, and rename them to use dates from the exif data.
> Organize my PDF invoices by month of expenditure.
socks5://<user>:<pass>@<proxy>:<port>
5