summaryrefslogtreecommitdiff
path: root/docs/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs/docs')
-rw-r--r--docs/docs/customization/models.md8
-rw-r--r--docs/docs/customization/other-configuration.md2
-rw-r--r--docs/docs/reference/Context Providers/diffcontextprovider.md2
-rw-r--r--docs/docs/reference/Context Providers/filecontextprovider.md2
-rw-r--r--docs/docs/reference/Context Providers/filetreecontextprovider.md2
-rw-r--r--docs/docs/reference/Context Providers/githubissuescontextprovider.md2
-rw-r--r--docs/docs/reference/Context Providers/googlecontextprovider.md2
-rw-r--r--docs/docs/reference/Context Providers/searchcontextprovider.md2
-rw-r--r--docs/docs/reference/Context Providers/terminalcontextprovider.md2
-rw-r--r--docs/docs/reference/Context Providers/urlcontextprovider.md2
-rw-r--r--docs/docs/reference/Models/anthropicllm.md2
-rw-r--r--docs/docs/reference/Models/ggml.md2
-rw-r--r--docs/docs/reference/Models/googlepalmapi.md2
-rw-r--r--docs/docs/reference/Models/huggingfaceinferenceapi.md2
-rw-r--r--docs/docs/reference/Models/huggingfacetgi.md2
-rw-r--r--docs/docs/reference/Models/llamacpp.md2
-rw-r--r--docs/docs/reference/Models/ollama.md2
-rw-r--r--docs/docs/reference/Models/openai.md2
-rw-r--r--docs/docs/reference/Models/openaifreetrial.md2
-rw-r--r--docs/docs/reference/Models/queuedllm.md2
-rw-r--r--docs/docs/reference/Models/textgenui.md2
-rw-r--r--docs/docs/reference/Models/togetherllm.md2
-rw-r--r--docs/docs/reference/config.md2
-rw-r--r--docs/docs/telemetry.md2
24 files changed, 27 insertions, 27 deletions
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