Skip to content

fix(memory): warn when numpy is missing in holographic memory (#17350)#39666

Open
dusterbloom wants to merge 1 commit into
NousResearch:mainfrom
dusterbloom:fix/holographic-numpy-warning
Open

fix(memory): warn when numpy is missing in holographic memory (#17350)#39666
dusterbloom wants to merge 1 commit into
NousResearch:mainfrom
dusterbloom:fix/holographic-numpy-warning

Conversation

@dusterbloom

Copy link
Copy Markdown
Contributor

Fixes #17350

When numpy was not installed, HRR vector operations silently fell back to FTS5-only. No warning was logged and hermes doctor couldn't detect it. Users had no idea probe/reason/contradict were degraded.

Fix: initialize() logs a WARNING. system_prompt_block() includes a visible WARNING in the prompt so both the agent and user know HRR vector operations are disabled.

Tests: 3 tests — system prompt without numpy shows WARNING, with numpy hides it, init logs warning.

This was originally part of #23221 — split into focused single-fix PRs for easier review.

…search#17350)

When numpy was not installed, HRR vector operations silently fell back
to FTS5-only. Users had no way to know that probe/reason/contradict were
degraded.

Fix: initialize() logs a WARNING. system_prompt_block() includes a
visible WARNING in the prompt so both the agent and user know HRR is
disabled.

Closes NousResearch#17350
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/plugins Plugin system and bundled plugins tool/memory Memory tool and memory providers labels Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have tool/memory Memory tool and memory providers type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Holographic memory silently degrades to FTS5-only when numpy is missing — no warning, no error, no doctor detection

2 participants