GitHub Copilot
To use GitHub Copilot as an AI provider in DBeaver, configure it as follows:
- Sign in to your GitHub account
- Go to the GitHub Copilot page and activate a free trial or subscription
- In DBeaver, go to Window -> Preferences -> AI -> Model configurations
- Click + and choose GitHub Copilot as the engine to create a profile
- Click Authorize to start GitHub device authorization
- Open the verification URL shown by DBeaver and enter the displayed code
-
Complete authorization in GitHub. DBeaver fills in the Access token field automatically
Important
The token is visible only once. After you save the changes, it’ll be masked for security.
-
Choose the model
- Click Test connection to verify that the token and model work correctly
- Apply the changes
Settings¶
| Setting | Description | Default |
|---|---|---|
| Access token | GitHub access token filled in automatically after you complete device authorization with Authorize. | |
| Authentication URL > Note: This feature is available in Lite, Enterprise, and Ultimate editions only. | Your GitHub Enterprise Cloud hostname (for example your-org.ghe.com) to authenticate against, instead of the public github.com. Leave empty to use github.com. |
|
| Model | Choose the AI model. Models are loaded dynamically and can be refreshed using the Refresh models button next to the field. | |
| Context window size | A larger number allows the AI to use more data for better answers but may slow down response time. The size is set dynamically based on the selected model. | Model-dependent |
| Temperature | Control AI's creativity from 0.0 (more precise) to 0.9 (more diverse). Note that higher temperature can lead to less predictable results. |
Model-dependent (0.0 fallback) |
| Request timeout (sec) | Maximum time DBeaver waits for a response from the AI engine before the request fails. | 30 |
| Write AI queries to debug log | Logs your AI requests. For more details on logging, see Log Viewer. | disabled |