Integrations
Configure your favorite AI coding tools â from CLI agents to IDE plugins â to use WisGate models in minutes.
Junie CLI
JetBrains' agentic coding command-line tool, connecting to WisGate via OpenAI-compatible interface.
Junie CLI
Junie CLI is JetBrains' agentic coding command-line tool. It supports BYOK and custom model profiles. With a custom LLM profile, Junie CLI can connect to WisGate through the OpenAI-compatible interface.
1. Install Junie CLI
On Linux / macOS, use the install script:
curl -fsSL https://junie.jetbrains.com/install.sh | bash
Verify the installation:
junie --version
2. Create a WisGate Custom Model Profile
Junie CLI discovers custom models from $JUNIE_HOME/models/*.json or project-level .junie/models/*.json. If JUNIE_HOME is not set, use the default user directory ~/.junie:
mkdir -p ~/.junie/models
Create ~/.junie/models/wisgate.json:
{
"id": "gpt-5.5",
"baseUrl": "https://api.wisgate.cn/v1/chat/completions",
"apiType": "OpenAICompletion",
"apiKey": "your_wisgate_api_key",
"temperature": 0.7,
"fasterModel": {
"id": "gpt-4.7"
}
}
If you want to share the model profile inside a project, place it at .junie/models/wisgate.json, but do not commit a real API key.
3. Start Junie
Navigate to your project directory and select the model:
cd /path/to/your/project
junie --model wisgate
You can also start Junie first, then use /model to view and switch models.
Use Cases
- Interactive coding: Review, write, and modify code from the terminal.
- File context: Use
@to attach files or folders to the request context. - Automated review: Run headless code quality checks and fix suggestions.
- Team profiles: Share a
.junie/models/wisgate.jsontemplate without secrets.
FAQ
Junie cannot find the custom model
Confirm that the JSON file is in ~/.junie/models/, $JUNIE_HOME/models/, or .junie/models/, and that the filename matches the --model value.
Requests fail
Confirm that baseUrl is the full Chat Completions URL https://api.wisgate.cn/v1/chat/completions, apiType is OpenAICompletion, and the API key is correct.