add missing files and redirects
This commit is contained in:
parent
487b8edbef
commit
ffaea5e12c
14 changed files with 210 additions and 12 deletions
|
|
@ -31,7 +31,10 @@
|
|||
"icon": "messages",
|
||||
"pages": [
|
||||
"features/chat/quick-start",
|
||||
"features/chat/how-it-works"
|
||||
"features/chat/how-it-works",
|
||||
"features/chat/model-setup",
|
||||
"features/chat/how-to-customize",
|
||||
"features/chat/context-selection"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -50,7 +53,10 @@
|
|||
"icon": "pen-to-square",
|
||||
"pages": [
|
||||
"features/edit/quick-start",
|
||||
"features/edit/how-it-works"
|
||||
"features/edit/how-it-works",
|
||||
"features/edit/model-setup",
|
||||
"features/edit/how-to-customize",
|
||||
"features/edit/context-selection"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -58,7 +64,10 @@
|
|||
"icon": "robot",
|
||||
"pages": [
|
||||
"features/agent/quick-start",
|
||||
"features/agent/how-it-works"
|
||||
"features/agent/how-it-works",
|
||||
"features/agent/model-setup",
|
||||
"features/agent/how-to-customize",
|
||||
"features/agent/context-selection"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
@ -838,6 +847,10 @@
|
|||
"source": "/agent/how-to-use-it",
|
||||
"destination": "/features/agent/quick-start"
|
||||
},
|
||||
{
|
||||
"source": "/features/agent/how-to-use-it",
|
||||
"destination": "/features/agent/quick-start"
|
||||
},
|
||||
{
|
||||
"source": "/edit",
|
||||
"destination": "/features/edit/quick-start"
|
||||
|
|
@ -846,6 +859,10 @@
|
|||
"source": "/edit/how-to-use-it",
|
||||
"destination": "/features/edit/quick-start"
|
||||
},
|
||||
{
|
||||
"source": "/features/edit/how-to-use-it",
|
||||
"destination": "/features/edit/quick-start"
|
||||
},
|
||||
{
|
||||
"source": "/autocomplete",
|
||||
"destination": "/features/autocomplete/quick-start"
|
||||
|
|
@ -854,6 +871,10 @@
|
|||
"source": "/autocomplete/how-to-use-it",
|
||||
"destination": "/features/autocomplete/quick-start"
|
||||
},
|
||||
{
|
||||
"source": "/features/autocomplete/how-to-use-it",
|
||||
"destination": "/features/autocomplete/quick-start"
|
||||
},
|
||||
{
|
||||
"source": "/getting-started",
|
||||
"destination": "/getting-started/install"
|
||||
|
|
@ -925,6 +946,46 @@
|
|||
{
|
||||
"source": "/autocomplete/context-selection",
|
||||
"destination": "/features/autocomplete/context-selection"
|
||||
},
|
||||
{
|
||||
"source": "/chat/model-setup",
|
||||
"destination": "/features/chat/model-setup"
|
||||
},
|
||||
{
|
||||
"source": "/chat/how-to-customize",
|
||||
"destination": "/features/chat/how-to-customize"
|
||||
},
|
||||
{
|
||||
"source": "/chat/context-selection",
|
||||
"destination": "/features/chat/context-selection"
|
||||
},
|
||||
{
|
||||
"source": "/features/chat/how-to-use-it",
|
||||
"destination": "/features/chat/quick-start"
|
||||
},
|
||||
{
|
||||
"source": "/edit/model-setup",
|
||||
"destination": "/features/edit/model-setup"
|
||||
},
|
||||
{
|
||||
"source": "/edit/how-to-customize",
|
||||
"destination": "/features/edit/how-to-customize"
|
||||
},
|
||||
{
|
||||
"source": "/edit/context-selection",
|
||||
"destination": "/features/edit/context-selection"
|
||||
},
|
||||
{
|
||||
"source": "/agent/model-setup",
|
||||
"destination": "/features/agent/model-setup"
|
||||
},
|
||||
{
|
||||
"source": "/agent/how-to-customize",
|
||||
"destination": "/features/agent/how-to-customize"
|
||||
},
|
||||
{
|
||||
"source": "/agent/context-selection",
|
||||
"destination": "/features/agent/context-selection"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
3
docs2/features/agent/context-selection.mdx
Normal file
3
docs2/features/agent/context-selection.mdx
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
You can use the same methods to manually add context as [Chat](/features/chat/context-selection).
|
||||
|
||||
Tool call responses are automatically included as context items. This enables Agent mode to see the result of the previous action and decide what to do next.
|
||||
27
docs2/features/agent/how-to-customize.mdx
Normal file
27
docs2/features/agent/how-to-customize.mdx
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
## Add Rules Blocks
|
||||
|
||||
Adding Rules can be done in your assistant locally or in the Hub. You can explore Rules on the Continue Hub and refer to the [Rules deep dive](/customize/deep-dives/rules) for more details.
|
||||
|
||||
## Add MCP Tools
|
||||
|
||||
You can add MCP servers to your assistant to give Agent access to more tools. Explore [MCP Servers on the Hub](https://hub.continue.dev) and consult the [MCP guide](/customize/deep-dives/mcp) for more details.
|
||||
|
||||
## Tool Policies
|
||||
|
||||
You can adjust the Agent's tool usage behavior to three options:
|
||||
|
||||
- **Ask First (default)**: Request user permission with "Cancel" and "Continue" buttons
|
||||
- **Automatic**: Automatically call the tool without requesting permission
|
||||
- **Excluded**: Do not send the tool to the model
|
||||
|
||||
:::warning
|
||||
Be careful setting tools to "automatic" if their behavior is not read-only.
|
||||
:::
|
||||
|
||||
To manage tool policies:
|
||||
|
||||
1. Click the tools icon in the input toolbar
|
||||
2. View and change policies by clicking on the policy text
|
||||
3. You can also toggle groups of tools on/off
|
||||
|
||||
Tool policies are stored locally per user.
|
||||
14
docs2/features/agent/model-setup.mdx
Normal file
14
docs2/features/agent/model-setup.mdx
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
We recommend **Claude 3.5 Sonnet** from Anthropic for the best Agent experience.
|
||||
|
||||
- [Add Claude 3.5 Sonnet to your assistant from the hub](https://hub.continue.dev/anthropic/claude-3-5-sonnet-20241022)
|
||||
- Get your API key from the [Anthropic console](https://console.anthropic.com/)
|
||||
|
||||
## Other recommended models
|
||||
|
||||
- [Claude Sonnet 4 from Anthropic](https://hub.continue.dev/anthropic)
|
||||
- [GPT-4o from OpenAI](https://hub.continue.dev/openai/gpt-4o)
|
||||
- [Gemini 2.0 Pro from Google](https://hub.continue.dev/google/gemini-2.0-pro)
|
||||
|
||||
Agent can be used with models that support tool use through Continue. The best chat models generally support tool use.
|
||||
|
||||
For more information on models, check out [our recommended chat models](/features/chat/model-setup).
|
||||
|
|
@ -1,5 +1,3 @@
|
|||
# Context Selection
|
||||
|
||||
Autocomplete will automatically determine context based on the current cursor position. We use the following techniques to determine what to include in the prompt:
|
||||
|
||||
## File prefix/suffix
|
||||
|
|
@ -16,4 +14,4 @@ Because there are often many imports, we can't include all of them. Instead, we
|
|||
|
||||
## Recent files
|
||||
|
||||
We automatically consider recently opened or edited files and include snippets that are relevant to the current completion.
|
||||
We automatically consider recently opened or edited files and include snippets that are relevant to the current completion.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
# How to Customize Autocomplete
|
||||
|
||||
Continue offers a handful of settings to customize autocomplete behavior. Visit the [User Settings Page](/customize/deep-dives/settings/) to manage these settings.
|
||||
|
||||
For a comprehensive guide on all configuration options and their impacts, see the [Autocomplete deep dive](/customize/deep-dives/autocomplete).
|
||||
For a comprehensive guide on all configuration options and their impacts, see the [Autocomplete deep dive](/customize/deep-dives/autocomplete).
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
# Autocomplete Model Setup
|
||||
|
||||
Setting up the right model for autocomplete is crucial for a smooth coding experience. Here are our top recommendations:
|
||||
|
||||
## Recommended Models
|
||||
|
|
|
|||
39
docs2/features/chat/context-selection.mdx
Normal file
39
docs2/features/chat/context-selection.mdx
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
## Input
|
||||
|
||||
Typing a question or instructions into the input box is the only required context.
|
||||
|
||||
## Highlighted Code
|
||||
|
||||
The highlighted code you've selected by pressing cmd/ctrl + L (VS Code) or cmd/ctrl + J (JetBrains) will be included in your prompt.
|
||||
|
||||
## Active File
|
||||
|
||||
You can include the currently open file as context by pressing opt/alt + enter when you send your request.
|
||||
|
||||
## Specific File
|
||||
|
||||
You can include a specific file in your current workspace by typing '@Files' and selecting the file.
|
||||
|
||||
## Specific Folder
|
||||
|
||||
You can include a folder in your current workspace by typing '@Folder' and selecting the directory.
|
||||
|
||||
## Codebase Search
|
||||
|
||||
You can automatically include relevant files from your codebase by typing '@Codebase'.
|
||||
|
||||
## Documentation Site
|
||||
|
||||
You can include a documentation site as context by typing '@Docs' and selecting the site.
|
||||
|
||||
## Terminal Contents
|
||||
|
||||
You can include the contents of the terminal in your IDE by typing '@Terminal'.
|
||||
|
||||
## Git Diff
|
||||
|
||||
You can include all of the changes you've made to your current branch by typing '@Git Diff'.
|
||||
|
||||
## Other Context
|
||||
|
||||
You can see a full list of built-in context providers [here](/customize/context-providers) and learn about how to create your own context provider [here](/customize/deep-dives/custom-context-providers).
|
||||
7
docs2/features/chat/how-to-customize.mdx
Normal file
7
docs2/features/chat/how-to-customize.mdx
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
There are a number of different ways to customize Chat:
|
||||
|
||||
- Add a `rules` block to give the model persistent instructions through the system prompt
|
||||
- Configure `@Codebase`
|
||||
- Configure `@Docs`
|
||||
- [Build your own context provider](/customize/deep-dives/build-your-own-context-provider)
|
||||
- [Create a custom code RAG](/guides/custom-code-rag)
|
||||
19
docs2/features/chat/model-setup.mdx
Normal file
19
docs2/features/chat/model-setup.mdx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
We recommend setting up a model for the best experience.
|
||||
|
||||
## Recommended Models
|
||||
|
||||
Here's our primary model recommendation:
|
||||
|
||||
**Claude 3.5 Sonnet** from Anthropic
|
||||
|
||||
- [Add Claude 3.5 Sonnet to your assistant from the hub](https://hub.continue.dev/anthropic/claude-3-5-sonnet-20241022)
|
||||
- Get your API key from the [Anthropic console](https://console.anthropic.com/)
|
||||
|
||||
Other top models to consider:
|
||||
|
||||
- [GPT-4o from OpenAI](https://hub.continue.dev/openai/gpt-4o)
|
||||
- [Grok-2 from xAI](https://hub.continue.dev/xai/grok-2)
|
||||
- [Gemini 2.0 Flash from Google](https://hub.continue.dev/google/gemini-2.0-flash)
|
||||
- [Llama 3.1 8b from Meta (local)](https://hub.continue.dev/ollama/llama3.1)
|
||||
|
||||
For more detailed setup instructions, see [here](/getting-started/install#setup-your-first-model).
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: "Chat Quick Start"
|
||||
title: "Quick Start"
|
||||
---
|
||||
|
||||
Chat makes it easy to ask for help from an AI without leaving your IDE. Get explanations, generate code, and iterate on solutions conversationally.
|
||||
|
|
|
|||
11
docs2/features/edit/context-selection.mdx
Normal file
11
docs2/features/edit/context-selection.mdx
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
## Input
|
||||
|
||||
The input you provide is included in the prompt.
|
||||
|
||||
## Code to Edit
|
||||
|
||||
The **entire contents** of each file (the current file for Jetbrains inline Edit, the `Code to Edit` item for VS Code Edit mode) are included in the prompt for context. The model will only attempt to edit the highlighted/specified ranges.
|
||||
|
||||
## Context Providers
|
||||
|
||||
In VS Code Edit mode, you can use `@` to add context using [Context Providers](/customize/context-providers), similar to [Chat](/features/chat/context-selection). Some context providers may be disabled in Edit mode.
|
||||
9
docs2/features/edit/how-to-customize.mdx
Normal file
9
docs2/features/edit/how-to-customize.mdx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
## Setting active Edit/Apply model
|
||||
|
||||
You can configure particular models from your Assistant to be used for Edit and Apply requests.
|
||||
|
||||
1. Click the 3 dots above the main input
|
||||
2. Click the cube icon to expand the "Models" section
|
||||
3. Use the dropdowns to select models for Edit and Apply
|
||||
|
||||
Learn more about the [Edit role](/customize/model-roles/edit) and [Apply role](/customize/model-roles/apply).
|
||||
14
docs2/features/edit/model-setup.mdx
Normal file
14
docs2/features/edit/model-setup.mdx
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
By default, Edit uses the same model as Chat. We recommend **Claude 3.5 Sonnet** from Anthropic.
|
||||
|
||||
[Explore other Edit models on the Continue Hub →](https://hub.continue.dev)
|
||||
|
||||
## Apply Model
|
||||
|
||||
We also recommend setting up an Apply model for the best Edit experience.
|
||||
|
||||
**Recommended Apply models:**
|
||||
|
||||
- [Morph v0 Fast Apply](https://hub.continue.dev)
|
||||
- [Relace Instant Apply](https://hub.continue.dev)
|
||||
|
||||
[Explore other Apply models on the Continue Hub →](https://hub.continue.dev)
|
||||
Loading…
Add table
Reference in a new issue