ReMe/docs
jinliyl 7b02c45218
style(memory): update message formatting and improve logging (#175)
* style(memory): update message formatting and improve logging

- Change default include_thinking parameter to True in as_msg_handler.py
- Replace angle brackets with square brackets for block formatting in as_msg_stat.py
- Add newline replacement in text truncation method in as_msg_stat.py
- Add loading duration timing to embedding cache loading in base_embedding_model.py
- Replace XML-style tags with markdown headers in compactor.py conversation format
- Update compactor.yaml prompts to reference markdown-style headers instead of XML tags
- Modify summarizer.py to use markdown-style conversation header format

* refactor(file-watcher): replace scan_on_start with rebuild_index_on_start parameter

- Replace scan_on_start and clear_on_start boolean parameters with single rebuild_index_on_start
- Update BaseFileWatcher constructor to use rebuild_index_on_start instead of two separate flags
- Modify initialization logic to clear and rescan when rebuild_index_on_start is True
- Remove scan_on_start parameter from CLI and light configuration files
- Update documentation to remove scan_on_start from quick start guides
- Rename all test methods and classes from scan_on_start to rebuild_index_on_start
- Add timezone-aware datetime helper method to summarizer component
- Format log message with proper line breaks for readability

* fix(core): resolve file watcher initialization issue and update version

- Fixed file watcher task creation to properly handle rebuild index on start logic
- Moved initialization and watch loop into async function to ensure proper execution order
- Updated package version from 0.3.1.1 to 0.3.1.2
- Added missing comma in embedding model logging statement

* fix(core): reduce max formatter text length limit

- Changed _DEFAULT_MAX_FORMATTER_TEXT_LENGTH from 2000 to 1000
- Updated constant value in as_msg_stat.py schema module

* fix(file-watcher): change default rebuild index behavior on start

- Changed rebuild_index_on_start parameter default from False to True
- This ensures index is rebuilt by default when file watcher starts
- Maintains consistent state initialization for file watching operations

* feat(compactor): add return_dict option and improve summary validation

- Add _is_valid_summary function to validate summary content format
- Introduce return_dict parameter to return structured results with validation
- Update prompt templates with clearer task descriptions and formatting rules
- Refactor update_user_message prompts to combine prefix and suffix logic
- Return dictionary with user_message, history_compact, and is_valid fields when enabled
- Add proper error handling for exception cases in memory compaction
- Maintain backward compatibility with string return when return_dict=False

* feat(memory): add thinking block configuration option

- Add add_thinking_block parameter to compactor component
- Pass include_thinking flag to message formatting in compactor
- Add add_thinking_block parameter to reme_light compact function
- Add add_thinking_block parameter to reme_light summarize function
- Add add_thinking_block parameter to summarizer component
- Pass include_thinking flag to message formatting in summarizer
- Remove previous-summary tags from compressed summary format
2026-03-24 00:20:15 +08:00
..
_static docs(work_memory): add diagram to message offload documentation 2025-11-27 20:37:05 +08:00
cli style(memory): update message formatting and improve logging (#175) 2026-03-24 00:20:15 +08:00
cookbook feat(memory): add ContextChecker component for context size management (#144) 2026-03-06 23:43:42 +08:00
library update paper_data format 2026-02-25 12:05:28 +08:00
personal_memory docs: reconstruct JupyterBook-style documentation 2025-10-23 12:08:35 +08:00
sop_memory docs: reconstruct JupyterBook-style documentation 2025-10-23 12:08:35 +08:00
task_memory feat(core): add pre-commit hooks and improve module documentation 2025-11-07 14:14:11 +08:00
tool_memory docs(vector_store): update vector store configuration guide 2025-11-07 14:53:14 +08:00
work_memory refactor(core): restructure project modules and update base classes 2026-01-22 22:07:32 +08:00
_config.yml docs(config): update source repository URL 2025-11-04 16:48:10 +08:00
_toc.yml docs(work_memory): add working memory documentation files 2025-11-27 19:36:56 +08:00
contribution.md docs(vector_store): update vector store configuration guide 2025-11-07 14:53:14 +08:00
index.md docs(index): update agent memory definition and architecture figure 2025-11-27 20:31:00 +08:00
installation.md docs(config): update github repository links to agentscope-ai 2025-11-04 16:17:40 +08:00
make_mp4.md feat(cli): enable vector search and improve chat history management 2026-02-15 13:29:46 +08:00
mcp_quick_start.md feat(core): add pre-commit hooks and improve module documentation 2025-11-07 14:14:11 +08:00
quick_start.md feat(core): add pre-commit hooks and improve module documentation 2025-11-07 14:14:11 +08:00
README_0_2_x.md docs(reme): update README with comprehensive documentation for file-b… (#122) 2026-02-28 22:27:38 +08:00
README_0_2_x_ZH.md docs(reme): update README with comprehensive documentation for file-b… (#122) 2026-02-28 22:27:38 +08:00
vector_store_api_guide.md docs(vector_store): add configuration examples for vector store backends 2025-12-17 11:59:25 +08:00