Skip to content

Commit e8f9113

Browse files
Update model-config/context-windows.mdx
Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
1 parent b755b5c commit e8f9113

1 file changed

Lines changed: 35 additions & 35 deletions

File tree

model-config/context-windows.mdx

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -44,67 +44,67 @@ A context window is how much text the AI can look at and remember at one time. T
4444
3. **Command results** - Output from commands that run
4545
4. **System instructions** - CodinIT's background instructions (uses very little)
4646

47-
### Optimization strategies
47+
### How to Save Context Space
4848

4949
#### 1. Start fresh for new features
5050

5151
```mdx
52-
/new - Creates a new task with clean context
52+
/new - Start a new chat with empty context
5353
```
5454

55-
Benefits:
55+
Why this helps:
5656

57-
- Maximum context available
58-
- No irrelevant history
59-
- Better model focus
57+
- You get the full context window
58+
- No old, irrelevant messages
59+
- AI focuses better
6060

61-
#### 2. Use @ mentions strategically
61+
#### 2. Only include files you need
6262

63-
Instead of including entire files:
63+
Instead of including everything:
6464

65-
- `@filename.ts` - Include only when needed
66-
- Use search instead of reading large files
67-
- Reference specific functions rather than whole files
65+
- `@filename.ts` - Only mention files when necessary
66+
- Use search instead of reading big files
67+
- Reference specific parts, not whole files
6868

69-
#### 3. Enable auto-compact
69+
#### 3. Turn on auto-compact
7070

71-
CodinIT can automatically summarize long conversations to free up space in the context window:
71+
CodinIT can automatically shorten long conversations:
7272

73-
- Settings → Features → Auto-compact
74-
- Preserves important context
75-
- Reduces token usage
73+
- Go to Settings → Features → Auto-compact
74+
- Keeps important stuff
75+
- Uses fewer tokens
7676

77-
## Context window warnings
77+
## Warning Signs
7878

79-
### Signs you're hitting limits
79+
### How to Tell You're Running Out of Space
8080

81-
| Warning Sign | What It Means | Solution |
81+
| Warning Sign | What It Means | What to Do |
8282
| ----------------------------- | ----------------------------- | ------------------------------------- |
83-
| **"Context window exceeded"** | Hard limit reached | Start new task or enable auto-compact |
84-
| **Slower responses** | Model struggling with context | Reduce included files |
85-
| **Repetitive suggestions** | Context fragmentation | Summarize and start fresh |
86-
| **Missing recent changes** | Context overflow | Use checkpoints to track changes |
83+
| **"Context window exceeded"** | You hit the limit | Start a new chat or turn on auto-compact |
84+
| **Slow responses** | AI is struggling | Include fewer files |
85+
| **AI repeats itself** | Context is too fragmented | Start fresh |
86+
| **AI forgets recent changes** | Too much context | Use checkpoints |
8787

88-
### Best practices by project size
88+
### Tips by Project Size
8989

90-
#### Small projects (\< 50 files)
90+
#### Small projects (less than 50 files)
9191

92-
- Any model works well
93-
- Include relevant files freely
94-
- No special optimization needed
92+
- Any AI model works fine
93+
- Include files freely
94+
- Don't worry about optimization
9595

9696
#### Medium projects (50-500 files)
9797

98-
- Use 128K+ context models
99-
- Include only working set of files
100-
- Clear context between features
98+
- Use AI with 128K+ context
99+
- Only include files you're working on
100+
- Start new chats between features
101101

102102
#### Large projects (500+ files)
103103

104-
- Use 200K+ context models
105-
- Focus on specific modules
106-
- Use search instead of reading many files
107-
- Break work into smaller tasks
104+
- Use AI with 200K+ context
105+
- Focus on one part at a time
106+
- Search instead of reading many files
107+
- Break work into smaller pieces
108108

109109
## Advanced context management
110110

0 commit comments

Comments
 (0)