LearnNewsExamplesServices
Frontmatter
id7689
titleBug: Memory Core `querySummaries` fails when category is undefined
stateClosed
labels
bugai
assigneestobiu
createdAtNov 2, 2025, 5:14 PM
updatedAtNov 2, 2025, 5:15 PM
githubUrlhttps://github.com/neomjs/neo/issues/7689
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 2, 2025, 5:15 PM

Bug: Memory Core querySummaries fails when category is undefined

Closed v11.0.0 bugai
tobiu
tobiu commented on Nov 2, 2025, 5:14 PM

The querySummaries method in SummaryService.mjs constructs a ChromaDB query. When the category parameter is undefined, the where clause of the query is set to where: undefined.

The ChromaDB client does not handle this gracefully and throws an error: Expected 'where' value to be a string, number, boolean, or an operator expression, but got undefined.

The fix is to conditionally build the query parameters, only adding the where key if a category is provided.

tobiu added the bug label on Nov 2, 2025, 5:14 PM
tobiu added the ai label on Nov 2, 2025, 5:14 PM
tobiu assigned to @tobiu on Nov 2, 2025, 5:14 PM
tobiu referenced in commit 59c3dba - "Bug: Memory Core querySummaries fails when category is undefined #7689" on Nov 2, 2025, 5:15 PM
tobiu closed this issue on Nov 2, 2025, 5:15 PM