Skip to content

Conversation

tangg555
Copy link
Collaborator

Description

Summary: (summary)
Here's a concise description of the code changes:

Configuration Enhancements:

Added GraphDB connection parameters (URI, user, password, db_name, auto_create) across multiple scheduler initialization files

Scheduler Core Improvements:

Added current_mem_cube tracking in base scheduler

Refactored memory transformation with query keywords parameter

Removed deprecated initialize_working_memory_monitors method

Enhanced memory update logic with better error handling

Monitoring System Upgrades:

Restructured query monitors as nested dictionaries (user_id → mem_cube_id)

Implemented thread-safe registration with double-checked locking

Added detailed logging for threading operations

Improved memory monitor initialization logic

Search Functionality:

Added fine-grained search method (TreeTextMemory_FINE_SEARCH_METHOD)

Enhanced search with info parameter for history tracking

Improved search result handling in test scheduler

Prompt Engineering:

Refined retrieval decision framework prompts

Clarified output specifications for evidence tracking

Testing:

Removed obsolete test cases

Focused on core functionality validation

These changes improve thread safety, monitoring granularity, and search flexibility while maintaining backward compatibility.

Fix: #(issue)

Docs Issue/PR: (docs-issue-or-pr-link)

Reviewer: @(reviewer)

Checklist:

  • I have performed a self-review of my own code | 我已自行检查了自己的代码
  • I have commented my code in hard-to-understand areas | 我已在难以理解的地方对代码进行了注释
  • I have added tests that prove my fix is effective or that my feature works | 我已添加测试以证明我的修复有效或功能正常
  • I have created related documentation issue/PR in MemOS-Docs (if applicable) | 我已在 MemOS-Docs 中创建了相关的文档 issue/PR(如果适用)
  • I have linked the issue to this PR (if applicable) | 我已将 issue 链接到此 PR(如果适用)
  • I have mentioned the person who will review this PR | 我已提及将审查此 PR 的人

tangg555 added 4 commits July 30, 2025 20:48
…odified locome benchmark, and slightly change the logic of query consume and query monitors
…nitialize working memories (logically uneccessary). change the function parameters of search as the function input info as an addition
@tangg555 tangg555 requested a review from CaralHsi July 31, 2025 12:12
@tangg555 tangg555 changed the title Dev feat & refactor: add search function feature to test scheduler on a modified locome benchmark, and slightly change the logic of query consume and query monitors Aug 1, 2025
@tangg555 tangg555 self-assigned this Aug 1, 2025
@CaralHsi CaralHsi merged commit a175bf1 into MemTensor:dev Aug 1, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants