Skip to main content

Installation & Setup

Install directly from JetBrains Marketplace: AutoDev Sketch

Note: The plugin is named AutoDev Sketch in JetBrains Marketplace with ID com.unitmesh.autodev. This differs from custom repository and GitHub release versions.

This version works with IDE 2024.1 and newer (241+).

Configuration

After installation, configure the plugin in SettingsToolsAutoDev

Default LLM

Supported providers: Deepseek (#96), Moonshot AI, ChatGLM(#90)

  1. Open AutoDev configuration in SettingsToolsAutoDev
  2. Configure LLM Server URL, e.g.:
    • Deepseek: https://api.deepseek.com/chat/completions
    • OpenAI: https://api.openai.com/v1/chat/completions
  3. Enter your LLM Key (API Key)
  4. Set Custom Response Format using JsonPath, e.g.:
    • $.choices[0].delta.content
  5. Configure Custom Request Format, e.g.:
    • { "customFields": {"model": "deepseek-chat", "stream": true }}

Additional Models

Available model types:

  • Plan: For reasoning and planning (Recommended: DeepSeek R1)
  • Completion: For code completion
  • FastApply: For fix patch generation (e.g., Kortix/FastApply-1.5B-v1.0)
  • Others: General placeholder
  • Act: (Not ready) For action execution (e.g., DeepSeek V3, Qwen 72B)
  • Embedding: (Not ready) For embedding functions (e.g., sentence-transformers/all-MiniLM-L6-v2)
{
"name": "DeepSeek R1",
"url": "https://api.deepseek.com/chat/completions",
"auth": {
"type": "Bearer",
"token": "sk-ii"
},
"requestFormat": "{ \"customFields\": {\"model\": \"deepseek-reasoner\", \"stream\": true}}",
"responseFormat": "$.choices[0].delta.content",
"modelType": "Plan"
}

Configuration fields:

  • URL: LLM server address containing endpoint path
  • Auth: Authentication information (currently only supports Bearer token)
  • RequestFormat: JSON structure for API requests
  • ResponseFormat: JsonPath for extracting content from response
  • ModelType: Model type (see list above)