ReMe/reme
jinliyl 37628ba524
refactor(truncation): improve file truncation logic (#184)
* refactor(file_store): simplify ChromaDB client initialization and improve file truncation logic

- Remove shutil import and _create_chroma_client method from chroma_file_store.py
- Directly initialize ChromaDB PersistentClient in start method without retry logic
- Reduce DEFAULT_MAX_BYTES from 100KB to 50KB in file_utils.py
- Update truncation notice format to provide clearer continuation instructions
- Add _truncate_fresh and _retruncate functions for better text truncation handling
- Replace inline truncation logic with dedicated function calls in file_utils.py
- Rename skills_tool_ids to md_file_tool_ids in tool_result_compactor.py
- Update file detection logic to identify any .md files instead of only skill.md
- Create comprehensive unit tests for truncation functionality in test_truncate_text_output.py

* chore(version): bump version to 0.3.1.6

- Update __version__ from 0.3.1.5 to 0.3.1.6 in __init__.py
2026-03-28 18:41:09 +08:00
..
config refactor(file_io): update file I/O operations and truncation logic (#177) 2026-03-25 20:21:37 +08:00
core refactor(truncation): improve file truncation logic (#184) 2026-03-28 18:41:09 +08:00
extension feat(memory): replace memory formatter with AsMsgHandler for enhanced message processing 2026-03-06 16:29:52 +08:00
memory refactor(truncation): improve file truncation logic (#184) 2026-03-28 18:41:09 +08:00
__init__.py refactor(truncation): improve file truncation logic (#184) 2026-03-28 18:41:09 +08:00
reme.py fix: surface summarize/retrieve failures instead of masking them (#160) 2026-03-27 12:22:29 +08:00
reme_cli.py refactor(cli): using AgentScope components to reimplement the reme_cli logic (#153) 2026-03-12 11:23:36 +08:00
reme_light.py feat(reme): add configurable file watcher support (#181) 2026-03-26 15:46:42 +08:00