mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-08-28 05:25:04 +00:00
* refactor(core): replace text truncation utilities with new marker system - Remove old truncate_text_utils module and its exports - Replace TRUNCATION_MARKER_START with _TRUNCATION_NOTICE_MARKER constant - Update as_msg_stat.py to split content using new marker format - Modify FileIO tool to use TRUNCATION_NOTICE_MARKER for continuation hints - Change is_truncated function checks to use marker presence detection - Move transformers dependency from main deps to light extra dependencies - Update tool result compactor tests to verify marker instead of is_truncated calls * feat(file_io): enhance file operations with path resolution and append functionality - Add expanduser() to resolve file paths with ~ symbol - Implement proper file existence and type validation in update_file - Add new append_file method to append content to files - Update truncation notice format for better readability - Fix typo in error message from "provide" to "provided" - Update transformers dependency in pyproject.toml - Remove duplicate transformers dependency from light extras * refactor(file_io): disable pylint too-many-return-statements warning * perf(file_watcher): increase default polling delay and optimize watcher configuration - Increased default poll_delay_ms from 1000ms to 2000ms to reduce CPU usage - Removed force_polling parameter as it's no longer needed with updated polling strategy - Simplified async watch configuration by removing conditional force_polling logic - Reduced overall system resource consumption during file watching operations * refactor(memory): update conversation log documentation in memory summary - Changed "Raw conversation logs" to "Earlier conversation logs" for clarity - Added warning note about potentially large dialog file sizes - Improved formatting with additional line break for better readability - Maintained existing compressed summary integration unchanged * feat(memory): add long-term memory support to file-based memory system - Initialize _long_term_memory attribute as empty string - Add memories section to content when long-term memory exists - Consolidate summary and memories into single user message - Format memories with markdown header # Memories - Maintain existing compressed summary functionality - Join multiple content parts with double newlines |
||
|---|---|---|
| .. | ||
| light | ||
| vector | ||
| demo_memory_search.py | ||
| mcp_servers_demo.json | ||
| test_agentscope_converter.py | ||
| test_base_context.py | ||
| test_base_file_watcher.py | ||
| test_cache_handler.py | ||
| test_cache_memory_usage.py | ||
| test_chunking_utils.py | ||
| test_embedding.py | ||
| test_embedding_cache.py | ||
| test_embedding_sync.py | ||
| test_execute_utils.py | ||
| test_file_store.py | ||
| test_fs_tool.py | ||
| test_horse.py | ||
| test_keyword_search_performance.py | ||
| test_llm.py | ||
| test_llm_sync.py | ||
| test_logo.py | ||
| test_mcp_client.py | ||
| test_mcp_server.py | ||
| test_memory_vector_conversion.py | ||
| test_message.py | ||
| test_reme.py | ||
| test_timer.py | ||
| test_token_counter.py | ||
| test_tool.py | ||
| test_tool_call.py | ||
| test_ts_merge.py | ||
| test_vector_store.py | ||