ReMe/reme/memory/file_based/components
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
..
__init__.py refactor(cli): using AgentScope components to reimplement the reme_cli logic (#153) 2026-03-12 11:23:36 +08:00
cli.py refactor(file_io): update file I/O operations and truncation logic (#177) 2026-03-25 20:21:37 +08:00
cli.yaml refactor(cli): using AgentScope components to reimplement the reme_cli logic (#153) 2026-03-12 11:23:36 +08:00
compactor.py feat(compactor): add extra instruction support and improve error handing (#190) 2026-03-31 16:22:39 +08:00
compactor.yaml style(memory): update message formatting and improve logging (#175) 2026-03-24 00:20:15 +08:00
context_checker.py Dev/token (#159) 2026-03-17 11:07:31 +08:00
summarizer.py style(memory): update message formatting and improve logging (#175) 2026-03-24 00:20:15 +08:00
summarizer.yaml refactor(file_io): update file I/O operations and truncation logic (#177) 2026-03-25 20:21:37 +08:00
tool_result_compactor.py refactor(truncation): improve file truncation logic (#184) 2026-03-28 18:41:09 +08:00