hermes - 💡(How to fix) Fix fix(etch): QueryClassifier(store=None) TypeError — constructor takes no arguments

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

self._query_classifier = QueryClassifier(store=None)

TypeError: QueryClassifier() takes no arguments

Fix Action

Fix

The store parameter is never used inside QueryClassifier — it is a purely rule-based classifier. Removing the argument resolves the issue:

self._query_classifier = QueryClassifier()

Code Example

self._query_classifier = QueryClassifier(store=None)
# TypeError: QueryClassifier() takes no arguments

---

self._query_classifier = QueryClassifier()
RAW_BUFFERClick to expand / collapse

Bug

EtchMemoryProvider.__init__() creates a QueryClassifier passing store=None (line 340) and then store=self._store (line 452), but QueryClassifier has no __init__ that accepts arguments — it uses the default Python constructor.

self._query_classifier = QueryClassifier(store=None)
# TypeError: QueryClassifier() takes no arguments

Impact

  • EtchMemoryProvider fails to initialize with TypeError
  • Memory plugin cannot load
  • All E2E tests (18) blocked by this error

Fix

The store parameter is never used inside QueryClassifier — it is a purely rule-based classifier. Removing the argument resolves the issue:

self._query_classifier = QueryClassifier()

Files affected

  • plugins/memory/etch/__init__.py (lines 340, 452)

Originally patched locally in 32c6e78

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix fix(etch): QueryClassifier(store=None) TypeError — constructor takes no arguments