ReMe/tests/light
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
..
test_compactor.py Dev/token (#159) 2026-03-17 11:07:31 +08:00
test_context_check.py Dev/token (#159) 2026-03-17 11:07:31 +08:00
test_format_msgs_to_str.py Dev/token (#159) 2026-03-17 11:07:31 +08:00
test_reme_light.py test(config): enable environment loading in test configuration 2026-03-20 15:22:28 +08:00
test_reme_light_log.txt docs(readme): update documentation and examples 2026-03-06 16:34:04 +08:00
test_summarizer.py refactor(file_io): update file I/O operations and truncation logic (#177) 2026-03-25 20:21:37 +08:00
test_tool_result_compactor.py refactor(core): replace text truncation utilities with new marker system (#179) 2026-03-26 12:10:24 +08:00
test_tools.py refactor(file_io): update file I/O operations and truncation logic (#177) 2026-03-25 20:21:37 +08:00
test_truncate_text_output.py refactor(truncation): improve file truncation logic (#184) 2026-03-28 18:41:09 +08:00
test_utils.py refactor(memory): restructure file-based memory components and enhance message handling (#145) 2026-03-07 15:22:56 +08:00