Skip to content

Gemini CLI

Start CLIProxyAPI server, and then set the CODE_ASSIST_ENDPOINT environment variable to the URL of the CLI Proxy API server.

bash
export CODE_ASSIST_ENDPOINT="http://127.0.0.1:8317"

The server will relay the loadCodeAssist, onboardUser, and countTokens requests. And automatically load balance the text generation requests between the multiple accounts.

NOTE

This feature only allows local access because there is currently no way to authenticate the requests.
127.0.0.1 is hardcoded for load balancing.

Released under the MIT License.