Skip to content

fix(desktop): show Hindsight local embedded mode - #903

Open
hashbender wants to merge 1 commit into
mainfrom
mirror/pr-57126
Open

fix(desktop): show Hindsight local embedded mode#903
hashbender wants to merge 1 commit into
mainfrom
mirror/pr-57126

Conversation

@hashbender

Copy link
Copy Markdown
Owner

Summary

  • Add local_embedded to the Hindsight mode options exposed by the desktop memory-provider settings schema.
  • Update web-server and desktop panel regression tests so an existing local_embedded config is displayed and preserved instead of being coerced to cloud.

Why

A valid Hindsight config can use mode: local_embedded, but the desktop config surface only allowed cloud and local_external. The web endpoint therefore treated local_embedded as an unsupported select value and fell back to the default cloud, making the settings panel misleading and risking an accidental save back to cloud mode.

There is a broader schema-driven memory-provider PR open (NousResearch#48675). This is the small surgical fix for the current production bug, so users with local embedded Hindsight are not shown the wrong mode while that larger refactor is reviewed.

Test Plan

  • python -m pytest tests/hermes_cli/test_memory_providers.py tests/hermes_cli/test_web_server.py -q — 342 passed
  • python -m ruff check hermes_cli/memory_providers.py tests/hermes_cli/test_memory_providers.py tests/hermes_cli/test_web_server.py — passed
  • npm run typecheck from apps/desktop — passed
  • npx vitest run --environment jsdom src/app/settings/provider-config-panel.test.tsx from apps/desktop — 5 passed

Mirror-of: NousResearch#57126
NousResearch#57126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant