mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-07-10 01:18:29 +00:00
Use the shared sanitized file writer for chat compaction backup artifacts so JSON and transcript backups remain writable when a long chat contains malformed Unicode such as lone surrogates. Add a regression that exercises surrogate-containing backup content and document the backup artifact contract in the chat compaction DOX file. Verified with: conda run -n a0 pytest tests/test_chat_compaction.py -q; python -m py_compile plugins/_chat_compaction/helpers/compactor.py tests/test_chat_compaction.py; live localhost:32080 surrogate-long-chat repro after syncing into /a0 and restarting the container. |
||
|---|---|---|
| .. | ||
| api | ||
| extensions/webui/chat-input-bottom-actions-start | ||
| helpers | ||
| prompts | ||
| webui | ||
| .toggle-1 | ||
| AGENTS.md | ||
| default_config.yaml | ||
| plugin.yaml | ||