From 31a95fab2a6b56b1db71231483f599567a67a1d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20Bub=C3=A1n?= <43829749+Mahrkeenerh@users.noreply.github.com> Date: Mon, 16 Sep 2024 14:42:09 +0200 Subject: [PATCH 01/19] Fix install link --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1496503b1..597256325 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ ## Getting Started -Learn about how to install and use Continue in the docs [here](https://continue.dev/docs/getting-started) +Learn about how to install and use Continue in the docs [here](https://continue.dev/docs/getting-started/install) ## Contributing @@ -62,4 +62,4 @@ Check out the [contribution ideas board](https://github.com/orgs/continuedev/pro ## License -[Apache 2.0 © 2023 Continue Dev, Inc.](./LICENSE) \ No newline at end of file +[Apache 2.0 © 2023 Continue Dev, Inc.](./LICENSE) From 0529ae8e1e4f61d83f2a4c43c9b9d23a84192ec9 Mon Sep 17 00:00:00 2001 From: Test Date: Wed, 18 Sep 2024 16:08:52 -0700 Subject: [PATCH 02/19] fix: broken schema config --- docs/static/schemas/config.json | 15 ++++++--------- .../src/main/resources/config_schema.json | 15 ++++++--------- extensions/vscode/config_schema.json | 15 ++++++--------- extensions/vscode/continue_rc_schema.json | 15 ++++++--------- 4 files changed, 24 insertions(+), 36 deletions(-) diff --git a/docs/static/schemas/config.json b/docs/static/schemas/config.json index cbf47d4b4..911278ebb 100644 --- a/docs/static/schemas/config.json +++ b/docs/static/schemas/config.json @@ -2476,13 +2476,16 @@ "type": "object", "properties": { "inlineEdit": { - "$ref": "#/definitions/ModelTitle" + "description": "The 'title' property of the model you wish to use for inline edits", + "type": "string" }, "applyCodeBlock": { - "$ref": "#/definitions/ModelTitle" + "description": "The 'title' property of the model you wish to use for applying code blocks", + "type": "string" }, "repoMapFileSelection": { - "$ref": "#/definitions/ModelTitle" + "description": "The 'title' property of the model you wish to use for repo map file selections", + "type": "string" } } }, @@ -2545,12 +2548,6 @@ } } } - }, - "ModelTitle": { - "type": "string", - "enum": { - "$data": "/models/title" - } } } } diff --git a/extensions/intellij/src/main/resources/config_schema.json b/extensions/intellij/src/main/resources/config_schema.json index cbf47d4b4..911278ebb 100644 --- a/extensions/intellij/src/main/resources/config_schema.json +++ b/extensions/intellij/src/main/resources/config_schema.json @@ -2476,13 +2476,16 @@ "type": "object", "properties": { "inlineEdit": { - "$ref": "#/definitions/ModelTitle" + "description": "The 'title' property of the model you wish to use for inline edits", + "type": "string" }, "applyCodeBlock": { - "$ref": "#/definitions/ModelTitle" + "description": "The 'title' property of the model you wish to use for applying code blocks", + "type": "string" }, "repoMapFileSelection": { - "$ref": "#/definitions/ModelTitle" + "description": "The 'title' property of the model you wish to use for repo map file selections", + "type": "string" } } }, @@ -2545,12 +2548,6 @@ } } } - }, - "ModelTitle": { - "type": "string", - "enum": { - "$data": "/models/title" - } } } } diff --git a/extensions/vscode/config_schema.json b/extensions/vscode/config_schema.json index cbf47d4b4..911278ebb 100644 --- a/extensions/vscode/config_schema.json +++ b/extensions/vscode/config_schema.json @@ -2476,13 +2476,16 @@ "type": "object", "properties": { "inlineEdit": { - "$ref": "#/definitions/ModelTitle" + "description": "The 'title' property of the model you wish to use for inline edits", + "type": "string" }, "applyCodeBlock": { - "$ref": "#/definitions/ModelTitle" + "description": "The 'title' property of the model you wish to use for applying code blocks", + "type": "string" }, "repoMapFileSelection": { - "$ref": "#/definitions/ModelTitle" + "description": "The 'title' property of the model you wish to use for repo map file selections", + "type": "string" } } }, @@ -2545,12 +2548,6 @@ } } } - }, - "ModelTitle": { - "type": "string", - "enum": { - "$data": "/models/title" - } } } } diff --git a/extensions/vscode/continue_rc_schema.json b/extensions/vscode/continue_rc_schema.json index 58453fc5c..101296fe6 100644 --- a/extensions/vscode/continue_rc_schema.json +++ b/extensions/vscode/continue_rc_schema.json @@ -2782,13 +2782,16 @@ "type": "object", "properties": { "inlineEdit": { - "$ref": "#/definitions/ModelTitle" + "description": "The 'title' property of the model you wish to use for inline edits", + "type": "string" }, "applyCodeBlock": { - "$ref": "#/definitions/ModelTitle" + "description": "The 'title' property of the model you wish to use for applying code blocks", + "type": "string" }, "repoMapFileSelection": { - "$ref": "#/definitions/ModelTitle" + "description": "The 'title' property of the model you wish to use for repo map file selections", + "type": "string" } } }, @@ -2864,12 +2867,6 @@ "markdownDescription": "If set to 'merge', .continuerc.json will be applied on top of config.json (arrays and objects are merged). If set to 'overwrite', then every top-level property of .continuerc.json will overwrite that property from config.json." } } - }, - "ModelTitle": { - "type": "string", - "enum": { - "$data": "/models/title" - } } } } \ No newline at end of file From 7e5cd9d69f5f33e562d31b51868e9d929872be2f Mon Sep 17 00:00:00 2001 From: Test Date: Thu, 19 Sep 2024 14:49:55 -0700 Subject: [PATCH 03/19] Create auto-assign.yaml --- .github/workflows/auto-assign.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/auto-assign.yaml diff --git a/.github/workflows/auto-assign.yaml b/.github/workflows/auto-assign.yaml new file mode 100644 index 000000000..d252f52a2 --- /dev/null +++ b/.github/workflows/auto-assign.yaml @@ -0,0 +1,19 @@ +name: Issue assignment + +on: + issues: + types: [opened] + pull_request: + types: [opened] + +jobs: + auto-assign: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - name: "Auto-assign issue" + uses: pozil/auto-assign-issue@v2 + with: + assignees: sestinj,Patrick-Erichsen + numOfAssignee: 1 From 7705833adea0792d40dbe181dc22fc37d5ae72a1 Mon Sep 17 00:00:00 2001 From: Test Date: Thu, 19 Sep 2024 14:53:41 -0700 Subject: [PATCH 04/19] Update auto-assign.yaml --- .github/workflows/auto-assign.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/auto-assign.yaml b/.github/workflows/auto-assign.yaml index d252f52a2..1dd452dae 100644 --- a/.github/workflows/auto-assign.yaml +++ b/.github/workflows/auto-assign.yaml @@ -15,5 +15,6 @@ jobs: - name: "Auto-assign issue" uses: pozil/auto-assign-issue@v2 with: + repo-token: ${{ secrets.CI_GITHUB_TOKEN }} assignees: sestinj,Patrick-Erichsen numOfAssignee: 1 From bccb178c8f84b4078e60c5c871d492802b6868cf Mon Sep 17 00:00:00 2001 From: Steve Rhoades Date: Sun, 22 Sep 2024 17:34:17 -0700 Subject: [PATCH 05/19] Fixes #2349 custom code rag instructions --- docs/docs/customize/tutorials/custom-code-rag.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docs/customize/tutorials/custom-code-rag.md b/docs/docs/customize/tutorials/custom-code-rag.md index 5ae55ebd4..993da23be 100644 --- a/docs/docs/customize/tutorials/custom-code-rag.md +++ b/docs/docs/customize/tutorials/custom-code-rag.md @@ -37,6 +37,7 @@ With LanceDB, we can do steps 2 and 3 simultaneously, as demonstrated [in their ```python from lancedb.pydantic import LanceModel, Vector from lancedb.embeddings import get_registry +from typing import List db = lancedb.connect("/tmp/db") func = get_registry().get("openai").create( @@ -48,7 +49,7 @@ func = get_registry().get("openai").create( class CodeChunks(LanceModel): filename: str text: str = func.SourceField() - vector: Vector(func.ndims()) = func.VectorField() + vector: List[float] = func.VectorField() table = db.create_table("code_chunks", schema=CodeChunks, mode="overwrite") table.add([ From 0387721222475af4aaf38ad329fad3fd43a76229 Mon Sep 17 00:00:00 2001 From: Steve Rhoades Date: Sun, 22 Sep 2024 17:34:17 -0700 Subject: [PATCH 06/19] Fixes #2349 correct documentation --- docs/docs/customize/tutorials/custom-code-rag.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/customize/tutorials/custom-code-rag.md b/docs/docs/customize/tutorials/custom-code-rag.md index 993da23be..6793a8277 100644 --- a/docs/docs/customize/tutorials/custom-code-rag.md +++ b/docs/docs/customize/tutorials/custom-code-rag.md @@ -37,7 +37,6 @@ With LanceDB, we can do steps 2 and 3 simultaneously, as demonstrated [in their ```python from lancedb.pydantic import LanceModel, Vector from lancedb.embeddings import get_registry -from typing import List db = lancedb.connect("/tmp/db") func = get_registry().get("openai").create( @@ -49,7 +48,8 @@ func = get_registry().get("openai").create( class CodeChunks(LanceModel): filename: str text: str = func.SourceField() - vector: List[float] = func.VectorField() + # 1536 is the embedding dimension of the `voyage-code-2` model. + vector: Vector(1536) = func.VectorField() table = db.create_table("code_chunks", schema=CodeChunks, mode="overwrite") table.add([ From 1a6670691aeda7edd71a34c6136ad4fb35ba8caa Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 29 Sep 2024 13:04:44 -0700 Subject: [PATCH 07/19] bump vscode version --- extensions/vscode/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 1118d1b4b..b9765f2a8 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -2,7 +2,7 @@ "name": "continue", "icon": "media/icon.png", "author": "Continue Dev, Inc", - "version": "0.8.52", + "version": "0.8.53", "repository": { "type": "git", "url": "https://github.com/continuedev/continue" From 588d38f96627ead4aa89635e1e8694cb92aeb1e5 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 6 Oct 2024 14:29:23 -0700 Subject: [PATCH 08/19] update control plane proxy URL --- core/control-plane/client.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/control-plane/client.ts b/core/control-plane/client.ts index 25ae3e962..acfe82cc9 100644 --- a/core/control-plane/client.ts +++ b/core/control-plane/client.ts @@ -21,7 +21,8 @@ export interface ControlPlaneModelDescription extends ModelDescription {} export const DEFAULT_CONTROL_PLANE_PROXY_URL = process.env.CONTROL_PLANE_ENV === "local" ? "http://localhost:3001/" - : "https://control-plane-proxy.continue.dev/"; + : "https://control-plane-api-service-i3dqylpbqa-uc.a.run.app/"; +// : "https://control-plane-proxy.continue.dev/"; export const CONTROL_PLANE_URL = process.env.CONTROL_PLANE_ENV === "local" From fda992366cad53726501c8ca837ffeb6e5205da5 Mon Sep 17 00:00:00 2001 From: tomasz-io Date: Thu, 3 Oct 2024 17:55:16 +0200 Subject: [PATCH 09/19] fix ollama fim --- core/llm/llms/Ollama.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/core/llm/llms/Ollama.ts b/core/llm/llms/Ollama.ts index 3b16d0456..f9f3ccd72 100644 --- a/core/llm/llms/Ollama.ts +++ b/core/llm/llms/Ollama.ts @@ -15,6 +15,8 @@ class Ollama extends BaseLLM { model: "codellama-7b", }; + private fimSupported: boolean = false; + constructor(options: LLMOptions) { super(options); @@ -70,6 +72,13 @@ class Ollama extends BaseLLM { } } } + + /** + * There is no API to get the model's FIM capabilities, so we have to + * make an educated guess. If a ".Suffix" variable appears in the template + * it's a good indication the model supports FIM. + */ + this.fimSupported = !!body?.template?.includes(".Suffix"); }) .catch((e) => { // console.warn("Error calling the Ollama /api/show endpoint: ", e); @@ -251,7 +260,7 @@ class Ollama extends BaseLLM { } supportsFim(): boolean { - return true; + return this.fimSupported; } protected async *_streamFim( From 5730b84b639f40eec2935c9e806bff2022947c84 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 6 Oct 2024 14:31:55 -0700 Subject: [PATCH 10/19] fix typo in context-providers.md --- docs/docs/customize/context-providers.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/docs/customize/context-providers.md b/docs/docs/customize/context-providers.md index 2b3224543..2b8779661 100644 --- a/docs/docs/customize/context-providers.md +++ b/docs/docs/customize/context-providers.md @@ -6,7 +6,7 @@ keywords: [context, "@", provider, LLM] Context Providers allow you to type '@' and see a dropdown of content that can all be fed to the LLM as context. Every context provider is a plugin, which means if you want to reference some source of information that you don't see here, you can request (or build!) a new context provider. -As an example, say you are working on solving a new GitHub Issue. You type '@Isse' and select the one you are working on. Continue can now see the issue title and contents. You also know that the issue is related to the files 'readme.md' and 'helloNested.py', so you type '@readme' and '@hello' to find and select them. Now these 3 "Context Items" are displayed inline with the rest of your input. +As an example, say you are working on solving a new GitHub Issue. You type '@Issue' and select the one you are working on. Continue can now see the issue title and contents. You also know that the issue is related to the files 'readme.md' and 'helloNested.py', so you type '@readme' and '@hello' to find and select them. Now these 3 "Context Items" are displayed inline with the rest of your input. ![Context Items](/img/context-provider-example.png) @@ -200,7 +200,7 @@ For example, type "@Google python tutorial" if you want to search and discuss wa Note: You can get an API key for free at [serper.dev](https://serper.dev). -### `@Isse` +### `@Issue` Reference the conversation in a GitHub issue. @@ -451,7 +451,7 @@ The HttpContextProvider makes a POST request to the url passed in the configurat { "name": "http", "params": { - "url": "https://api.example.com/v1/users", + "url": "https://api.example.com/v1/users" } } ] @@ -459,6 +459,7 @@ The HttpContextProvider makes a POST request to the url passed in the configurat ``` The receiving URL should expect to receive the following parameters: + ```json title="POST parameters" { query: string, @@ -467,6 +468,7 @@ The receiving URL should expect to receive the following parameters: ``` The response 200 OK should be a JSON object with the following structure: + ```json title="Response" [ { From 592b8fe9a3fac1b3810b30daab4cf51581c4398f Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 6 Oct 2024 14:40:55 -0700 Subject: [PATCH 11/19] fix toolbar --- gui/src/components/markdown/CodeBlockToolbar.tsx | 5 ++++- gui/src/components/markdown/PreWithToolbar.tsx | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gui/src/components/markdown/CodeBlockToolbar.tsx b/gui/src/components/markdown/CodeBlockToolbar.tsx index d740a8cab..aecaa1b84 100644 --- a/gui/src/components/markdown/CodeBlockToolbar.tsx +++ b/gui/src/components/markdown/CodeBlockToolbar.tsx @@ -245,7 +245,10 @@ function CodeBlockToolBar(props: CodeBlockToolBarProps) { return ( -
+
{getBasename(props.filepath)}
diff --git a/gui/src/components/markdown/PreWithToolbar.tsx b/gui/src/components/markdown/PreWithToolbar.tsx index 3f650740d..ec9297d54 100644 --- a/gui/src/components/markdown/PreWithToolbar.tsx +++ b/gui/src/components/markdown/PreWithToolbar.tsx @@ -2,7 +2,7 @@ import { debounce } from "lodash"; import { useEffect, useState } from "react"; import { useSelector } from "react-redux"; import styled from "styled-components"; -import { defaultBorderRadius } from ".."; +import { defaultBorderRadius, vscEditorBackground } from ".."; import useUIConfig from "../../hooks/useUIConfig"; import { RootState } from "../../redux/store"; import CodeBlockToolBar from "./CodeBlockToolbar"; @@ -12,6 +12,7 @@ const TopDiv = styled.div` outline-offset: -0.5px; border-radius: ${defaultBorderRadius}; margin-bottom: 8px; + background-color: ${vscEditorBackground}; `; function childToText(child: any) { From 056a68d06186b567510f379fd27990896b46f15c Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 9 Oct 2024 14:22:44 -0700 Subject: [PATCH 12/19] mention intellij logs in troubleshooting --- docs/docs/troubleshooting.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/docs/troubleshooting.md b/docs/docs/troubleshooting.md index d3933f6f9..67a0f1070 100644 --- a/docs/docs/troubleshooting.md +++ b/docs/docs/troubleshooting.md @@ -40,7 +40,9 @@ If you're getting a response from the LLM that doesn't seem to make sense, you c ### JetBrains -Open `~/.continue/logs/core.log`. The most recent logs are found at the bottom of the file. +Open `~/.continue/logs/core.log` to view the logs for the Continue plugin. The most recent logs are found at the bottom of the file. + +Some JetBrains-related logs may also be found by clicking "Help" > "Show Log in Explorer/Finder". ## Download the latest pre-release From 761c6d9ce459cf65f0b1f120e1d2bbe7e03c3ffc Mon Sep 17 00:00:00 2001 From: Nate Date: Fri, 11 Oct 2024 16:12:41 -0700 Subject: [PATCH 13/19] fix tiptap bug --- gui/src/components/mainInput/TipTapEditor.tsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gui/src/components/mainInput/TipTapEditor.tsx b/gui/src/components/mainInput/TipTapEditor.tsx index 984da4e07..ee1b4301f 100644 --- a/gui/src/components/mainInput/TipTapEditor.tsx +++ b/gui/src/components/mainInput/TipTapEditor.tsx @@ -167,8 +167,19 @@ function TipTapEditor(props: TipTapEditorProps) { return; } + // Find the position of the last @ character + // We do this because editor.getText() isn't a correct representation including node views + let startPos = editor.state.selection.anchor; + while ( + startPos > 0 && + editor.state.doc.textBetween(startPos, startPos + 1) !== "@" + ) { + startPos--; + } + startPos++; + editor.commands.deleteRange({ - from: indexOfAt + 2, + from: startPos, to: editor.state.selection.anchor, }); inSubmenuRef.current = providerId; From 1fce9c3f24441036acf8d55004f89afe25ce7dcb Mon Sep 17 00:00:00 2001 From: Nate Date: Fri, 11 Oct 2024 16:12:56 -0700 Subject: [PATCH 14/19] useRootPathContext false by default --- core/util/parameters.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/util/parameters.ts b/core/util/parameters.ts index 88c7d38a6..7661b170a 100644 --- a/core/util/parameters.ts +++ b/core/util/parameters.ts @@ -20,7 +20,7 @@ export const DEFAULT_AUTOCOMPLETE_OPTS: TabAutocompleteOptions = { recentLinePrefixMatchMinLength: 7, disableInFiles: undefined, useImports: true, - useRootPathContext: true, + useRootPathContext: false, }; export const COUNT_COMPLETION_REJECTED_AFTER = 10_000; From a39d3c8674b14276c38a98adb73653103023c8de Mon Sep 17 00:00:00 2001 From: Nate Date: Fri, 11 Oct 2024 16:14:57 -0700 Subject: [PATCH 15/19] update changelog --- .changes/extensions/vscode/0.8.53.md | 12 +++++++++ .../unreleased/Added-20240927-142940.yaml | 4 --- .../unreleased/Added-20240927-143005.yaml | 4 --- .../unreleased/Added-20240929-095627.yaml | 4 --- .../unreleased/Changed-20240923-160302.yaml | 4 --- .../unreleased/Changed-20240929-095407.yaml | 4 --- .../unreleased/Fixed-20240919-211112.yaml | 4 --- .../unreleased/Fixed-20240927-142924.yaml | 4 --- .../unreleased/Fixed-20240929-095525.yaml | 4 --- extensions/vscode/CHANGELOG.md | 26 +++++++++---------- 10 files changed, 25 insertions(+), 45 deletions(-) create mode 100644 .changes/extensions/vscode/0.8.53.md delete mode 100644 .changes/unreleased/Added-20240927-142940.yaml delete mode 100644 .changes/unreleased/Added-20240927-143005.yaml delete mode 100644 .changes/unreleased/Added-20240929-095627.yaml delete mode 100644 .changes/unreleased/Changed-20240923-160302.yaml delete mode 100644 .changes/unreleased/Changed-20240929-095407.yaml delete mode 100644 .changes/unreleased/Fixed-20240919-211112.yaml delete mode 100644 .changes/unreleased/Fixed-20240927-142924.yaml delete mode 100644 .changes/unreleased/Fixed-20240929-095525.yaml diff --git a/.changes/extensions/vscode/0.8.53.md b/.changes/extensions/vscode/0.8.53.md new file mode 100644 index 000000000..575a3b91d --- /dev/null +++ b/.changes/extensions/vscode/0.8.53.md @@ -0,0 +1,12 @@ +## 0.8.53 - 2024-10-11 +### Added +* Improved loading/accept/reject UI for apply +* Polished chat sidebar, especially context dropdown +* Further prompt caching with Anthropic +### Changed +* Updated tutorial file +* Improved styling on "More" page +### Fixed +* Continue for teams auth bug fix +* Fixed a number of apply bugs +* Fixed autoscrolling behavior diff --git a/.changes/unreleased/Added-20240927-142940.yaml b/.changes/unreleased/Added-20240927-142940.yaml deleted file mode 100644 index 3a2785783..000000000 --- a/.changes/unreleased/Added-20240927-142940.yaml +++ /dev/null @@ -1,4 +0,0 @@ -project: extensions/vscode -kind: Added -body: Improved loading/accept/reject UI for apply -time: 2024-09-27T14:29:40.283176-07:00 diff --git a/.changes/unreleased/Added-20240927-143005.yaml b/.changes/unreleased/Added-20240927-143005.yaml deleted file mode 100644 index 4dafa06cb..000000000 --- a/.changes/unreleased/Added-20240927-143005.yaml +++ /dev/null @@ -1,4 +0,0 @@ -project: extensions/vscode -kind: Added -body: Polished chat sidebar, especially context dropdown -time: 2024-09-27T14:30:05.576347-07:00 diff --git a/.changes/unreleased/Added-20240929-095627.yaml b/.changes/unreleased/Added-20240929-095627.yaml deleted file mode 100644 index ec21be676..000000000 --- a/.changes/unreleased/Added-20240929-095627.yaml +++ /dev/null @@ -1,4 +0,0 @@ -project: extensions/vscode -kind: Added -body: Further prompt caching with Anthropic -time: 2024-09-29T09:56:27.946259-07:00 diff --git a/.changes/unreleased/Changed-20240923-160302.yaml b/.changes/unreleased/Changed-20240923-160302.yaml deleted file mode 100644 index 55cb8a77a..000000000 --- a/.changes/unreleased/Changed-20240923-160302.yaml +++ /dev/null @@ -1,4 +0,0 @@ -project: extensions/vscode -kind: Changed -body: Updated tutorial file -time: 2024-09-23T16:03:02.944462-07:00 diff --git a/.changes/unreleased/Changed-20240929-095407.yaml b/.changes/unreleased/Changed-20240929-095407.yaml deleted file mode 100644 index e6f87aac6..000000000 --- a/.changes/unreleased/Changed-20240929-095407.yaml +++ /dev/null @@ -1,4 +0,0 @@ -project: extensions/vscode -kind: Changed -body: Improved styling on "More" page -time: 2024-09-29T09:54:07.999324-07:00 diff --git a/.changes/unreleased/Fixed-20240919-211112.yaml b/.changes/unreleased/Fixed-20240919-211112.yaml deleted file mode 100644 index 5109006f8..000000000 --- a/.changes/unreleased/Fixed-20240919-211112.yaml +++ /dev/null @@ -1,4 +0,0 @@ -project: extensions/vscode -kind: Fixed -body: Continue for teams auth bug fix -time: 2024-09-19T21:11:12.997946-07:00 diff --git a/.changes/unreleased/Fixed-20240927-142924.yaml b/.changes/unreleased/Fixed-20240927-142924.yaml deleted file mode 100644 index 9a799ee51..000000000 --- a/.changes/unreleased/Fixed-20240927-142924.yaml +++ /dev/null @@ -1,4 +0,0 @@ -project: extensions/vscode -kind: Fixed -body: Fixed a number of apply bugs -time: 2024-09-27T14:29:24.69568-07:00 diff --git a/.changes/unreleased/Fixed-20240929-095525.yaml b/.changes/unreleased/Fixed-20240929-095525.yaml deleted file mode 100644 index 2774af39d..000000000 --- a/.changes/unreleased/Fixed-20240929-095525.yaml +++ /dev/null @@ -1,4 +0,0 @@ -project: extensions/vscode -kind: Fixed -body: Fixed autoscrolling behavior -time: 2024-09-29T09:55:25.835696-07:00 diff --git a/extensions/vscode/CHANGELOG.md b/extensions/vscode/CHANGELOG.md index 7ea557b25..621112b37 100644 --- a/extensions/vscode/CHANGELOG.md +++ b/extensions/vscode/CHANGELOG.md @@ -5,19 +5,6 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and is generated by [Changie](https://github.com/miniscruff/changie). -Pre-release Changes -### Added -* Improved loading/accept/reject UI for apply -* Polished chat sidebar, especially context dropdown -* Further prompt caching with Anthropic -### Changed -* Updated tutorial file -* Improved styling on "More" page -### Fixed -* Continue for teams auth bug fix -* Fixed a number of apply bugs -* Fixed autoscrolling behavior - ## 0.9.210 - 2024-09-15 ### Added @@ -34,6 +21,19 @@ Pre-release Changes - Increased default maxTokens, and autodetect for common models +## 0.8.53 - 2024-10-11 +### Added +* Improved loading/accept/reject UI for apply +* Polished chat sidebar, especially context dropdown +* Further prompt caching with Anthropic +### Changed +* Updated tutorial file +* Improved styling on "More" page +### Fixed +* Continue for teams auth bug fix +* Fixed a number of apply bugs +* Fixed autoscrolling behavior + ## 0.8.52 - 2024-09-16 ### Changed * Use Chromium only as a fallback after asking user From 4124c214eb885842d6b5d975dfc00650a518bd7f Mon Sep 17 00:00:00 2001 From: Nate Date: Fri, 11 Oct 2024 16:15:48 -0700 Subject: [PATCH 16/19] remove pre-release from changelog for main releases --- .changes/extensions/vscode/0.9.210.md | 15 --------------- extensions/vscode/CHANGELOG.md | 16 ---------------- 2 files changed, 31 deletions(-) delete mode 100644 .changes/extensions/vscode/0.9.210.md diff --git a/.changes/extensions/vscode/0.9.210.md b/.changes/extensions/vscode/0.9.210.md deleted file mode 100644 index 8e255dc2e..000000000 --- a/.changes/extensions/vscode/0.9.210.md +++ /dev/null @@ -1,15 +0,0 @@ -## 0.9.210 - 2024-09-15 - -### Added - -- NVIDIA NIMs embeddings provider -- SambaNova LLM Provider -- Support for OpenAI's new o1-preview and o1-mini models - -### Changed - -- Use Chromium only as a fallback after asking user - -### Fixed - -- Increased default maxTokens, and autodetect for common models diff --git a/extensions/vscode/CHANGELOG.md b/extensions/vscode/CHANGELOG.md index 621112b37..99e76e5d5 100644 --- a/extensions/vscode/CHANGELOG.md +++ b/extensions/vscode/CHANGELOG.md @@ -5,22 +5,6 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and is generated by [Changie](https://github.com/miniscruff/changie). -## 0.9.210 - 2024-09-15 - -### Added - -- NVIDIA NIMs embeddings provider -- SambaNova LLM Provider -- Support for OpenAI's new o1-preview and o1-mini models - -### Changed - -- Use Chromium only as a fallback after asking user - -### Fixed - -- Increased default maxTokens, and autodetect for common models - ## 0.8.53 - 2024-10-11 ### Added * Improved loading/accept/reject UI for apply From 7e5f8aa4d8384084823ef48cde78a347f26eb95e Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 15 Oct 2024 23:00:43 -0700 Subject: [PATCH 17/19] hotfix: throttle transformers.js embeddings provider --- .changes/extensions/vscode/0.8.54.md | 3 +++ core/indexing/embeddings/TransformersJsEmbeddingsProvider.ts | 4 +++- extensions/vscode/CHANGELOG.md | 4 ++++ extensions/vscode/package.json | 2 +- 4 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .changes/extensions/vscode/0.8.54.md diff --git a/.changes/extensions/vscode/0.8.54.md b/.changes/extensions/vscode/0.8.54.md new file mode 100644 index 000000000..90466954c --- /dev/null +++ b/.changes/extensions/vscode/0.8.54.md @@ -0,0 +1,3 @@ +## 0.8.54 - 2024-10-15 +### Fixed +* Hotfix: throttle transformers.js embeddings provider diff --git a/core/indexing/embeddings/TransformersJsEmbeddingsProvider.ts b/core/indexing/embeddings/TransformersJsEmbeddingsProvider.ts index 4dcf41141..c5c698efd 100644 --- a/core/indexing/embeddings/TransformersJsEmbeddingsProvider.ts +++ b/core/indexing/embeddings/TransformersJsEmbeddingsProvider.ts @@ -39,7 +39,7 @@ class EmbeddingsPipeline { export class TransformersJsEmbeddingsProvider extends BaseEmbeddingsProvider { static providerName: EmbeddingsProviderName = "transformers.js"; - static maxGroupSize: number = 4; + static maxGroupSize: number = 1; static model: string = "all-MiniLM-L6-v2"; static mockVector: number[] = Array.from({ length: 384 }).fill(2) as number[]; @@ -79,6 +79,8 @@ export class TransformersJsEmbeddingsProvider extends BaseEmbeddingsProvider { pooling: "mean", normalize: true, }); + // To avoid causing the extension host to go unresponsive + await new Promise((resolve) => setTimeout(resolve, 10)); outputs.push(...output.tolist()); } return outputs; diff --git a/extensions/vscode/CHANGELOG.md b/extensions/vscode/CHANGELOG.md index 99e76e5d5..5aa736e28 100644 --- a/extensions/vscode/CHANGELOG.md +++ b/extensions/vscode/CHANGELOG.md @@ -5,6 +5,10 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and is generated by [Changie](https://github.com/miniscruff/changie). +## 0.8.54 - 2024-10-15 +### Fixed +* Hotfix: throttle transformers.js embeddings provider + ## 0.8.53 - 2024-10-11 ### Added * Improved loading/accept/reject UI for apply diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 5b3f70c9f..02c67df07 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -2,7 +2,7 @@ "name": "continue", "icon": "media/icon.png", "author": "Continue Dev, Inc", - "version": "0.8.53", + "version": "0.8.54", "repository": { "type": "git", "url": "https://github.com/continuedev/continue" From 06013a955f91b8077ecc8d0b38a5248669a797ab Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Wed, 16 Oct 2024 11:32:15 -0700 Subject: [PATCH 18/19] Update troubleshooting.md --- docs/docs/troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/troubleshooting.md b/docs/docs/troubleshooting.md index 67a0f1070..d10d2c104 100644 --- a/docs/docs/troubleshooting.md +++ b/docs/docs/troubleshooting.md @@ -126,7 +126,7 @@ This can be accomplished using the following command: `Continue: Rebuild codebas ### Android Studio - "Nothing to show" in Chat -This can be fixed by selecting `Actions > Choose Boot runtime for the IDE` then selecting the latest version, and then restarting Android Studio. [See this thread](https://github.com/continuedev/continue/issues/2280#issuecomment-2365231567) for details. +This can be fixed by selecting `Actions > Choose Boot runtime for the IDE` then selecting the latest version, and then restarting Android Studio. [See this thread](https://github.com/continuedev/continue/issues/596#issuecomment-1789327178) for details. ## Still having trouble? From dba31495fdcdc2d1f3331c00616b590ae64e10a3 Mon Sep 17 00:00:00 2001 From: classbinu Date: Fri, 18 Oct 2024 22:30:43 +0900 Subject: [PATCH 19/19] docs: Update Recommended reranking models --- docs/docs/customize/model-types/reranking.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/customize/model-types/reranking.md b/docs/docs/customize/model-types/reranking.md index 5f3fd77a3..2032aaf13 100644 --- a/docs/docs/customize/model-types/reranking.md +++ b/docs/docs/customize/model-types/reranking.md @@ -11,11 +11,11 @@ In Continue, reranking is used by [@Codebase](../deep-dives/codebase.md) in orde ## Recommended reranking models -If you have the ability to use any model, we recommend `rerank-1` by Voyage AI, which is listed below along with the rest of the options for rerankers. +If you have the ability to use any model, we recommend `rerank-2` by Voyage AI, which is listed below along with the rest of the options for rerankers. ### Voyage AI -Voyage AI offers the best reranking model for code with their `rerank-1` model. After obtaining an API key from [here](https://www.voyageai.com/), you can configure like this: +Voyage AI offers the best reranking model for code with their `rerank-2` model. After obtaining an API key from [here](https://www.voyageai.com/), you can configure like this: ```json title="config.json" {