mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:30:44 +00:00
feat: send compaction start and completion notices (#67830)
Merged via squash.
Prepared head SHA: abedf6cf11
Co-authored-by: feniix <91633+feniix@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
This commit is contained in:
committed by
GitHub
parent
1603577dfd
commit
f48d040bf5
@@ -132,10 +132,10 @@ capable model for better summaries:
|
||||
}
|
||||
```
|
||||
|
||||
## Compaction start notice
|
||||
## Compaction notices
|
||||
|
||||
By default, compaction runs silently. To show a brief notice when compaction
|
||||
starts, enable `notifyUser`:
|
||||
By default, compaction runs silently. To show brief notices when compaction
|
||||
starts and when it completes, enable `notifyUser`:
|
||||
|
||||
```json5
|
||||
{
|
||||
@@ -149,8 +149,8 @@ starts, enable `notifyUser`:
|
||||
}
|
||||
```
|
||||
|
||||
When enabled, the user sees a short message (for example, "Compacting
|
||||
context...") at the start of each compaction run.
|
||||
When enabled, the user sees short status messages around each compaction run
|
||||
(for example, "Compacting context..." and "Compaction complete").
|
||||
|
||||
## Compaction vs pruning
|
||||
|
||||
|
||||
Reference in New Issue
Block a user