Highlights
Context Management
Our simple and effective solution for passing context to the AI
File-Based Context
The primary way to manage context is through your project files:
- Currently Focused File
- Your active editor tab is automatically included as context
- Highlight any text range to emphasize specific sections
Focused file and highlighting example
- From Open Tabs
- Click the file icon in top corner
- Select/unselect additional files from your tabs
Files dropdown showing context management
- From Project Files
- Click “Add Context”
- Search and select files/folders
- Folders include all nested files
Project files search example
Only include the file context needed for your current task. This helps lower cost AND improve output quality.
Additional Context Methods
You can also provide context through:
- URLs
- Paste URLs into chat
- AI uses webpage contents as context
URL context example
- Uploads
- Use upload icon in bottom corner
- Supports documents, images, audio, and video
Upload interface options
Conversation Context Management
By default, only the 5 most recent back-and-forth turns in a conversation are kept as context. This automatic management helps maintain an optimal price/performance ratio while keeping the most relevant context.
To preserve specific messages from earlier in the conversation:
- Click the three dots menu next to any message
- Select “Set as Important”
- The message will be marked with a flag 🚩 and kept in context
Setting a message as important
Use the Important flag for key information or instructions you want the AI to remember throughout the conversation.