Pi adapter fails to retain transcripts when SessionManager.getBranch() returns a Promise

Aperta
#7,215 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
63/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
ai, backend

Direzione di ricerca

Start by tracing the registered agent_end handler through readPiEntries and agentEnd, then inspect how onTranscript submits the write-back. Update the branch handling to support the Promise-returning host while preserving synchronous hosts and the event fallback; done means full-session write-back works and completing a turn no longer raises the reported error.

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

Descrizione

integration:coding-agents

Using the published coding-agents integration 0.9.1 with an omo/Senpi host, completing a turn raises “SessionManager.getBranch() returns a Promise (session bodies stay on disk): await it.” The stack goes through readPiEntries and agentEnd. The registered agent_end handler passes getBranch() directly to a synchronous iterator, before onTranscript can submit the write-back. Current main has the same call.

Expected: await the branch before normalizing its entries, preserving full-session write-back, support for synchronous Pi hosts, and the existing event fallback on hosts without getBranch.

Lingua principale
Python
Stelle
45.2k
Fork
5.9k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 vectorize-io/hindsight

Tutte le issue di vectorize-io/hindsight

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.