From 06b3bcd4332b60f20e46a9df4a74f426ae039b33 Mon Sep 17 00:00:00 2001 From: Test Date: Sat, 14 Sep 2024 14:07:56 -0700 Subject: [PATCH 01/12] Update netlify.toml --- docs/netlify.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/netlify.toml b/docs/netlify.toml index 3a462445a..c833d81f1 100644 --- a/docs/netlify.toml +++ b/docs/netlify.toml @@ -1,4 +1,9 @@ [[redirects]] from = "/" to = "/docs" + force = true + +[[redirects]] + from = "/intro" + to = "/docs" force = true \ No newline at end of file From 35f0aee5c02b777f94030deec4901a8d85332f76 Mon Sep 17 00:00:00 2001 From: Test Date: Sat, 14 Sep 2024 20:17:05 -0700 Subject: [PATCH 02/12] update netfliy.toml --- docs/docusaurus.config.js | 4 ++++ docs/netlify.toml | 9 ++------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 60bc28f5f..e9bf7563f 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -181,6 +181,10 @@ const config = { to: "/docs/getting-started/install", from: ["/install/vscode", "/install/jetbrains"], }, + { + to: "/customize/model-types", + from: "/setup/overview", + }, { to: "/docs/getting-started/overview", from: [ diff --git a/docs/netlify.toml b/docs/netlify.toml index c833d81f1..e1fa1e421 100644 --- a/docs/netlify.toml +++ b/docs/netlify.toml @@ -1,9 +1,4 @@ [[redirects]] - from = "/" + from = "/docs" to = "/docs" - force = true - -[[redirects]] - from = "/intro" - to = "/docs" - force = true \ No newline at end of file + status = 200 \ No newline at end of file From 2b7186973695703a48daacea46c076231d308ddf Mon Sep 17 00:00:00 2001 From: Test Date: Sat, 14 Sep 2024 20:42:52 -0700 Subject: [PATCH 03/12] fix: use introduction layout --- docs/docs/index.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/docs/index.md b/docs/docs/index.md index 815b3b805..de78b884e 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -3,6 +3,13 @@ id: index slug: / --- -# Index +# Introduction -This index page should automatically redirect to [/docs](./docs/introduction.md) +![Continue Logo](/img/intro.png) + +**Continue is the leading open-source AI code assistant inside of [VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) and [JetBrains](https://plugins.jetbrains.com/plugin/22707-continue-extension)** + +- [Chat](./docs/chat/how-to-use-it.md) to understand and iterate on code in the sidebar +- [Autocomplete](./docs/autocomplete/how-to-use-it.md) to recieve inline code suggestions as you type +- [Edit](./docs/edit/how-to-use-it.md) to modify code without leaving your current file +- [Actions](./docs/actions/how-to-use-it.md) to establish shortcuts for common use cases From 0313ce23d44e549409288eedcf5eb554f957e3d1 Mon Sep 17 00:00:00 2001 From: Reborn14 <74488779+Reborn14@users.noreply.github.com> Date: Sun, 15 Sep 2024 14:31:40 +0800 Subject: [PATCH 04/12] Update embeddings.md --- docs/docs/customize/model-types/embeddings.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/customize/model-types/embeddings.md b/docs/docs/customize/model-types/embeddings.md index f93e31ac2..2960dcbfd 100644 --- a/docs/docs/customize/model-types/embeddings.md +++ b/docs/docs/customize/model-types/embeddings.md @@ -9,7 +9,7 @@ An "embeddings model" is trained to convert a piece of text into a vector, which In Continue, embeddings are generated during indexing and then used by [@codebase](../deep-dives/codebase.md) to perform similarity search over your codebase. -## Recommended reranking models +## Recommended embedding models If you have the ability to use any model, we recommend `voyage-code-2`, which is listed below along with the rest of the options for embeddings models. @@ -68,4 +68,4 @@ See [here](../model-providers/more/cohere.md#embeddings-model) for instructions ### Gemini -See [here](../model-providers/top-level/gemini.md#embeddings-model) for instructions on how to use Gemini for embeddings. \ No newline at end of file +See [here](../model-providers/top-level/gemini.md#embeddings-model) for instructions on how to use Gemini for embeddings. From 83b49ec44287d21aad84726fb009fffbe9767cdb Mon Sep 17 00:00:00 2001 From: Reborn14 <74488779+Reborn14@users.noreply.github.com> Date: Sun, 15 Sep 2024 15:05:03 +0800 Subject: [PATCH 05/12] Update reranking.md --- 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 363f1e7e4..af6c99932 100644 --- a/docs/docs/customize/model-types/reranking.md +++ b/docs/docs/customize/model-types/reranking.md @@ -22,7 +22,7 @@ Voyage AI offers the best reranking model for code with their `rerank-1` model. "reranker": { "name": "voyage", "params": { - "model": "rerank-lite-1", + "model": "rerank-1", "apiKey": "" } } @@ -89,4 +89,4 @@ Continue offers a free trial of Voyage AI's reranking model. "name": "free-trial" } } -``` \ No newline at end of file +``` From 47c55dbaea24d4757b997fbf8583d3fbfe410fc0 Mon Sep 17 00:00:00 2001 From: Anders Barfod Date: Sun, 15 Sep 2024 17:51:05 +0200 Subject: [PATCH 06/12] Changed to apiType to azure and provided JSON example --- .../model-providers/top-level/azure.md | 24 ++++++++++++------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/docs/docs/customize/model-providers/top-level/azure.md b/docs/docs/customize/model-providers/top-level/azure.md index 2c511a279..295b7cdc8 100644 --- a/docs/docs/customize/model-providers/top-level/azure.md +++ b/docs/docs/customize/model-providers/top-level/azure.md @@ -15,7 +15,7 @@ We recommend configuring **GPT-4o** as your chat model. "apiBase": "", "engine": "", "apiVersion": "", - "apiType": "openai", + "apiType": "azure", "apiKey": "" }] ``` @@ -32,7 +32,7 @@ We recommend configuring **Codestral** as your autocomplete model. "apiBase": "", "engine": "", "apiVersion": "", - "apiType": "openai", + "apiType": "azure", "apiKey": "" }] ``` @@ -48,7 +48,7 @@ We recommend configuring **text-embedding-3-large** as your embeddings model. "apiBase": "", "engine": "", "apiVersion": "", - "apiType": "openai", + "apiType": "azure", "apiKey": "" }] ``` @@ -75,9 +75,17 @@ Azure OpenAI requires a handful of additional parameters to be configured, such To find this information in _Azure AI Studio_, first select the model that you would like to connect. Then visit _Endpoint_ > _Target URI_. -For example, a Target URI of `` would map to the following: +For example, a Target URI of `` would map to the following: -- model = gpt-4o -- engine = gpt-4o -- apiVersion = 2023-13-15-preview -- apiBase = just-an-example.openai.azure.com +```json +{ + "title": "GPT-4o Azure", + "model": "gpt-4o", + "provider": "azure", + "apiBase": "https://just-an-example.openai.azure.com", + "apiType": "azure", + "engine": "gpt-4o", + "apiVersion": "2023-03-15-preview", + "apiKey": "" +} +``` From 8105d1b46163c7237ecbec357f6e8c72a1b9be76 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 15 Sep 2024 12:25:23 -0700 Subject: [PATCH 07/12] fix redirect loop --- docs/docusaurus.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index e9bf7563f..de013c8f0 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -297,10 +297,10 @@ const config = { to: "/customize/tutorials/set-up-codestral", from: "/walkthroughs/set-up-codestral", }, - { - to: "/docs", - from: "/intro", - }, + // { + // to: "/docs", + // from: "/intro", + // }, { to: "/docs/telemetry", from: "/telemetry", From e6cd94a92cf308754ff0e2af6596f519217aa711 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 15 Sep 2024 12:48:50 -0700 Subject: [PATCH 08/12] bring back /intro redirect --- docs/docusaurus.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index de013c8f0..e9bf7563f 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -297,10 +297,10 @@ const config = { to: "/customize/tutorials/set-up-codestral", from: "/walkthroughs/set-up-codestral", }, - // { - // to: "/docs", - // from: "/intro", - // }, + { + to: "/docs", + from: "/intro", + }, { to: "/docs/telemetry", from: "/telemetry", From 9b8a75add7954d81eae39d5b0829e968ea031fe4 Mon Sep 17 00:00:00 2001 From: Nate Date: Mon, 16 Sep 2024 09:21:41 -0700 Subject: [PATCH 09/12] update netlify.toml --- docs/netlify.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/netlify.toml b/docs/netlify.toml index e1fa1e421..684b4c29d 100644 --- a/docs/netlify.toml +++ b/docs/netlify.toml @@ -1,4 +1,5 @@ [[redirects]] - from = "/docs" + from = "/" to = "/docs" - status = 200 \ No newline at end of file + status = 200 + force = true \ No newline at end of file From 09daba4523cdd7a50340425bfcffa8260a629357 Mon Sep 17 00:00:00 2001 From: Test Date: Mon, 16 Sep 2024 09:33:54 -0700 Subject: [PATCH 10/12] docs: set root route --- docs/docs/docs/introduction.md | 2 +- docs/docs/index.md | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 docs/docs/index.md diff --git a/docs/docs/docs/introduction.md b/docs/docs/docs/introduction.md index fceccc72e..946c4807c 100644 --- a/docs/docs/docs/introduction.md +++ b/docs/docs/docs/introduction.md @@ -1,7 +1,7 @@ --- title: Introduction description: The open-source AI code assistant for developers -slug: /docs +slug: / keywords: [ continue, diff --git a/docs/docs/index.md b/docs/docs/index.md deleted file mode 100644 index de78b884e..000000000 --- a/docs/docs/index.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -id: index -slug: / ---- - -# Introduction - -![Continue Logo](/img/intro.png) - -**Continue is the leading open-source AI code assistant inside of [VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) and [JetBrains](https://plugins.jetbrains.com/plugin/22707-continue-extension)** - -- [Chat](./docs/chat/how-to-use-it.md) to understand and iterate on code in the sidebar -- [Autocomplete](./docs/autocomplete/how-to-use-it.md) to recieve inline code suggestions as you type -- [Edit](./docs/edit/how-to-use-it.md) to modify code without leaving your current file -- [Actions](./docs/actions/how-to-use-it.md) to establish shortcuts for common use cases From ed2a95d253968b5a6cfc663999e049886212b002 Mon Sep 17 00:00:00 2001 From: Nate Date: Mon, 16 Sep 2024 10:03:00 -0700 Subject: [PATCH 11/12] update redirect --- docs/docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index e9bf7563f..e3dd8f17d 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -298,7 +298,7 @@ const config = { from: "/walkthroughs/set-up-codestral", }, { - to: "/docs", + to: "/", from: "/intro", }, { From 3a5c14846141736a52a203ac82e0370a9762e998 Mon Sep 17 00:00:00 2001 From: Nate Date: Mon, 16 Sep 2024 10:03:40 -0700 Subject: [PATCH 12/12] update sidebar link --- docs/docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index e3dd8f17d..4fd0b2830 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -82,7 +82,7 @@ const config = { sidebarId: "docsSidebar", position: "left", label: "Docs", - href: "/docs", + href: "/", }, { type: "docSidebar",