diff options
28 files changed, 38 insertions, 38 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0258b2c9..b3d5cfad 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -83,11 +83,11 @@ VSCode is assumed for development as Continue is primarily a VSCode tool at the ### Writing Steps -A Step can be used as a custom slash command, or called otherwise in a `Policy`. See the [steps README](./continuedev/src/continuedev/plugins/steps/README.md) to learn how to write a Step. +A Step can be used as a custom slash command, or called otherwise in a `Policy`. See the [steps README](./server/continuedev/plugins/steps/README.md) to learn how to write a Step. ### Writing Context Providers -A `ContextProvider` is a Continue plugin that lets type '@' to quickly select documents as context for the language model. The simplest way to create a `ContextProvider` is to implement the `provide_context_items` method. You can find a great example of this in [GitHubIssuesContextProvider](./continuedev/src/continuedev/plugins/context_providers/github.py), which allows you to search GitHub Issues in a repo. +A `ContextProvider` is a Continue plugin that lets type '@' to quickly select documents as context for the language model. The simplest way to create a `ContextProvider` is to implement the `provide_context_items` method. You can find a great example of this in [GitHubIssuesContextProvider](./server/continuedev/plugins/context_providers/github.py), which allows you to search GitHub Issues in a repo. ## 📐 Continue Architecture @@ -119,13 +119,13 @@ The JetBrains extension is currently in alpha testing. Please reach out on [Disc ### Continue IDE Websockets Protocol -On the IDE side, this is implemented in [continueIdeClient.ts](./extension/src/continueIdeClient.ts). On the server side, this is implemented in [ide.py](./continuedev/src/continuedev/server/ide.py). You can see [ide_protocol.py](./continuedev/src/continuedev/server/ide_protocol.py) for the protocol definition. +On the IDE side, this is implemented in [continueIdeClient.ts](./extension/src/continueIdeClient.ts). On the server side, this is implemented in [ide.py](./server/continuedev/server/ide.py). You can see [ide_protocol.py](./server/continuedev/server/ide_protocol.py) for the protocol definition. ### Continue GUI Websockets Protocol On the GUI side, this is implemented in [ContinueGUIClientProtocol.ts](./extension/react-app/src/hooks/ContinueGUIClientProtocol.ts). On the server side, this is implemented in [gui.py](./continuedev/src/continuedev/server/gui.py). You can see [AbstractContinueGUIClientProtocol.ts](./extension/react-app/src/hooks/AbstractContinueGUIClientProtocol.ts) for the protocol definition. -When state is updated on the server, we currently send the entirety of the object over websockets to the GUI. This will of course have to be improved soon. The state object, `FullState`, is defined in [core/main.py](./continuedev/src/continuedev/core/main.py) and includes: +When state is updated on the server, we currently send the entirety of the object over websockets to the GUI. This will of course have to be improved soon. The state object, `FullState`, is defined in [core/main.py](./server/continuedev/core/main.py) and includes: - `history`, a record of previously run Steps. Displayed in order in the sidebar. - `active`, whether the autopilot is currently running a step. Displayed as a loader while step is running. @@ -138,7 +138,7 @@ Updates are sent with `await sdk.update_ui()` when needed explicitly or `await a ## ❇️ Core Concepts -All of Continue's logic happens inside of the server, and it is built around a few core concepts. Most of these are Pydantic Models defined in [core/main.py](./continuedev/src/continuedev/core/main.py). +All of Continue's logic happens inside of the server, and it is built around a few core concepts. Most of these are Pydantic Models defined in [core/main.py](./server/continuedev/core/main.py). ### `Step` @@ -148,17 +148,17 @@ Everything in Continue is a "Step". The `Step` class defines 2 methods: 2. `async def describe(self, models: Models) -> Coroutine[str, None, None]` - After each Step is run, this method is called to asynchronously generate a summary title for the step. A `Models` object is passed so that you have access to LLMs to summarize for you. -Steps are designed to be composable, so that you can easily build new Steps by combining existing ones. And because they are Pydantic models, they can instantly be used as tools useable by an LLM, for example with OpenAI's function-calling functionality (see [ChatWithFunctions](./continuedev/src/continuedev/plugins/steps/chat.py) for an example of this). +Steps are designed to be composable, so that you can easily build new Steps by combining existing ones. And because they are Pydantic models, they can instantly be used as tools useable by an LLM, for example with OpenAI's function-calling functionality (see [ChatWithFunctions](./server/continuedev/plugins/steps/chat.py) for an example of this). Some of the most commonly used Steps are: -- [`SimpleChatStep`](./continuedev/src/continuedev/plugins/steps/chat.py) - This is the default Step that is run when the user enters natural language input. It takes the user's input and runs it through the default LLM, then displays the result in the GUI. +- [`SimpleChatStep`](./server/continuedev/plugins/steps/chat.py) - This is the default Step that is run when the user enters natural language input. It takes the user's input and runs it through the default LLM, then displays the result in the GUI. - [`EditHighlightedCodeStep`](./server/continuedev/plugins/steps/main.py) - This is the Step run when a user highlights code, enters natural language, and presses CMD/CTRL+ENTER, or uses the slash command '/edit'. It opens a side-by-side diff editor, where updated code is streamed to fulfil the user's request. ### `Autopilot` -In [autopilot.py](./continuedev/src/continuedev/core/autopilot.py), we define the `Autopilot` class, which is the central entity responsible for keeping track of state and running the input/action loop. +In [autopilot.py](./server/continuedev/core/autopilot.py), we define the `Autopilot` class, which is the central entity responsible for keeping track of state and running the input/action loop. ### `Observation` diff --git a/docs/docs/customization/models.md b/docs/docs/customization/models.md index 69365beb..8fc1940e 100644 --- a/docs/docs/customization/models.md +++ b/docs/docs/customization/models.md @@ -44,13 +44,13 @@ 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/continuedev/src/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 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. Below, we describe the `LLM` classes available in the Continue core library, and how they can be used. ## Self-hosting an open-source model -If you want to self-host on Colab, RunPod, HuggingFace, Haven, or another hosting provider, you will need to wire up a new LLM class. It only needs to implement 3 primary methods: `stream_complete`, `complete`, and `stream_chat`, and you can see examples in `continuedev/src/continuedev/libs/llm`. +If you want to self-host on Colab, RunPod, HuggingFace, Haven, or another hosting provider, you will need to wire up a new LLM class. It only needs to implement 3 primary methods: `stream_complete`, `complete`, and `stream_chat`, and you can see examples in `server/continuedev/libs/llm`. If by chance the provider has the exact same API interface as OpenAI, the `OpenAI` class will work for you out of the box, after changing only the `api_base` parameter. @@ -120,7 +120,7 @@ config=ContinueConfig( ) ``` -This exact function and a few other default implementations are available in [`continuedev.libs.llm.prompts.chat`](https://github.com/continuedev/continue/blob/main/continuedev/src/continuedev/libs/llm/prompts/chat.py). +This exact function and a few other default implementations are available in [`continuedev.libs.llm.prompts.chat`](https://github.com/continuedev/continue/blob/main/server/continuedev/libs/llm/prompts/chat.py). ## Customizing the /edit Prompt @@ -160,4 +160,4 @@ config=ContinueConfig( ) ``` -A few pre-made templates are available in [`continuedev.libs.llm.prompts.edit`](https://github.com/continuedev/continue/blob/main/continuedev/src/continuedev/libs/llm/prompts/edit.py). +A few pre-made templates are available in [`continuedev.libs.llm.prompts.edit`](https://github.com/continuedev/continue/blob/main/server/continuedev/libs/llm/prompts/edit.py). diff --git a/docs/docs/customization/other-configuration.md b/docs/docs/customization/other-configuration.md index 5cb531ad..bd21140a 100644 --- a/docs/docs/customization/other-configuration.md +++ b/docs/docs/customization/other-configuration.md @@ -20,7 +20,7 @@ Set `temperature` to any value between 0 and 1. Higher values will make the LLM ## Custom Policies -Policies can be used to deeply change the behavior of Continue, or to build agents that take longer sequences of actions on their own. The [`DefaultPolicy`](https://github.com/continuedev/continue/blob/main/continuedev/src/continuedev/plugins/policies/default.py) handles the parsing of slash commands, and otherwise always chooses the `SimpleChatStep`, but you could customize by for example always taking a "review" step after editing code. To do so, create a new `Policy` subclass that implements the `next` method: +Policies can be used to deeply change the behavior of Continue, or to build agents that take longer sequences of actions on their own. The [`DefaultPolicy`](https://github.com/continuedev/continue/blob/main/server/continuedev/plugins/policies/default.py) handles the parsing of slash commands, and otherwise always chooses the `SimpleChatStep`, but you could customize by for example always taking a "review" step after editing code. To do so, create a new `Policy` subclass that implements the `next` method: ```python class ReviewEditsPolicy(Policy): diff --git a/docs/docs/reference/Context Providers/diffcontextprovider.md b/docs/docs/reference/Context Providers/diffcontextprovider.md index 54ba54b9..7f26168c 100644 --- a/docs/docs/reference/Context Providers/diffcontextprovider.md +++ b/docs/docs/reference/Context Providers/diffcontextprovider.md @@ -4,7 +4,7 @@ import ClassPropertyRef from '@site/src/components/ClassPropertyRef.tsx'; Type '@diff' to reference all of the changes you've made to your current branch. This is useful if you want to summarize what you've done or ask for a general review of your work before committing. -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/plugins/context_providers/diff.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/plugins/context_providers/diff.py) ## Properties diff --git a/docs/docs/reference/Context Providers/filecontextprovider.md b/docs/docs/reference/Context Providers/filecontextprovider.md index 12e68478..f39ed8a8 100644 --- a/docs/docs/reference/Context Providers/filecontextprovider.md +++ b/docs/docs/reference/Context Providers/filecontextprovider.md @@ -4,7 +4,7 @@ import ClassPropertyRef from '@site/src/components/ClassPropertyRef.tsx'; The FileContextProvider is a ContextProvider that allows you to search files in the open workspace. -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/plugins/context_providers/file.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/plugins/context_providers/file.py) ## Properties diff --git a/docs/docs/reference/Context Providers/filetreecontextprovider.md b/docs/docs/reference/Context Providers/filetreecontextprovider.md index a5b11555..2253788f 100644 --- a/docs/docs/reference/Context Providers/filetreecontextprovider.md +++ b/docs/docs/reference/Context Providers/filetreecontextprovider.md @@ -4,7 +4,7 @@ import ClassPropertyRef from '@site/src/components/ClassPropertyRef.tsx'; Type '@tree' to reference the contents of your current workspace. The LLM will be able to see the nested directory structure of your project. -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/plugins/context_providers/filetree.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/plugins/context_providers/filetree.py) ## Properties diff --git a/docs/docs/reference/Context Providers/githubissuescontextprovider.md b/docs/docs/reference/Context Providers/githubissuescontextprovider.md index f174df96..14ccd031 100644 --- a/docs/docs/reference/Context Providers/githubissuescontextprovider.md +++ b/docs/docs/reference/Context Providers/githubissuescontextprovider.md @@ -4,7 +4,7 @@ import ClassPropertyRef from '@site/src/components/ClassPropertyRef.tsx'; The GitHubIssuesContextProvider is a ContextProvider that allows you to search GitHub issues in a repo. Type '@issue' to reference the title and contents of an issue. -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/plugins/context_providers/github.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/plugins/context_providers/github.py) ## Properties diff --git a/docs/docs/reference/Context Providers/googlecontextprovider.md b/docs/docs/reference/Context Providers/googlecontextprovider.md index 84a9fdb5..bbb1ea29 100644 --- a/docs/docs/reference/Context Providers/googlecontextprovider.md +++ b/docs/docs/reference/Context Providers/googlecontextprovider.md @@ -4,7 +4,7 @@ import ClassPropertyRef from '@site/src/components/ClassPropertyRef.tsx'; Type '@google' to reference the results of a Google search. For example, type "@google python tutorial" if you want to search and discuss ways of learning Python. -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/plugins/context_providers/google.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/plugins/context_providers/google.py) ## Properties diff --git a/docs/docs/reference/Context Providers/searchcontextprovider.md b/docs/docs/reference/Context Providers/searchcontextprovider.md index 9aa22f33..9c4eea9b 100644 --- a/docs/docs/reference/Context Providers/searchcontextprovider.md +++ b/docs/docs/reference/Context Providers/searchcontextprovider.md @@ -4,7 +4,7 @@ import ClassPropertyRef from '@site/src/components/ClassPropertyRef.tsx'; Type '@search' to reference the results of codebase search, just like the results you would get from VS Code search. -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/plugins/context_providers/search.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/plugins/context_providers/search.py) ## Properties diff --git a/docs/docs/reference/Context Providers/terminalcontextprovider.md b/docs/docs/reference/Context Providers/terminalcontextprovider.md index ca4ad01a..f414571a 100644 --- a/docs/docs/reference/Context Providers/terminalcontextprovider.md +++ b/docs/docs/reference/Context Providers/terminalcontextprovider.md @@ -4,7 +4,7 @@ import ClassPropertyRef from '@site/src/components/ClassPropertyRef.tsx'; Type '@terminal' to reference the contents of your IDE's terminal. -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/plugins/context_providers/terminal.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/plugins/context_providers/terminal.py) ## Properties diff --git a/docs/docs/reference/Context Providers/urlcontextprovider.md b/docs/docs/reference/Context Providers/urlcontextprovider.md index fd4a7c4a..35632b06 100644 --- a/docs/docs/reference/Context Providers/urlcontextprovider.md +++ b/docs/docs/reference/Context Providers/urlcontextprovider.md @@ -4,7 +4,7 @@ import ClassPropertyRef from '@site/src/components/ClassPropertyRef.tsx'; Type '@url' to reference the contents of a URL. You can either reference preset URLs, or reference one dynamically by typing '@url https://example.com'. The text contents of the page will be fetched and used as context. -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/plugins/context_providers/url.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/plugins/context_providers/url.py) ## Properties diff --git a/docs/docs/reference/Models/anthropicllm.md b/docs/docs/reference/Models/anthropicllm.md index 68f8f9d3..619e33ec 100644 --- a/docs/docs/reference/Models/anthropicllm.md +++ b/docs/docs/reference/Models/anthropicllm.md @@ -17,7 +17,7 @@ config = ContinueConfig( Claude 2 is not yet publicly released. You can request early access [here](https://www.anthropic.com/earlyaccess). -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/libs/llm/anthropic.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/libs/llm/anthropic.py) ## Properties diff --git a/docs/docs/reference/Models/ggml.md b/docs/docs/reference/Models/ggml.md index 6f214d27..d2f43803 100644 --- a/docs/docs/reference/Models/ggml.md +++ b/docs/docs/reference/Models/ggml.md @@ -19,7 +19,7 @@ config = ContinueConfig( ) ``` -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/libs/llm/ggml.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/libs/llm/ggml.py) ## Properties diff --git a/docs/docs/reference/Models/googlepalmapi.md b/docs/docs/reference/Models/googlepalmapi.md index d9cb0cc2..0262aee0 100644 --- a/docs/docs/reference/Models/googlepalmapi.md +++ b/docs/docs/reference/Models/googlepalmapi.md @@ -18,7 +18,7 @@ config = ContinueConfig( ) ``` -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/libs/llm/google_palm_api.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/libs/llm/google_palm_api.py) ## Properties diff --git a/docs/docs/reference/Models/huggingfaceinferenceapi.md b/docs/docs/reference/Models/huggingfaceinferenceapi.md index fee892cc..c69fdf60 100644 --- a/docs/docs/reference/Models/huggingfaceinferenceapi.md +++ b/docs/docs/reference/Models/huggingfaceinferenceapi.md @@ -18,7 +18,7 @@ config = ContinueConfig( ) ``` -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/libs/llm/hf_inference_api.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/libs/llm/hf_inference_api.py) ## Properties diff --git a/docs/docs/reference/Models/huggingfacetgi.md b/docs/docs/reference/Models/huggingfacetgi.md index 176b0539..d246cedd 100644 --- a/docs/docs/reference/Models/huggingfacetgi.md +++ b/docs/docs/reference/Models/huggingfacetgi.md @@ -4,7 +4,7 @@ import ClassPropertyRef from '@site/src/components/ClassPropertyRef.tsx'; -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/libs/llm/hf_tgi.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/libs/llm/hf_tgi.py) ## Properties diff --git a/docs/docs/reference/Models/llamacpp.md b/docs/docs/reference/Models/llamacpp.md index b20c7675..a9f973b3 100644 --- a/docs/docs/reference/Models/llamacpp.md +++ b/docs/docs/reference/Models/llamacpp.md @@ -23,7 +23,7 @@ config = ContinueConfig( ) ``` -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/libs/llm/llamacpp.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/libs/llm/llamacpp.py) ## Properties diff --git a/docs/docs/reference/Models/ollama.md b/docs/docs/reference/Models/ollama.md index b6d418ce..fba041f2 100644 --- a/docs/docs/reference/Models/ollama.md +++ b/docs/docs/reference/Models/ollama.md @@ -15,7 +15,7 @@ config = ContinueConfig( ) ``` -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/libs/llm/ollama.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/libs/llm/ollama.py) ## Properties diff --git a/docs/docs/reference/Models/openai.md b/docs/docs/reference/Models/openai.md index 81af404d..31d1bd63 100644 --- a/docs/docs/reference/Models/openai.md +++ b/docs/docs/reference/Models/openai.md @@ -28,7 +28,7 @@ Options for serving models locally with an OpenAI-compatible server include: - [LocalAI](https://localai.io/basics/getting_started/) - [llama-cpp-python](https://github.com/abetlen/llama-cpp-python#web-server) -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/libs/llm/openai.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/libs/llm/openai.py) ## Properties diff --git a/docs/docs/reference/Models/openaifreetrial.md b/docs/docs/reference/Models/openaifreetrial.md index 1cf1154f..4fef79ea 100644 --- a/docs/docs/reference/Models/openaifreetrial.md +++ b/docs/docs/reference/Models/openaifreetrial.md @@ -25,7 +25,7 @@ The `OpenAIFreeTrial` class will automatically switch to using your API key inst These classes support any models available through the OpenAI API, assuming your API key has access, including "gpt-4", "gpt-3.5-turbo", "gpt-3.5-turbo-16k", and "gpt-4-32k". -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/libs/llm/openai_free_trial.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/libs/llm/openai_free_trial.py) ## Properties diff --git a/docs/docs/reference/Models/queuedllm.md b/docs/docs/reference/Models/queuedllm.md index 9ea28c58..1a87edc6 100644 --- a/docs/docs/reference/Models/queuedllm.md +++ b/docs/docs/reference/Models/queuedllm.md @@ -17,7 +17,7 @@ config = ContinueConfig( ) ``` -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/libs/llm/queued.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/libs/llm/queued.py) ## Properties diff --git a/docs/docs/reference/Models/textgenui.md b/docs/docs/reference/Models/textgenui.md index 680ff6c4..2f772611 100644 --- a/docs/docs/reference/Models/textgenui.md +++ b/docs/docs/reference/Models/textgenui.md @@ -17,7 +17,7 @@ config = ContinueConfig( ) ``` -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/libs/llm/text_gen_interface.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/libs/llm/text_gen_interface.py) ## Properties diff --git a/docs/docs/reference/Models/togetherllm.md b/docs/docs/reference/Models/togetherllm.md index a7eae025..4c01e5a7 100644 --- a/docs/docs/reference/Models/togetherllm.md +++ b/docs/docs/reference/Models/togetherllm.md @@ -19,7 +19,7 @@ config = ContinueConfig( ) ``` -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/libs/llm/together.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/libs/llm/together.py) ## Properties diff --git a/docs/docs/reference/config.md b/docs/docs/reference/config.md index 16d6bebe..ea564dd8 100644 --- a/docs/docs/reference/config.md +++ b/docs/docs/reference/config.md @@ -4,7 +4,7 @@ import ClassPropertyRef from '@site/src/components/ClassPropertyRef.tsx'; Continue can be deeply customized by editing the `ContinueConfig` object in `~/.continue/config.py` (`%userprofile%\.continue\config.py` for Windows) on your machine. This class is instantiated from the config file for every new session. -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/core/config.py) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/core/config.py) ## Properties diff --git a/docs/docs/telemetry.md b/docs/docs/telemetry.md index c383b41f..b2677d1e 100644 --- a/docs/docs/telemetry.md +++ b/docs/docs/telemetry.md @@ -9,7 +9,7 @@ keywords: [telemetry, anonymous, usage info, opt out] ## Overview
-Continue collects and reports **anonymous** usage information. This data is essential to understanding how we should improve the library. You can opt out of it at any time. We use [Posthog](https://posthog.com/), an open source platform for product analytics, to collect and store the data. You can review the code [here](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/libs/util/telemetry.py).
+Continue collects and reports **anonymous** usage information. This data is essential to understanding how we should improve the library. You can opt out of it at any time. We use [Posthog](https://posthog.com/), an open source platform for product analytics, to collect and store the data. You can review the code [here](https://github.com/continuedev/continue/tree/main/server/continuedev/libs/util/telemetry.py).
## What we track
diff --git a/install-dependencies.sh b/install-dependencies.sh index ba350dea..488ba312 100755 --- a/install-dependencies.sh +++ b/install-dependencies.sh @@ -6,7 +6,7 @@ # Server echo "Installing server dependencies..." -pushd continuedev || exit +pushd server || exit ./install-dependencies.sh popd || exit diff --git a/server/continuedev/core/sdk.py b/server/continuedev/core/sdk.py index 408168f6..65ac9c58 100644 --- a/server/continuedev/core/sdk.py +++ b/server/continuedev/core/sdk.py @@ -83,7 +83,7 @@ class ContinueSDK(AbstractContinueSDK): msg_step = MessageStep( name="Invalid Continue Config File", message=formatted_err ) - msg_step.description = f"Falling back to default config settings due to the following error in `~/.continue/config.py`.\n```\n{formatted_err}\n```\n\nIt's possible this was caused by an update to the Continue config format. If you'd like to see the new recommended default `config.py`, check [here](https://github.com/continuedev/continue/blob/main/continuedev/src/continuedev/libs/constants/default_config.py).\n\nIf the error is related to OpenAIServerInfo, see the updated way of using these parameters [here](https://continue.dev/docs/customization#azure-openai-service)." + msg_step.description = f"Falling back to default config settings due to the following error in `~/.continue/config.py`.\n```\n{formatted_err}\n```\n\nIt's possible this was caused by an update to the Continue config format. If you'd like to see the new recommended default `config.py`, check [here](https://github.com/continuedev/continue/blob/main/server/continuedev/libs/constants/default_config.py).\n\nIf the error is related to OpenAIServerInfo, see the updated way of using these parameters [here](https://continue.dev/docs/customization#azure-openai-service)." self.history.add_node( HistoryNode(step=msg_step, observation=None, depth=0, active=False) ) diff --git a/server/continuedev/models/reference/generate.py b/server/continuedev/models/reference/generate.py index 74912f75..b17df3b2 100644 --- a/server/continuedev/models/reference/generate.py +++ b/server/continuedev/models/reference/generate.py @@ -79,7 +79,7 @@ import ClassPropertyRef from '@site/src/components/ClassPropertyRef.tsx'; {dedent(schema.get("description", ""))} -[View the source](https://github.com/continuedev/continue/tree/main/continuedev/src/continuedev/{filepath}) +[View the source](https://github.com/continuedev/continue/tree/main/server/continuedev/{filepath}) ## Properties |