diff --git a/README.md b/README.md index dffca7596..d300749e0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -> 🎁 **New! [Try out the new JetBrains extension (Alpha)](https://plugins.jetbrains.com/plugin/22707-continue-extension)** - ![Continue logo](media/c_d.png)

Continue

@@ -32,7 +30,7 @@ ### Answer coding questions -Highlight (select and press `cmd+shift+M` (MacOS) / `ctrl+shift+M` (Windows)) sections of code and ask Continue for another perspective +Highlight + select sections of code and ask Continue for another perspective - “what does this forRoot() static function do in nestjs?” - “why is the first left join in this query necessary here?” @@ -40,7 +38,7 @@ Highlight (select and press `cmd+shift+M` (MacOS) / `ctrl+shift+M` (Windows)) se ### Edit in natural language -Highlight (select and press `cmd+shift+M` (MacOS) / `ctrl+shift+M` (Windows)) a section of code and instruct Continue to refactor it +Highlight + select a section of code and instruct Continue to refactor it - “/edit rewrite this to return a flattened list from a 3x3 matrix” - “/edit refactor these into an angular flex layout on one line" @@ -54,15 +52,13 @@ Open a blank file and let Continue start new Python scripts, React components, e - “/edit implement a c++ shortest path algo in a concise way” - “/edit create a docker compose file with php and mysql server" -### Understand errors and exceptions - -Press `cmd+shift+r` (MacOS) / `ctrl+shift+r` (Windows) when you come across an error or exception in your terminal. This will throw the stack trace into Continue and ask for it to explain the issue to you. - ## Getting Started -### Download for [VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) and [JetBrains](https://plugins.jetbrains.com/plugin/22707-continue-extension) +#### Download for [VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) and [JetBrains](https://plugins.jetbrains.com/plugin/22707-continue-extension) -By default, Continue uses `GPT-4` and `GPT-3.5-turbo` via the OpenAI API. You can adjust the config to use different Large Language Models (LLMs) like [Code Llama, Claude 2, WizardCoder, PaLM 2, and more](https://github.com/continuedev/what-llm-to-use). Read more [here](https://continue.dev/docs/model-setup/select-model). +You can try out Continue for free using a proxy server that securely makes calls with our API key to models like GPT-4, Gemini Pro, and Phind CodeLlama via OpenAI, Google, and Together respectively. + +Once you're ready to use your own API key or a different model / provider, press the `+` button in the bottom left to add a new model to your `config.json`. Learn more about the models and providers [here](https://continue.dev/docs/model-setup/overview). ## Contributing @@ -70,4 +66,4 @@ Check out the [contribution ideas board](https://github.com/orgs/continuedev/pro ## License -[Apache 2.0 © 2023 Continue Dev, Inc.](./LICENSE) +[Apache 2.0 © 2023 Continue Dev, Inc.](./LICENSE) \ No newline at end of file diff --git a/docs/docs/how-continue-works.md b/docs/docs/how-continue-works.md deleted file mode 100644 index 6cd35ac29..000000000 --- a/docs/docs/how-continue-works.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: How Continue works -description: Overview of the Continue architecture -keywords: [architecture, vs code, jetbrains, ide, manually] ---- - - -# ⚙️ How Continue works - -![Continue Architecture Diagram](/img/continue-diagram.png) - -## Overview - -- Continue is typically used inside of an Integrated Development Environment (IDE) like VS Code or JetBrains -- All units of action in Continue are called steps. Steps can be recursively composed into more complex steps -- Steps have access to the SDK, which enables you to use LLMs in your workflows (e.g. edit a file, call a model, etc) -- The Server facilitates communication between the IDE and the GUI and determines what steps to take next -- The GUI enables you to review every automated step, giving you the opportunity to undo and rerun any or all -- It is also possible to run Continue in headless, asynchronous mode. Please reach out if you are interested in this! - -## Supported IDEs - -### VS Code (Beta) - -Continue can be used as a VS Code extension. - -You can install it from the Visual Studio Marketplace [here](https://marketplace.visualstudio.com/items?itemName=Continue.continue). - -### JetBrains (Alpha) - -Continue can be used as a plugin inside of Intellij, PyCharm, WebStorm, etc. - -You can install it from the JetBrains Marketplace [here](https://plugins.jetbrains.com/plugin/22707-continue-extension). - -### Add Continue to a new IDE - -Here is how you can get started with adding Continue to a new IDE: - -1. Let us know that you would like to add Continue to a new IDE by opening an issue [here](https://github.com/continuedev/continue/issues/new/choose) -2. Implement a class that maps each of the actions like "read file" to the API provided by that IDE like [here](https://github.com/continuedev/continue/blob/main/extensions/vscode/src/continueIdeClient.ts) -3. Learn more about what you might also do by looking at this pull request that added initial support for JetBrains [here](https://github.com/continuedev/continue/pull/457) - -## Running the server manually - -If you would like to run the Continue server manually, rather than allowing the IDE to automatically set it up, you can follow the short tutorial for [Manually Running Continue](./walkthroughs/manually-run-continue.md). diff --git a/docs/docs/model-setup/overview.md b/docs/docs/model-setup/overview.md new file mode 100644 index 000000000..8338da363 --- /dev/null +++ b/docs/docs/model-setup/overview.md @@ -0,0 +1,18 @@ +# Overview + +Continue is the easiest way to code with any [Large Language Model (LLM)](https://www.youtube.com/watch?v=zjkBMFhNj_g). You can use it with commercial models like GPT-4 via the OpenAI API, open-source models running on your laptop with Ollama like Code Llama, and everything in between. You have the ability to configure what model you use, what provider you use, and how you use them. + +When you first install Continue, you can try it out for free using a proxy server that securely makes calls with our API key to models like GPT-4, Gemini Pro, and Phind CodeLlama via OpenAI, Google, and Together respectively. + +Once you're ready to use your own API key or a different model / provider, press the `+` button in the bottom left to add a new model to your `config.json`. + +If you are unsure what model or provider to use, here is a rule of thumb: +- Use GPT-4 via OpenAI if you want the best possible model overall right now +- Use X via Together if you want the best open-source model right now +- Use X via Ollama if you want to run a model locally on Mac or Linux +- Use X via LM Studio if you want to run a model locally on Windows + +Learn more: +- [Select a provider](select-provider.md) +- [Select a model](select-model.md) +- [Configuration](configuration.md) \ No newline at end of file diff --git a/docs/docs/model-setup/select-model.md b/docs/docs/model-setup/select-model.md index 93c1eea3c..1501ffe28 100644 --- a/docs/docs/model-setup/select-model.md +++ b/docs/docs/model-setup/select-model.md @@ -12,7 +12,7 @@ Continue makes it easy to swap out different LLMs. You can either click the "+" ## Open-source LLMs -Models available for configuration in the GUI: +The default models available in the GUI: - [Code Llama-Instruct-7B](https://github.com/continuedev/what-llm-to-use/blob/main/README.md#1-code-llama) - [Code Llama-Instruct-13B](https://github.com/continuedev/what-llm-to-use/blob/main/README.md#1-code-llama) - [Code Llama-Instruct-34B](https://github.com/continuedev/what-llm-to-use/blob/main/README.md#1-code-llama) @@ -41,6 +41,6 @@ Models available for configuration in the GUI: - [GPT-4-Turbo](https://github.com/continuedev/what-llm-to-use/blob/main/README.md#2-gpt-4-turbo) - [GPT-3.5-Turbo](https://github.com/continuedev/what-llm-to-use/blob/main/README.md#3-gpt-35-turbo) - [Claude-2](https://github.com/continuedev/what-llm-to-use/blob/main/README.md#4-claude-2) -- [PaLM-2](https://github.com/continuedev/what-llm-to-use/blob/main/README.md#5-palm-2) +- [Gemini Pro](https://github.com/continuedev/what-llm-to-use/blob/main/README.md#5-palm-2) **You can also use other commercial models**, but you will need to manually add them to your `config.json`. \ No newline at end of file diff --git a/docs/docs/model-setup/select-provider.md b/docs/docs/model-setup/select-provider.md index 1b720fbc8..98d9cc38d 100644 --- a/docs/docs/model-setup/select-provider.md +++ b/docs/docs/model-setup/select-provider.md @@ -45,6 +45,7 @@ You can deploy open-source LLMs on a service using: - [HuggingFace Inference Endpoints](../reference/Model%20Providers/huggingfaceinferenceapi.md) - [Anyscale Endpoints](../reference/Model%20Providers/openai.md) (OpenAI compatible API) - [Replicate](../reference/Model%20Providers/replicatellm.md) +- [Deepinfra](../reference/Model%20Providers/deepinfra.md) ### Commercial LLMs @@ -55,3 +56,4 @@ You can use commercial LLMs via APIs using: - [Anthrophic API](../reference/Model%20Providers/anthropicllm.md) - [Google PaLM API](../reference/Model%20Providers/googlepalmapi.md) - [OpenAI free trial](../reference/Model%20Providers/freetrial.md) +- [Mistral API](../reference/Model%20Providers/mistral.md) \ No newline at end of file diff --git a/docs/sidebars.js b/docs/sidebars.js index cda9941f6..cf5d41e84 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -17,13 +17,13 @@ const sidebars = { "intro", "quickstart", "how-to-use-continue", - "how-continue-works", { type: "category", label: "🌉 Model setup", collapsible: true, collapsed: true, items: [ + "model-setup/overview", "model-setup/select-provider", "model-setup/select-model", "model-setup/configuration", diff --git a/extensions/intellij/README.md b/extensions/intellij/README.md index c2f9142dd..5603bf6a9 100644 --- a/extensions/intellij/README.md +++ b/extensions/intellij/README.md @@ -4,7 +4,7 @@ ### Get possible explanations -Ask Continue about a part of your code to get another perspective +Highlight + select code sections and ask a question to get another perspective - “how can I set up a Prisma schema that cascades deletes?” - “where in the page should I be making this request to the backend?” @@ -12,7 +12,7 @@ Ask Continue about a part of your code to get another perspective ### Edit in natural language -Highlight a section of code and instruct Continue to refactor it +Highlight + select a section of code and instruct Continue to refactor it - “/edit migrate this digital ocean terraform file into one that works for GCP” - “/edit change this plot into a bar chart in this dashboard component” @@ -28,16 +28,8 @@ Open a blank file and let Continue start new Python scripts, React components, e ## Getting Started -By default, Continue uses GPT-4 and GPT-3.5-turbo via the OpenAI API. +You can try out Continue for free using a proxy server that securely makes calls with our API key to models like GPT-4, Gemini Pro, and Phind CodeLlama via OpenAI, Google, and Together respectively. -You can adjust the config to use different LLMs, including local, private models. Read more [here](https://continue.dev/docs/customization#change-the-default-llm). - -To see the keyboard shortcuts offered by Continue, see the "Feature Contributions" tab above. - -# Troubleshooting - -The Continue JetBrains extension is currently in alpha. It will attempt to start the Continue Python server locally for you, but sometimes this will fail, causing the "Starting Continue server..." not to disappear, or other hangups. While we are working on fixes to all of these problems, read here for common solutions: - -> [Troubleshooting Continue](https://continue.dev/docs/troubleshooting) +Once you're ready to use your own API key or a different model / provider, press the `+` button in the bottom left to add a new model to your `config.json`. Learn more about the models and providers [here](https://continue.dev/docs/model-setup/overview). diff --git a/extensions/vscode/README.md b/extensions/vscode/README.md index 53448ab52..0446d712f 100644 --- a/extensions/vscode/README.md +++ b/extensions/vscode/README.md @@ -32,7 +32,7 @@ ### Get possible explanations -Ask Continue about a part of your code to get another perspective +Highlight + select code sections and ask a question to get another perspective - “how can I set up a Prisma schema that cascades deletes?” - “where in the page should I be making this request to the backend?” @@ -40,7 +40,7 @@ Ask Continue about a part of your code to get another perspective ### Edit in natural language -Highlight a section of code and instruct Continue to refactor it +Highlight + select a section of code and instruct Continue to refactor it - “/edit migrate this digital ocean terraform file into one that works for GCP” - “/edit change this plot into a bar chart in this dashboard component” @@ -56,22 +56,10 @@ Open a blank file and let Continue start new Python scripts, React components, e ## Getting Started -By default, Continue uses GPT-4 and GPT-3.5-turbo via the OpenAI API. +You can try out Continue for free using a proxy server that securely makes calls with our API key to models like GPT-4, Gemini Pro, and Phind CodeLlama via OpenAI, Google, and Together respectively. -You can adjust the config to use different LLMs, including local, private models. Read more [here](https://continue.dev/docs/customization#change-the-default-llm). - -To see the keyboard shortcuts offered by Continue, see the "Feature Contributions" tab above. - -# Troubleshooting - -The Continue VS Code extension is currently in beta. It will attempt to start the Continue Python server locally for you, but sometimes this will fail, causing the "Starting Continue server..." not to disappear, or other hangups. While we are working on fixes to all of these problems, read here for common solutions: - -> [Troubleshooting Continue](https://continue.dev/docs/troubleshooting) - -## Continue Server - -The Continue server is a Python server that runs locally on your computer allowing complete privacy. It handles indexing the codebase, constructing prompts, storing and loading configuration, and more. To allow quick startup times, the server will run on your computer in the background, even while not using Continue. If you'd like to stop the server yourself, the process runs on port 65432, and also depends on an instance of Meilisearch running on port 7700. +Once you're ready to use your own API key or a different model / provider, press the `+` button in the bottom left to add a new model to your `config.json`. Learn more about the models and providers [here](https://continue.dev/docs/model-setup/overview). ## License -[Apache 2.0 © 2023 Continue Dev, Inc.](./LICENSE) +[Apache 2.0 © 2023 Continue Dev, Inc.](./LICENSE) \ No newline at end of file