awesome-deepseek-integration/docs/continue
XieJiSS 57bc53ec7d
Update README_cn.md
fix typo
2024-07-04 19:52:19 +08:00
..
README_cn.md Update README_cn.md 2024-07-04 19:52:19 +08:00
README.md Update continue README.md (#21) 2024-07-04 19:49:53 +08:00

Continue

An open-source autopilot in your IDE. Continue will generate, refactor, and explain entire sections of code with LLMs.

UI

image

Integrate with DeepSeek API

Tab Completion

Please use the following config before we release official FIM support:

config.json
{
  "models": [{
    "title": "DeepSeek",
    "provider": "openai",
    "model": "deepseek-coder",
    "apiBase": "https://api.deepseek.com",
    "apiType": "openai",
    "apiKey": REDACTED,
    "useLegacyCompletionsEndpoint": false,
    "contextLength": 8192
  }],
  "tabAutocompleteOptions": {
    "template": "Please teach me what I should write in the `hole` tag, but without any further explanation and code backticks, i.e., as if you are directly outputting to a code editor. It can be codes or comments or strings. Don't provide existing & repetitive codes. If the provided prefix and suffix contain incomplete code and statement, your response should be able to be directly concatenated to the provided prefix and suffix. Also note that I may tell you what I'd like to write inside comments. \n{{{prefix}}}<hole></hole>{{{suffix}}}\n\nPlease be aware of the environment the hole is placed, e.g., inside strings or comments or code blocks, and please don't wrap your response in ```. You should always provide non-empty output.\n",
    "useCache": true,
    "maxPromptTokens": 2048
  },
  "tabAutocompleteModel": {
    "title": "DeepSeek-V2",
    "model": "deepseek-coder",
    "apiKey": REDACTED,
    "contextLength": 8192,
    "apiBase": "https://api.deepseek.com",
    "completionOptions": {
      "maxTokens": 4096,
      "temperature": 0,
      "topP": 1,
      "presencePenalty": 0,
      "frequencyPenalty": 0
    },
    "provider": "openai",
    "useLegacyCompletionsEndpoint": false
  }
}

Chat with model

image