ReMe/reme/core/file_store
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
..
__init__.py refactor(core): replace memory stores with file stores and update architecture 2026-02-26 14:18:12 +08:00
base_file_store.py fix(file-store): handle embedding API errors gracefully with fallback mechanism (#173) 2026-03-20 17:55:18 +08:00
chroma_file_store.py refactor(truncation): improve file truncation logic (#184) 2026-03-28 18:41:09 +08:00
local_file_store.py fin(emb_dim) (#150) 2026-03-10 18:19:00 +08:00
sqlite_file_store.py refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00