Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,12 @@ Context
────────

Messages 15
Context Size~ 16500 tokens
Context Size~ 82500 tokens
████████░░ 82.5%
Max Size 20000 tokens
Max Size 100000 tokens
```

This example shows that the context is at 82.5% capacity (16,500 tokens out of 20,000). When the context size reaches 80% of the configured maximum (`max_context_size` in your config), TmuxAI automatically triggers squashing.
This example shows that the context is at 82.5% capacity (82,500 tokens out of 100,000). When the context size reaches 80% of the configured maximum (`max_context_size` in your config), TmuxAI automatically triggers squashing.

### Manual Squashing

Expand Down
2 changes: 1 addition & 1 deletion config.example.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
max_context_size: 20000 # Maximum context size in tokens, reaching 80% triggers squashing
max_context_size: 100000 # Maximum context size in tokens, reaching 80% triggers squashing
max_capture_lines: 200 # Maximum number of lines to capture during each message
wait_interval: 5 # Wait interval when exec pane is considered busy (used in observe and watch modes)

Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func DefaultConfig() *Config {
return &Config{
Debug: false,
MaxCaptureLines: 200,
MaxContextSize: 20000,
MaxContextSize: 100000,
WaitInterval: 5,
SendKeysConfirm: true,
PasteMultilineConfirm: true,
Expand Down
Loading