From cb4cb4cdda71afa5a35a2f8053a71890ece6e6ef Mon Sep 17 00:00:00 2001 From: XieJiSS Date: Tue, 13 Aug 2024 17:34:54 +0800 Subject: [PATCH] Update README_cn.md for Continue --- docs/continue/README_cn.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/docs/continue/README_cn.md b/docs/continue/README_cn.md index 3e4125f..5bf17cd 100644 --- a/docs/continue/README_cn.md +++ b/docs/continue/README_cn.md @@ -17,27 +17,27 @@ ```json { + "completionOptions": { + "temperature": 0, + "maxTokens": 4096 + }, "models": [{ "title": "DeepSeek", "provider": "openai", "model": "deepseek-coder", - "apiBase": "https://api.deepseek.com", - "apiType": "openai", + "apiBase": "https://api.deepseek.com/beta", "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}}}{{{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 + "maxPromptTokens": 4096 }, "tabAutocompleteModel": { "title": "DeepSeek-V2", "model": "deepseek-coder", "apiKey": REDACTED, "contextLength": 8192, - "apiBase": "https://api.deepseek.com", + "apiBase": "https://api.deepseek.com/beta", "completionOptions": { "maxTokens": 4096, "temperature": 0, @@ -45,8 +45,7 @@ "presencePenalty": 0, "frequencyPenalty": 0 }, - "provider": "openai", - "useLegacyCompletionsEndpoint": false + "provider": "openai" } } ```