ReMe/reme/core
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
..
as_llm refactor(core): update registry registration syntax and improve code formatting 2026-03-06 01:57:29 +08:00
as_llm_formatter Dev/token (#159) 2026-03-17 11:07:31 +08:00
as_token_counter feat(core): update version and enhance configuration management (#164) 2026-03-18 15:16:10 +08:00
embedding style(memory): update message formatting and improve logging (#175) 2026-03-24 00:20:15 +08:00
enumeration refactor(core): replace memory stores with file stores and update architecture 2026-02-26 14:18:12 +08:00
file_store refactor(truncation): improve file truncation logic (#184) 2026-03-28 18:41:09 +08:00
file_watcher refactor(core): replace text truncation utilities with new marker system (#179) 2026-03-26 12:10:24 +08:00
flow refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
llm feat(core): update version and enhance configuration management (#164) 2026-03-18 15:16:10 +08:00
op refactor(file_io): update file I/O operations and truncation logic (#177) 2026-03-25 20:21:37 +08:00
schema refactor(core): replace text truncation utilities with new marker system (#179) 2026-03-26 12:10:24 +08:00
service refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
token_counter refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
tools refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
utils refactor(core): replace text truncation utilities with new marker system (#179) 2026-03-26 12:10:24 +08:00
vector_store refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
__init__.py refactor(cli): using AgentScope components to reimplement the reme_cli logic (#153) 2026-03-12 11:23:36 +08:00
application.py refactor(file_io): update file I/O operations and truncation logic (#177) 2026-03-25 20:21:37 +08:00
base_dict.py refactor(core): replace memory stores with file stores and update architecture 2026-02-26 14:18:12 +08:00
prompt_handler.py refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
registry_factory.py refactor(cli): using AgentScope components to reimplement the reme_cli logic (#153) 2026-03-12 11:23:36 +08:00
runtime_context.py refactor(core): restructure application initialization and service context 2026-02-26 17:56:59 +08:00
service_context.py feat(core): update version and enhance configuration management (#164) 2026-03-18 15:16:10 +08:00