Deleting a memory with a broken stored field fails in the REST route

Aperta
#539 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Ankit874396 ci sta già lavorando.

Dal 31/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

area: memory bug good first issue priority: P2 size: S

Noted by @hskl18 in #537. Since #535, DELETE /api/memories/{id} checks that the memory exists by reading the whole row first. If one of the row's stored fields can't be read, for example broken JSON, the check fails, and a memory that should be easy to remove can't be deleted from the app.

#537 fixed the same thing for the memory_forget tool, with a check that only asks whether the id exists. Make the route use that same existence-only check.

Done when: a test stores a memory with a broken field, and DELETE /api/memories/{id} removes it; a missing id still answers 404.

Lingua principale
Python
Stelle
716
Fork
132
Merge medio
16h 34m
PR unite (30g)
215

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di existence-master/Sentient

Tutte le issue di existence-master/Sentient

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.