Commit graph

15 commits

Author SHA1 Message Date
jinli.yl
8f6c7057f4 feat(memory): serialize metadata as JSON string in memory schemas 2025-12-07 22:21:20 +08:00
jinli.yl
73668f051e feat(core): add pre-commit hooks and improve module documentation 2025-11-07 14:14:11 +08:00
jinli.yl
69bf1e9d5f feat(memory): add tool call deduplication with hash-based detection 2025-10-29 16:05:35 +08:00
jinli.yl
594495de9e feat(memory): add is_summarized flag to track tool call summarization
- Add is_summarized boolean field to ToolCallResult schema
- Implement logic to mark tool calls as summarized after processing
- Skip summarization for tools with all recent calls already summarized
- Update summary operation to process only tools with unsummarized calls
- Enhance logging to show summarization and skip statistics
- Modify response to include count of summarized vs skipped tools
- Add documentation for smart skip logic and is_summarized feature
- Include test scenarios for skip logic and incremental summarization
2025-10-22 11:19:43 +08:00
jinli.yl
49819a8e54 feat(tool): implement tool memory management and mock search tools- Added RetrieveToolMemoryOp for retrieving tool memory guidelines- Implemented LLM-based mock search tools with configurable complexity levels
- Enhanced tool call result parsing with improved scoring logic (0.0 or 1.0)
- Updated tool memory schema to reflect binary success/failure scoring
- Added deterministic behavior support via seed configuration in mock tools
- Improved evaluation prompts to focus on result quality over success flags
- Extended README with tool memory documentation and usage examples- Added utility functions for generating mock tool call results
- Removed deprecated test file for UseMockSearchOp- Updated default configurations to include use_mock_search operation- Bumped version to0.1.10 and updated flowllm dependency requirement
- Moved deprecation warnings to main init file
- Simplified tool memory summary formatting by removing redundant statistics
- Fixed tool call result processing to handle multiple tool names concurrently
2025-10-21 21:03:14 +08:00
jinli.yl
b07213791f feat(tool): implement tool memory management and summarization
- Added SummaryToolMemoryOp for analyzing tool usage patterns- Implemented RetrieveToolMemoryOp for fetching tool memories
- Enhanced ParseToolCallResultOp with evaluation and scoring logic
- Updated ToolMemory schema with summary, evaluation, and score fields
- Added new prompt templates for tool evaluation and summarization
- Configured tool memory operations in default.yaml
- Fixed success flag logic in ToolCallResult processing
- Improved statistical analysis for tool call history
- Added concurrent processing for tool call evaluations
- Integrated tool memory updates with vector store operations
2025-10-16 15:49:49 +08:00
jinli.yl
b9da8d2a7f feat(memory): add tool call result handling and memory management
- Add new ToolCallResult and ToolMemory schemas for tracking tool executions
- Implement tool memory retrieval and summarization flows in default config
- Register new parse_tool_call_result_op for processing tool call results
- Extend memory conversion logic to support tool memory type
- Add test cases for tool memory serialization and deserialization
- Include token counting utilities for text processing tasks
2025-10-16 10:50:27 +08:00
jinli.yl
0c2fb9a522 refactor(reme_ai): formatting and minor code improvements
- Removed unnecessary comments
- Improved code formatting across multiple files
- Updated import statements and removed unused imports
- Refactored some function definitions for better readability
2025-08-31 15:58:59 +08:00
caozouying.czy
61a83892bd update: merge the config.yaml 2025-08-28 14:44:06 +08:00
jinli.yl
074634d884 refactor(reme_ai): consolidate personal memory and update related ops
- Rename and restructure personal memory consolidation flow
- Update memory handling in context and operations
- Refactor memory schema to use time_created and time_modified fields
- Improve error handling and logging in memory operations
- Update test cases for new memory consolidation flow
2025-08-28 14:31:03 +08:00
jinli.yl
527e04140c refactor(personal): standardize memory operations and improve time handling
- Rename and restructure memory loading operations
- Enhance time extraction and formatting capabilities- Implement more robust memory filtering and ranking logic
- Refactor observation extraction methods for better reusability
- Improve logging and error handling in memory operations
2025-08-28 01:24:34 +08:00
caozouying.czy
8dba31f2b2 update: combine the default.yaml 2025-08-27 18:41:46 +08:00
caozouying.czy
917a1a4725 add: add op about memory management 2025-08-27 18:35:53 +08:00
jinli.yl
8600015632 refactor(reme_ai): rename and restructure modules for better organization
- Rename `worker` to `op` for operation classes
- Remove `memoryscope` package
- Create `constants` package with common constants
- Update module imports and class names accordingly
2025-08-27 17:05:40 +08:00
jinli.yl
4739d39f3f feat(reme_ai): implement memory retrieval and merging functionality
- Add BuildQueryOp to construct query for memory retrieval-Implement MergeMemoryOp to combine retrieved memories
- Create RecallVectorStoreOp to fetch memories from vector store
- Develop memory representation and conversion methods
- Establish initial project structure and dependencies
2025-08-25 16:10:53 +08:00