Skip to content

[Bug] test_system_parser.py: SystemParser.__init__() got an unexpected keyword argument 'chunker' #1888

@Memtensor-AI

Description

@Memtensor-AI

Description

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.

Affected Tests

  • test_parse_fast_preserves_tool_schema_memory_type
  • test_parse_fast_with_empty_content_returns_empty
  • test_parse_fast_with_internal_review_prompt_returns_empty
  • test_parse_fast_with_regular_system_prompt_returns_empty
  • test_parse_fast_with_tool_schema_creates_tool_schema_memory

Expected Fix

Update tests/mem_reader/test_system_parser.py to match the current SystemParser.__init__ signature (remove or replace the chunker keyword argument).

CI Evidence

571 passed, 5 failed — all failures are this single issue.

Metadata

Metadata

Assignees

Labels

ai-doneAI task completed successfullybugSomething isn't working | 功能异常good first issueGood for newcomers | 适合新手help wantedExtra attention is needed | 需要社区帮助memosCore MemOS logic (memory, MCP, scheduler, API, database) | 核心模块

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions