From 83a5c5c800fb15510eee9ed6210ea9d6ef12d964 Mon Sep 17 00:00:00 2001 From: sadie100 <03sadie@gmail.com> Date: Fri, 18 Oct 2024 13:10:37 +0900 Subject: [PATCH 1/7] docs: add Ollama provider explanation --- docs/docs/customize/model-providers/top-level/ollama.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/customize/model-providers/top-level/ollama.md b/docs/docs/customize/model-providers/top-level/ollama.md index 7a6a0776a..08ae3eec9 100644 --- a/docs/docs/customize/model-providers/top-level/ollama.md +++ b/docs/docs/customize/model-providers/top-level/ollama.md @@ -3,6 +3,8 @@ title: Ollama slug: ../ollama --- +Ollama is an open-source tool that allows users to run large language models (LLMs) locally on their own computers. To use Ollama providers, you need to install Ollama [here](https://ollama.ai/download) and download the model you want to run by `ollama pull` command. + ## Chat model We recommend configuring **Llama3.1 8B** as your chat model. From 6b35b5983b36dcfc0f039e80bca3eb7d0f6a40db Mon Sep 17 00:00:00 2001 From: sadie100 <03sadie@gmail.com> Date: Fri, 18 Oct 2024 14:13:29 +0900 Subject: [PATCH 2/7] docs: add Azure OpenAI explanation and link detailed setup info to the top --- docs/docs/customize/model-providers/top-level/azure.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/docs/customize/model-providers/top-level/azure.md b/docs/docs/customize/model-providers/top-level/azure.md index 814a056ea..8ade702f0 100644 --- a/docs/docs/customize/model-providers/top-level/azure.md +++ b/docs/docs/customize/model-providers/top-level/azure.md @@ -3,6 +3,14 @@ title: Azure OpenAI slug: ../azure --- +Azure OpenAI is a cloud-based service that provides access to OpenAI's large language models including GPT series, integrated with the security and enterprise features of the Microsoft Azure platform. To get started, you have to create an Azure OpenAI resource in [Azure portal](https://portal.azure.com). + +:::info + +For details on model setup, see [General model configuration](#general-model-configuration). + +::: + ## Chat model We recommend configuring **GPT-4o** as your chat model. From dd71bf61afcd2d4cc46e7a6330c08e41d8ad3307 Mon Sep 17 00:00:00 2001 From: sadie100 <03sadie@gmail.com> Date: Fri, 18 Oct 2024 14:54:18 +0900 Subject: [PATCH 3/7] docs: add Anthropic explanation --- docs/docs/customize/model-providers/top-level/anthropic.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/customize/model-providers/top-level/anthropic.md b/docs/docs/customize/model-providers/top-level/anthropic.md index c4bb24a4c..fd22b3d6d 100644 --- a/docs/docs/customize/model-providers/top-level/anthropic.md +++ b/docs/docs/customize/model-providers/top-level/anthropic.md @@ -3,6 +3,8 @@ title: Anthropic slug: ../anthropic --- +Anthropic provider offers access to the Claude series of large language models, developed by Anthropic. + :::info You can get an API key from the [Anthropic console](https://console.anthropic.com/account/keys). From 889d49505d34726cbae85a380f0ef770e61ab9de Mon Sep 17 00:00:00 2001 From: sadie100 <03sadie@gmail.com> Date: Sat, 19 Oct 2024 10:13:30 +0900 Subject: [PATCH 4/7] docs: add Amazon Bedrock explanation --- docs/docs/customize/model-providers/top-level/bedrock.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/customize/model-providers/top-level/bedrock.md b/docs/docs/customize/model-providers/top-level/bedrock.md index 14cc70211..7129fd3bc 100644 --- a/docs/docs/customize/model-providers/top-level/bedrock.md +++ b/docs/docs/customize/model-providers/top-level/bedrock.md @@ -3,6 +3,8 @@ title: Amazon Bedrock slug: ../bedrock --- +Amazon Bedrock is a fully managed service that provides access to various foundation models from various AI companies through a single API, offering capabilities for building secure and responsible generative AI applications. + ## Chat model We recommend configuring **Claude 3.5 Sonnet** as your chat model. From a2d76930ee3600edfe70fecf15c50c6af452d21b Mon Sep 17 00:00:00 2001 From: Test Date: Wed, 23 Oct 2024 12:32:17 -0700 Subject: [PATCH 5/7] Update CONTRIBUTING.md --- extensions/intellij/CONTRIBUTING.md | 42 +++++++++++++++++------------ 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/extensions/intellij/CONTRIBUTING.md b/extensions/intellij/CONTRIBUTING.md index a08430c3b..0cd7b1d6a 100644 --- a/extensions/intellij/CONTRIBUTING.md +++ b/extensions/intellij/CONTRIBUTING.md @@ -1,23 +1,25 @@ # Contributing to Continue (JetBrains extension) -This file is for contribution guidelines specific to the JetBrains extension. See the root [`CONTRIBUTING.md`](../../CONTRIBUTING.md) for general contribution guidelines. +This file is for contribution guidelines specific to the JetBrains extension. See the root [ +`CONTRIBUTING.md`](../../CONTRIBUTING.md) for general contribution guidelines. ## Table of Contents - [Architecture Overview](#architecture-overview) - [Environment Setup](#environment-setup) - - [IDE Installation](#ide-installation) - - [IDE configuration](#ide-configuration) - - [Node.js Requirements](#nodejs-requirements) - - [Install all dependencies](#install-all-dependencies) - - [Misc](#misc) + - [IDE Installation](#ide-installation) + - [IDE configuration](#ide-configuration) + - [Node.js Requirements](#nodejs-requirements) + - [Install all dependencies](#install-all-dependencies) + - [Misc](#misc) - [Development Workflow](#development-workflow) - - [Running the extension](#running-the-extension) - - [Reloading changes](#reloading-changes) - - [Setting breakpoints](#setting-breakpoints) - - [Available Gradle tasks](#available-gradle-tasks) - - [Packaging](#packaging) - - [Testing the packaged extension](#testing-the-packaged-extension) + - [Running the extension](#running-the-extension) + - [Accessing files in the `.continue` directory](#accessing-files-in-the-continue-directory) + - [Reloading changes](#reloading-changes) + - [Setting breakpoints](#setting-breakpoints) + - [Available Gradle tasks](#available-gradle-tasks) + - [Packaging](#packaging) + - [Testing the packaged extension](#testing-the-packaged-extension) ## Architecture Overview @@ -65,20 +67,25 @@ have VS Code installed. - Open the project in VS Code and star the `Core binary` task - Switch back to Intellij and select the "Run Continue" configuration in the top-right corner of the IDE - Click the "Debug" button - - The first time running this will install the IDE version specified by the `platformVersion` property in [ - `./run/Run Extension.run.xml`](./.run/Run%20Extension.run.xml). This will take a moment as the installation size - can be close to 1GB. + - The first time running this will install the IDE version specified by the `platformVersion` property in [ + `./run/Run Extension.run.xml`](./.run/Run%20Extension.run.xml). This will take a moment as the installation size + can be close to 1GB. ![run-extension-screenshot](../../media/run-intellij-extension.png)\ This should open a new instance on IntelliJ with the extension installed and connected via TCP to the server started through the `Core binary` task. +### Accessing files in the `.continue` directory + +When running the `Core Binary` task, we set the location of your Continue directory to `./binary/.continue`. This is to +allow for changes to your `config.json` and other files during development, without affecting your actual configuration. + ### Reloading changes - `extensions/intellij`: Attempt to reload changed classes by selecting _Run | Debugging Actions | Reload Changed Classes`_ - - This will often fail on new imports, schema changes etc. In that case, you need to stop and restart the extension + - This will often fail on new imports, schema changes etc. In that case, you need to stop and restart the extension - `gui`: Changes will be reloaded automatically - `core`: Run `npm run build` from the `binary` directory and restart the `Core binary` task in VS Code @@ -111,7 +118,8 @@ verifyPluginConfiguration - Checks if Java and Kotlin compilers configuration me - Unix: `./gradlew buildPlugin` - Windows: `./gradlew.bat buildPlugin` -This will generate a .zip file in `./build/distributions` with the version defined in [`./gradle.properties`](./gradle.properties) +This will generate a .zip file in `./build/distributions` with the version defined in [ +`./gradle.properties`](./gradle.properties) #### Testing the packaged extension From b6c0a58b0eb099e2d9526937ed681190ed9dd7de Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 23 Oct 2024 13:35:30 -0700 Subject: [PATCH 6/7] adjust wording in docs --- docs/docs/customize/model-providers/top-level/anthropic.md | 2 -- docs/docs/customize/model-providers/top-level/azure.md | 2 +- docs/docs/customize/model-providers/top-level/bedrock.md | 2 +- docs/docs/customize/model-providers/top-level/ollama.md | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/docs/customize/model-providers/top-level/anthropic.md b/docs/docs/customize/model-providers/top-level/anthropic.md index fd22b3d6d..c4bb24a4c 100644 --- a/docs/docs/customize/model-providers/top-level/anthropic.md +++ b/docs/docs/customize/model-providers/top-level/anthropic.md @@ -3,8 +3,6 @@ title: Anthropic slug: ../anthropic --- -Anthropic provider offers access to the Claude series of large language models, developed by Anthropic. - :::info You can get an API key from the [Anthropic console](https://console.anthropic.com/account/keys). diff --git a/docs/docs/customize/model-providers/top-level/azure.md b/docs/docs/customize/model-providers/top-level/azure.md index 8ade702f0..adb390538 100644 --- a/docs/docs/customize/model-providers/top-level/azure.md +++ b/docs/docs/customize/model-providers/top-level/azure.md @@ -3,7 +3,7 @@ title: Azure OpenAI slug: ../azure --- -Azure OpenAI is a cloud-based service that provides access to OpenAI's large language models including GPT series, integrated with the security and enterprise features of the Microsoft Azure platform. To get started, you have to create an Azure OpenAI resource in [Azure portal](https://portal.azure.com). +Azure OpenAI is a cloud-based service that provides access to OpenAI's models, integrated with the security and enterprise features of the Microsoft Azure platform. To get started, create an Azure OpenAI resource in the [Azure portal](https://portal.azure.com). :::info diff --git a/docs/docs/customize/model-providers/top-level/bedrock.md b/docs/docs/customize/model-providers/top-level/bedrock.md index 7129fd3bc..8d46c5ad9 100644 --- a/docs/docs/customize/model-providers/top-level/bedrock.md +++ b/docs/docs/customize/model-providers/top-level/bedrock.md @@ -3,7 +3,7 @@ title: Amazon Bedrock slug: ../bedrock --- -Amazon Bedrock is a fully managed service that provides access to various foundation models from various AI companies through a single API, offering capabilities for building secure and responsible generative AI applications. +Amazon Bedrock is a fully managed service on AWS that provides access to foundation models from various AI companies through a single API. ## Chat model diff --git a/docs/docs/customize/model-providers/top-level/ollama.md b/docs/docs/customize/model-providers/top-level/ollama.md index 08ae3eec9..ae97d30c3 100644 --- a/docs/docs/customize/model-providers/top-level/ollama.md +++ b/docs/docs/customize/model-providers/top-level/ollama.md @@ -3,7 +3,7 @@ title: Ollama slug: ../ollama --- -Ollama is an open-source tool that allows users to run large language models (LLMs) locally on their own computers. To use Ollama providers, you need to install Ollama [here](https://ollama.ai/download) and download the model you want to run by `ollama pull` command. +Ollama is an open-source tool that allows to run large language models (LLMs) locally on their own computers. To use Ollama, you can install it [here](https://ollama.ai/download) and download the model you want to run with the `ollama run` command. ## Chat model From 4bb171702763c212b1544a60310319fa930ee007 Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 23 Oct 2024 16:17:45 -0700 Subject: [PATCH 7/7] remove unnecessary dependsOnIndexing properties --- core/context/providers/FileContextProvider.ts | 3 +-- core/context/providers/FileTreeContextProvider.ts | 1 - core/context/providers/RepoMapContextProvider.ts | 3 +-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/core/context/providers/FileContextProvider.ts b/core/context/providers/FileContextProvider.ts index d1ac2d6e2..26fb9dc73 100644 --- a/core/context/providers/FileContextProvider.ts +++ b/core/context/providers/FileContextProvider.ts @@ -1,3 +1,4 @@ +import { BaseContextProvider } from "../"; import { ContextItem, ContextProviderDescription, @@ -11,7 +12,6 @@ import { getUniqueFilePath, groupByLastNPathParts, } from "../../util/"; -import { BaseContextProvider } from "../"; const MAX_SUBMENU_ITEMS = 10_000; @@ -21,7 +21,6 @@ class FileContextProvider extends BaseContextProvider { displayTitle: "Files", description: "Type to search", type: "submenu", - dependsOnIndexing: true, }; async getContextItems( diff --git a/core/context/providers/FileTreeContextProvider.ts b/core/context/providers/FileTreeContextProvider.ts index 5b5d99fed..52af97823 100644 --- a/core/context/providers/FileTreeContextProvider.ts +++ b/core/context/providers/FileTreeContextProvider.ts @@ -34,7 +34,6 @@ class FileTreeContextProvider extends BaseContextProvider { description: "Attach a representation of the file tree", type: "normal", renderInlineAs: "", - dependsOnIndexing: true, }; async getContextItems( diff --git a/core/context/providers/RepoMapContextProvider.ts b/core/context/providers/RepoMapContextProvider.ts index 6aefe0301..183ff3cb6 100644 --- a/core/context/providers/RepoMapContextProvider.ts +++ b/core/context/providers/RepoMapContextProvider.ts @@ -7,9 +7,9 @@ import { LoadSubmenuItemsArgs, } from "../../"; import { - groupByLastNPathParts, getBasename, getUniqueFilePath, + groupByLastNPathParts, } from "../../util"; import generateRepoMap from "../../util/generateRepoMap"; @@ -25,7 +25,6 @@ class RepoMapContextProvider extends BaseContextProvider { displayTitle: "Repository Map", description: "Select a folder", type: "submenu", - dependsOnIndexing: true, }; async getContextItems(