You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] test_system_parser.py: SystemParser.__init__() got an unexpected keyword argument 'chunker' #1888
All 5 tests in tests/mem_reader/test_system_parser.py are failing with:
TypeError: SystemParser.__init__() got an unexpected keyword argument 'chunker'
This breaks CI for all branches (including dev and all AutoDev PRs).
Root Cause
The SystemParser class signature was changed (the chunker parameter was removed or renamed), but the corresponding tests still pass chunker as a keyword argument.
Summary: Fixed all 5 failing tests in test_system_parser.py by removing the invalid chunker parameter from SystemParser instantiation.
Root Cause
The SystemParser.__init__() method signature was refactored to accept (embedder: BaseEmbedder, llm: BaseLLM | None = None), removing the chunker parameter. However, the test file at line 20 still used the old signature SystemParser(embedder=self.mock_embedder, chunker=None), causing a TypeError for all 5 test methods.
Changes Made
File: tests/mem_reader/test_system_parser.py
Change: Removed chunker=None argument from line 20 in the setUp() method
Impact: All 5 tests now instantiate SystemParser correctly with the current signature
Verification
Verified the fix by inspecting the current SystemParser implementation at src/memos/mem_reader/read_multi_modal/system_parser.py:34
Confirmed no other test files in the codebase use the old SystemParser signature with chunker parameter
Activity
Memtensor-AI commentedon Jun 4, 2026
🤖 AutoDev has picked up this issue and started working on it.
Task ID:
fd17e167182d8111Working branch:
bugfix/autodev-1888Target branch:
mainWorkflow: opsp (analysis → coding → testing → PR)
I will post the PR link here once done. If I need more information, I will ask in the comments.
fix: remove invalid chunker parameter from SystemParser test instanti…
Memtensor-AI commentedon Jun 4, 2026
✅ AutoDev task
fd17e167182d8111completed.Summary: Fixed all 5 failing tests in test_system_parser.py by removing the invalid
chunkerparameter from SystemParser instantiation.Root Cause
The
SystemParser.__init__()method signature was refactored to accept(embedder: BaseEmbedder, llm: BaseLLM | None = None), removing thechunkerparameter. However, the test file at line 20 still used the old signatureSystemParser(embedder=self.mock_embedder, chunker=None), causing a TypeError for all 5 test methods.Changes Made
tests/mem_reader/test_system_parser.pychunker=Noneargument from line 20 in thesetUp()methodVerification
src/memos/mem_reader/read_multi_modal/system_parser.py:34Tests Fixed
This fix unblocks CI for all branches including dev and all AutoDev PRs.
Base branch:
mainBranch:
bugfix/autodev-1888Commit:
e53059bPR: #1889
Assigned to: @MatthewZhuang, @CarltonXiang, @syzsunshine219
Reviewers: @MatthewZhuang, @CarltonXiang, @syzsunshine219
Fix #1888: [Bug] test_system_parser.py: SystemParser.__init__() got a…
sarkarshrayan2-max commentedon Jun 14, 2026
can you assign me the work i want to work on this
Dev 20260604 v2.0.19 (#2033)
Fix #1523: [Bug] timed_with_status decorator silently swallows except…
feat: chunk batch reflection scoring (#1957)
fix: remove 500-row cap that truncated viewer count displays (#1954)
feat: chunk batch reflection scoring (MemTensor#1957)
feat: chunk batch reflection scoring (MemTensor#1957)
feat: chunk batch reflection scoring (MemTensor#1957)
release: merge dev-v2.0.25 into main (#2156)
Dev 20260604 v2.0.19 (MemTensor#2033)
feat: chunk batch reflection scoring (MemTensor#1957)
release: merge dev-v2.0.25 into main (MemTensor#2156)