mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-07 08:26:06 +00:00
* refactor(memory): remove mark filtering parameters and simplify get_memory logic * feat(core): bump version to 0.3.1.0 * refactor(memory): update comment to clarify dialog storage persistence * refactor(core): update text truncation utilities and tool result handling - Add new truncate_text_head function for head-based truncation - Introduce TRUNCATION_MARKER_START constant for truncation detection - Replace tail-based truncation with head-based truncation in tool result compaction - Remove tool_result_threshold and retention_days parameters from RemeLight initialization - Update ToolResultCompactor to use configurable thresholds for recent vs old messages - Modify compact_tool_result method to accept multiple threshold parameters - Adjust cleanup logic to use default compactor configuration - Simplify is_truncated function to check only start marker * ``` feat(memory): add long line splitting in tool result compaction - Added _split_long_lines function to break oversized lines at 10000 characters - Implemented line splitting before saving tool results to files - Prevents extremely long lines from breaking file-based storage - Maintains compatibility with existing tool result format - Preserves original content integrity through chunked processing ``` |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| agentscope_utils.py | ||
| cache_handler.py | ||
| case_converter.py | ||
| chunking_utils.py | ||
| common_utils.py | ||
| env_utils.py | ||
| execute_utils.py | ||
| hf_token_counter_utils.py | ||
| horse.py | ||
| http_client.py | ||
| llm_utils.py | ||
| logger_utils.py | ||
| logo_utils.py | ||
| mcp_client.py | ||
| pydantic_config_parser.py | ||
| pydantic_utils.py | ||
| singleton.py | ||
| std_logger.py | ||
| time.py | ||
| truncate_text_utils.py | ||