|
Introduction
The forum instructions can be overly complex. Here's a streamlined guide.
1. Download the Override Project
Visit linux-do/override: Minimal Description (github.com)
Create this file: config.conf:
{
"bind": "0.0.0.0:8181",
"proxy_url": "",
"timeout": 600,
"codex_api_base": "https://api.deepseek.com/beta/v1",
"codex_api_key": "sk-",
"codex_api_organization": "",
"codex_api_project": "",
"codex_max_tokens": 500,
"code_instruct_model": "deepseek-coder",
"chat_api_base": "https://api.deepseek.com/v1",
"chat_api_key": "sk-",
"chat_api_organization": "",
"chat_api_project": "",
"chat_max_tokens": 4096,
"chat_model_default": "deepseek-chat",
"chat_model_map": {},
"chat_locale": "zh_CN",
"auth_token": ""
}
Run docker-compose up -d. Access http://127.0.0.1:8181 to confirm successful setup.
2. Install VSCode Copilot
Install these versions:
Copilot 1.219.0Copilotchat 0.17.1
In VSCode, press Ctrl+Shift+P and type "settings." Add these configurations:
"github.copilot.advanced": {
"debug.overrideCAPIUrl": "http://127.0.0.1:8181/v1",
"debug.overrideProxyUrl": "http://127.0.0.1:8181",
"debug.chatOverrideProxyUrl": "http://127.0.0.1:8181/v1/chat/completions",
"authProvider": "github-enterprise"
},
"github-enterprise.uri": "https://cocopilot.org"
Restart VSCode after saving.
3. Use the Copilot Plugin
Once installed, you're ready to use the Copilot plugin.
Disable VSCode Completion Sound Notifications
If you find the sounds annoying, adjust your settings:
In VSCode, press Ctrl+Shift+P and type "settings." Add these configurations:
"accessibility.signals.chatRequestSent": {
"sound": "off",
"announcement": "off"
},
"accessibility.signals.chatResponseReceived": {
"sound": "off"
},
"accessibility.signals.diffLineDeleted": {
"sound": "off"
},
"accessibility.signals.clear": {
"sound": "off",
"announcement": "off"
},
"accessibility.signals.diffLineInserted": {
"sound": "off"
}
Configure JetBrains IDE
1. Get the Plugin Version 1.5.8.5775
Download from GitHub Copilot Plugin.
2. Configure with cocopilot.org
In Settings, navigate to Languages & Frameworks > GitHub Copilot > Authentication Provider: cocopilot.org.
3. Install Two Plugins
Download these plugins:
ja-netfilterplugin-env
|
|