From 56d54c00ad5198f508865aedd2a51c23a70f68dd Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 15 Nov 2023 20:41:06 +0000 Subject: [PATCH 1/3] =?UTF-8?q?ci:=20=F0=9F=8F=B7=20Update=20PyPI=20versio?= =?UTF-8?q?n=20[skip=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/pyproject.toml b/server/pyproject.toml index 004303866..6275e3fd2 100644 --- a/server/pyproject.toml +++ b/server/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "continuedev" -version = "0.1.97" +version = "0.1.98" description = "" authors = ["Nate Sesti "] readme = "README.md" From 5b5d67c164d1997454a5f49f9c364df6ae1cc387 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 15 Nov 2023 20:53:09 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=92=9A=20Update=20package.json=20vers?= =?UTF-8?q?ion=20[skip=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extensions/vscode/package-lock.json | 4 ++-- extensions/vscode/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/vscode/package-lock.json b/extensions/vscode/package-lock.json index dcbd258ca..d02c18835 100644 --- a/extensions/vscode/package-lock.json +++ b/extensions/vscode/package-lock.json @@ -1,12 +1,12 @@ { "name": "continue", - "version": "0.6.3", + "version": "0.6.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "continue", - "version": "0.6.3", + "version": "0.6.4", "license": "Apache-2.0", "dependencies": { "@electron/rebuild": "^3.2.10", diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index add2d59dc..8cb2fc9ac 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -1,7 +1,7 @@ { "name": "continue", "icon": "media/icon.png", - "version": "0.6.3", + "version": "0.6.4", "repository": { "type": "git", "url": "https://github.com/continuedev/continue" From 813462a25889d842783722447008669f1e9b07d1 Mon Sep 17 00:00:00 2001 From: Erick Cardenas Mendez Date: Fri, 17 Nov 2023 23:04:33 -0500 Subject: [PATCH 3/3] docs: expand information on model roles, particularly summarize (#636) --- docs/docs/customization/models.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/docs/customization/models.md b/docs/docs/customization/models.md index 1e352a6cf..046fbc6f4 100644 --- a/docs/docs/customization/models.md +++ b/docs/docs/customization/models.md @@ -44,7 +44,14 @@ config = ContinueConfig( ) ``` -The `default` and `summarize` properties are different _model roles_. This allows different models to be used for different tasks. The available roles are `default`, `summarize`, `edit`, and `chat`. `edit` is used when you use the '/edit' slash command, `chat` is used for all chat responses, and `summarize` is used for summarizing. If not set, all roles will fall back to `default`. The values of these fields must be of the [`LLM`](https://github.com/continuedev/continue/blob/main/server/continuedev/libs/llm/__init__.py) class, which implements methods for retrieving and streaming completions from an LLM. +The `default` and `summarize` properties are different _model roles_. This allows different models to be used for different tasks. The values assigned to these roles must be of the [`LLM`](https://github.com/continuedev/continue/blob/main/server/continuedev/libs/llm/__init__.py) class, which implements methods for retrieving and streaming completions from an LLM. The available roles are: +- `edit` is used for generating code changes when using the '/edit' and '/comment' slash commands +- `chat` is used for all chat responses +- `summarize` is used for creating summaries. The model with this role will be used in the following scenarios: + - generating the Continue session title + - generating a summary of changes shown when you use the '/edit' slash command + - when the Continue session chat messages exceed the context length, they are summarized to avoid complete truncation +- `default` is the fallback, used when the other model roles are not specified Below, we describe the `LLM` classes available in the Continue core library, and how they can be used.