Harden OpenPets memory capture and retrieval #1
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "pr/memory-hardening"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR: Harden OpenPets memory capture and retrieval
Branch:
pr/memory-hardeningScope: Floating-chat memory reliability only.
Summary
Makes the local memory system more resilient in the floating chat path: capture is now logged and errors are caught instead of aborting the send, and retrieval gains a recall-intent fallback so questions like "what is my name?" still surface stored facts even when token overlap is low.
What changed
apps/desktop/src/openapi-chat.tserrorfunction correctly.capturePromptMemoriesin try/catch and logs captured-count / failures.apps/desktop/src/openpets-memory.tsremember,recall,what is my name,who am i, etc.).apps/desktop/src/renderer/src/main.tsxHow to test
remember that my favorite color is blue.memory captured.what is my favorite color?.Backwards compatibility
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.