fix: skip memory flush on read-only workspace
This commit is contained in:
1 parent
1ffb0fe787
commit
5b44825cb3
7 files changed
+317
-3
No files matched your search
@@ -1382,6 +1382,8 @@ Defaults:
|
||||
- `memoryFlush.enabled`: `true`
|
||||
- `memoryFlush.softThresholdTokens`: `4000`
|
||||
- `memoryFlush.prompt` / `memoryFlush.systemPrompt`: built-in defaults with `NO_REPLY`
|
||||
- Note: memory flush is skipped when the session workspace is read-only
|
||||
(`agents.defaults.sandbox.workspaceAccess: "ro"` or `"none"`).
|
||||
|
||||
Example (tuned):
|
||||
```json5
|
||||
|
||||
Reference in new issue
Block a user