Elffuss BraidHub

kikocis/continue public

8eb3ae7b8d16 · 1.9 KiBRawPermalink
1---
2title: "How Chat Works"
3description: "Continue's Chat feature provides a conversational interface with AI models directly in your IDE sidebar."
4---
5
6## How Chat Core Functionality Works
7
8When you start a chat conversation, Continue:
9
101. **Gathers Context**: Uses any selected code sections and @-mentioned context
112. **Constructs Prompt**: Combines your input with relevant context
123. **Sends to Model**: Prompts the configured AI model for a response
134. **Streams Response**: Returns the AI response in real-time to the sidebar
14
15## How Context Management Works
16
17### What Context Is Automatically Included
18
19- Selected code in your editor
20- Current file context when relevant
21- Previous conversation history in the session
22
23### How to Add Manual Context
24
25- `@Codebase` - Search and include relevant code from your project
26- `@Docs` - Include documentation context
27- `@Files` - Reference specific files
28- Custom context providers
29
30## How Response Handling Works
31
32Each code section in the AI response includes action buttons:
33
34- **Apply to current file** - Replace selected code
35- **Insert at cursor** - Add code at cursor position
36- **Copy** - Copy code to clipboard
37
38## How Session Management Works
39
40- Use `Cmd/Ctrl + L` (VS Code) or `Cmd/Ctrl + J` (JetBrains) to start a new session
41- Clears all previous context for a fresh start
42- Helpful for switching between different tasks
43
44## What Advanced Features Are Available
45
46### How to Use Prompt Inspection
47
48View the exact prompt sent to the AI model in the [prompt logs](/troubleshooting) for debugging and optimization.
49
50### How to Learn More About Context Providers
51
52Learn more about how context providers work:
53
54- [Codebase Context](/customize/context/codebase)
55- [Documentation Context](/customize/context/documentation)
56
57---
58
59_Chat is designed to feel like a natural conversation while maintaining full transparency about what context is being used._