The Gemini provider connects DP Code to Google’s Gemini CLI coding agent. The provider kind isDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Emanuele-web04/dpcode/llms.txt
Use this file to discover all available pages before exploring further.
gemini. DP Code launches the gemini binary and communicates with it using the Agent Communication Protocol (ACP). Events are streamed to your browser through the DP Code WebSocket connection.
Prerequisites
Install Gemini CLI
Install the Gemini CLI from Google. Check the official Gemini CLI repository for the latest installation instructions.Verify the installation:
Settings
Configure the Gemini provider underproviders.gemini in your DP Code server settings.
Path to the
gemini executable. Accepts a bare binary name resolved from PATH or an absolute path.List of additional model slugs to make available in the model picker. Each entry must be a non-empty string with a maximum of 256 characters.
Set to
false to disable the Gemini provider. Existing sessions continue until you reload.Model selection
The following models are available by default. DP Code selectsauto-gemini-3 when no model is specified.
| Model slug | Display name |
|---|---|
auto-gemini-3 | Auto Gemini 3 |
auto-gemini-2.5 | Auto Gemini 2.5 |
gemini-3.1-pro-preview | Gemini 3.1 Pro Preview |
gemini-3-flash-preview | Gemini 3 Flash Preview |
gemini-3.1-flash-lite-preview | Gemini 3.1 Flash Lite Preview |
gemini-2.5-pro | Gemini 2.5 Pro |
gemini-2.5-flash | Gemini 2.5 Flash |
gemini-2.5-flash-lite | Gemini 2.5 Flash Lite |
Model aliases
| Alias | Resolves to |
|---|---|
auto | auto-gemini-3 |
auto-gemini-3 | auto-gemini-3 |
auto-gemini-2.5 | auto-gemini-2.5 |
gemini-3-pro-preview | gemini-3.1-pro-preview |
gemini-2.5-pro | gemini-2.5-pro |
gemini-2.5-flash | gemini-2.5-flash |
gemini-2.5-flash-lite | gemini-2.5-flash-lite |
Thinking level (Gemini 3 models)
Gemini 3 series models accept athinkingLevel option with two values:
| Value | Label | Default |
|---|---|---|
HIGH | High | Yes |
LOW | Low | — |
Thinking budget (Gemini 2.5 models)
Gemini 2.5 models use a token-based thinking budget instead of a level. The available values are:| Value | Label | Default |
|---|---|---|
-1 | Dynamic | Yes |
512 | 512 Tokens | — |
-1 (Dynamic) lets the model decide how many tokens to spend on reasoning. 512 caps the thinking budget at 512 tokens.
Gemini CLI repository
Source code and releases for the Gemini CLI.
Google AI Studio
Manage API keys and explore Gemini model capabilities.