Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

A fact one Bot remembered is reported as remembered to a second Bot, which then never sees it

Aperta
#714 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@charan-rathore ci sta già lavorando.

Dal 10/10/2026.

  • #766 di @charan-rathore — aperta
  • #788 di @Chebaleomkar — aperta

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
ai, backend

Direzione di ricerca

Start with server/src/memory/store.ts, reading the create path for formedBy: "bot", its unique-index assumptions, and retrieve's formedByAgentId filter. Confirm with maintainers whether bot memories should be scoped per Bot or shared across Bots, then make duplicate reporting and retrieval follow that decision for both Bot A and Bot B.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

remember from a Bot is deduplicated per person, but read back per Bot.

  • server/src/memory/store.ts (the create path for formedBy: "bot") looks for an existing row by (ownerUserId, formedBy = 'bot', importDigest). The unique index has the same shape. It does not include formedByAgentId.
  • retrieve returns Bot-formed rows only where formedByAgentId is the asking Bot.

So if Bot A remembers "I prefer metric units" for a person, and Bot B later forms the same sentence, B gets { duplicate: true } with A's id. B never records it, and B's retrieval never returns it. B is told the fact is remembered but never sees it.

There are two possible directions:

  1. Scope the dedup lookup and the index to formedByAgentId, so each Bot keeps its own copy.
  2. Keep one row per person, and let retrieval include Bot-formed rows from other Bots the person uses.

Which one is intended? I'm happy to send a PR for either.

Lingua principale
TypeScript
Stelle
6.6k
Fork
914
Merge medio
19h 22m
PR unite (30g)
140

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 CopilotKit/OpenBot

Tutte le issue di CopilotKit/OpenBot

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.