Skip to content

fix(memory): read plugin.yaml as UTF-8 in memory setup - #8450

Closed
Tianworld wants to merge 1 commit into
NousResearch:mainfrom
Tianworld:fix/memory-setup-plugin-yaml-utf8
Closed

fix(memory): read plugin.yaml as UTF-8 in memory setup#8450
Tianworld wants to merge 1 commit into
NousResearch:mainfrom
Tianworld:fix/memory-setup-plugin-yaml-utf8

Conversation

@Tianworld

Copy link
Copy Markdown
Contributor

Memory setup loads plugins/memory//plugin.yaml to read pip_dependencies. The reader used the process default encoding; on Windows, valid UTF-8 YAML (e.g. non-ASCII description text) could fail parsing. The failure was swallowed, so users might not get pip install guidance when dependencies were missing.

Made with Cursor

plugin.yaml uses UTF-8; locale-default decoding on Windows could make yaml.safe_load fail inside a bare except, skipping pip dependency hints for the selected memory provider.

Made-with: Cursor
@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 Apr 28, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Likely duplicate of #8467 — identical UTF-8 encoding fix for memory plugin.yaml reading on Windows.

@teknium1

Copy link
Copy Markdown
Contributor

Thanks for the focused Windows compatibility fix. This automated hermes-sweeper review found that the exact behavior is already implemented on current main.

  • hermes_cli/memory_setup.py:94 now reads the manifest with open(yaml_path, encoding="utf-8").
  • Commit 9c914c01c8f0bb861a169f3a42f8cff690c8fa4c (codebase: add encoding='utf-8' to all bare open() calls) made this exact change.
  • This also aligns with the duplicate report noted in the existing discussion (fix(plugins): read memory plugin.yaml as UTF-8 #8467).

Closing as implemented on main.

@teknium1 teknium1 closed this Jul 12, 2026
@teknium1 teknium1 added the sweeper:implemented-on-main Sweeper: behavior already present on current main label Jul 12, 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 sweeper:implemented-on-main Sweeper: behavior already present on current main 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.

3 participants