ReMe/reme/memory/file_based
jinliyl 9ad8120959
feat(compactor): add extra instruction support and improve error handing (#190)
* feat(compactor): add extra instruction support and improve error handling

- Add extra_instruction parameter to compactor for custom guidance during message compaction
- Implement try-catch blocks around AS LLM initialization with detailed error logging
- Add extra_instruction parameter to ReMe.compact method with comprehensive documentation
- Update agentscope dependency from 1.0.17 to 1.0.18 in light installation
- Bump version number from 0.3.1.6 to 0.3.1.7
- Pass extra_instruction parameter through compactor instantiation and execution flow

* fix(core): add error handling for AS LLM formatters and token counters initialization

- Wrapped AS LLM formatters initialization in try-except blocks
- Added specific error logging for failed AS LLM formatter initialization
- Wrapped AS token counters initialization in try-except blocks
- Added specific error logging for failed AS token counter initialization
- Applied same error handling pattern to both initial setup and restart operations
- Maintained existing warning logs for unsupported backends
2026-03-31 16:22:39 +08:00
..
components feat(compactor): add extra instruction support and improve error handing (#190) 2026-03-31 16:22:39 +08:00
tools refactor(truncation): improve file truncation logic (#184) 2026-03-28 18:41:09 +08:00
utils refactor(truncation): improve file truncation logic (#184) 2026-03-28 18:41:09 +08:00
__init__.py refactor(memory): restructure file-based memory components and enhance message handling (#145) 2026-03-07 15:22:56 +08:00
reme_in_memory_memory.py refactor(core): replace text truncation utilities with new marker system (#179) 2026-03-26 12:10:24 +08:00