Skip to content

Fix assistant memory deletion#2669

Open
gentlemandev wants to merge 1 commit into
mainfrom
elie/inb-270-memory-deletion-via-ai-chat-fails-with-invalid-payload-error
Open

Fix assistant memory deletion#2669
gentlemandev wants to merge 1 commit into
mainfrom
elie/inb-270-memory-deletion-via-ai-chat-fails-with-invalid-payload-error

Conversation

@gentlemandev

Copy link
Copy Markdown
Collaborator

Adds a dedicated assistant chat memory deletion path so delete requests no longer route through settings updates. The UI now reports deletion outcomes from the memory tool.

  • Added deleteMemory tool with single-match deletion and ambiguous-match handling
  • Wired deleteMemory into assistant chat tools, prompt routing, and tool status rendering
  • Added focused assistant chat tests for deletion success and multiple matches

Tests:

  • pnpm test tests/ai-assistant-chat.test.ts

Performance impact: Adds one bounded chatMemory lookup and one deleteMany only when deleteMemory is invoked. No new network calls, no runtime work outside explicit memory deletion requests, and low hot-path risk.

@vercel

vercel Bot commented May 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
inbox-zero Ignored Ignored May 14, 2026 9:04pm

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.

2 participants