How Chat Works
Continue's Chat feature provides a conversational interface with AI models directly in your IDE sidebar.
Core Functionality
When you start a chat conversation, Continue:
- Gathers Context: Uses any selected code sections and @-mentioned context
- Constructs Prompt: Combines your input with relevant context
- Sends to Model: Prompts the configured AI model for a response
- Streams Response: Returns the AI response in real-time to the sidebar
Context Management
Automatic Context
- Selected code in your editor
- Current file context when relevant
- Previous conversation history in the session
Manual Context
@Codebase
- Search and include relevant code from your project@Docs
- Include documentation context@Files
- Reference specific files- Custom context providers
Response Handling
Each code section in the AI response includes action buttons:
- Apply to current file - Replace selected code
- Insert at cursor - Add code at cursor position
- Copy - Copy code to clipboard
Session Management
- Use
Cmd/Ctrl + L
(VS Code) orCmd/Ctrl + J
(JetBrains) to start a new session - Clears all previous context for a fresh start
- Helpful for switching between different tasks
Advanced Features
Prompt Inspection
View the exact prompt sent to the AI model in the prompt logs for debugging and optimization.
Context Providers
Learn more about how context providers work:
Chat is designed to feel like a natural conversation while maintaining full transparency about what context is being used.