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

Offer Resume after a run fails once its retries are used up

Aperta
#204 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
66/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
ai, desktop

Direzione di ricerca

Start in src/main/agent/session.ts, in run() and its finally block, and trace how provider errors differ from setup errors and user-stopped runs. Check how resumability is exposed to the UI and the relevant tests; done means a run exhausted by provider errors offers Resume, while a missing-key setup error does not.

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

Descrizione

enhancement priority: medium severity: low

Suggestion from the 2026-10-07 code review (not a bug).

In src/main/agent/session.ts run(), finally sets resumable only for runs the user stopped. When the agent's retries run out mid-task (for example a long provider outage), the history ends in tool results but the UI offers no Resume; the user has to type "continue".

Proposal

Mark the chat resumable after a run that ended with a provider error (not a setup error such as a missing key), so Resume continues from the last completed tool batch.

Lingua principale
TypeScript
Stelle
2
Fork
2
Merge medio
5h 52m
PR unite (30g)
18

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 PierrunoYT/patch

Tutte le issue di PierrunoYT/patch

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.