fix: Make from_memory_type and to_memory_type optional and add task_i…#538
Merged
fix: Make from_memory_type and to_memory_type optional and add task_i…#538
Conversation
464dd01 to
5c361cc
Compare
tangg555
approved these changes
Nov 27, 2025
5c361cc to
a7137a9
Compare
…d propagation - Make from_memory_type and to_memory_type fields optional in ScheduleLogForWebItem - This fixes RabbitMQ log submission validation errors in cloud service scenario - Add task_id field to ScheduleMessageItem and ScheduleLogForWebItem - Propagate task_id from API request through scheduler to web logs - Add logging for preference memory additions in _pref_add_message_consumer Fixes validation error: '2 validation errors for ScheduleLogForWebItem from_memory_type Field required to_memory_type Field required' Changes: - src/memos/mem_scheduler/schemas/message_schemas.py: Add task_id fields - src/memos/multi_mem_cube/single_cube.py: Pass task_id to ScheduleMessageItem - src/memos/mem_scheduler/general_scheduler.py: Propagate task_id to logs
a7137a9 to
7efec70
Compare
tianxing02
pushed a commit
to tianxing02/MemOS
that referenced
this pull request
Feb 24, 2026
MemTensor#538) fix: Make from_memory_type and to_memory_type optional and add task_id propagation - Make from_memory_type and to_memory_type fields optional in ScheduleLogForWebItem - This fixes RabbitMQ log submission validation errors in cloud service scenario - Add task_id field to ScheduleMessageItem and ScheduleLogForWebItem - Propagate task_id from API request through scheduler to web logs - Add logging for preference memory additions in _pref_add_message_consumer Fixes validation error: '2 validation errors for ScheduleLogForWebItem from_memory_type Field required to_memory_type Field required' Changes: - src/memos/mem_scheduler/schemas/message_schemas.py: Add task_id fields - src/memos/multi_mem_cube/single_cube.py: Pass task_id to ScheduleMessageItem - src/memos/mem_scheduler/general_scheduler.py: Propagate task_id to logs Co-authored-by: glin1993@outlook.com <>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…d propagation
Fixes validation error:
'2 validation errors for ScheduleLogForWebItem
from_memory_type Field required
to_memory_type Field required'
Changes:
Description
Summary: (summary)
Fix: #(issue)
Docs Issue/PR: (docs-issue-or-pr-link)
Reviewer: @tangg555
Checklist: