Elffuss BraidHub

kikocis/continue public

7be2006a2313 · 2.3 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## Core Functionality[​](#core-functionality "Direct link to Core Functionality")
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## Context Management[​](#context-management "Direct link to Context Management")
16
17### Automatic Context[​](#automatic-context "Direct link to Automatic Context")
18
19- Selected code in your editor
20- Current file context when relevant
21- Previous conversation history in the session
22
23### Manual Context[​](#manual-context "Direct link to 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## Response Handling[​](#response-handling "Direct link to Response Handling")
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## Session Management[​](#session-management "Direct link to Session Management")
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## Advanced Features[​](#advanced-features "Direct link to Advanced Features")
45
46### Prompt Inspection[​](#prompt-inspection "Direct link to Prompt Inspection")
47
48View the exact prompt sent to the AI model in the [prompt logs](/troubleshooting) for debugging and optimization.
49
50### Context Providers[​](#context-providers "Direct link to Context Providers")
51
52Learn more about how context providers work:
53
54- [Codebase Context](/customization/overview#codebase-context)
55- [Documentation Context](/customization/overview#documentation-context)
56
57---
58
59_Chat is designed to feel like a natural conversation while maintaining full transparency about what context is being used._