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

ChatGPT sign-in: keep-cache-warm does nothing and a revoked token is not refreshed

Aperta
#202 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
53/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Start in src/main/llm/codex_auth.ts:437-477 and inspect how CodexAuthedConversation wraps its conversation and how authentication requests handle 401 responses. Check nearby tests for keep-alive settings and token refresh behavior. Done when keep-alive behavior works for ChatGPT sign-in and a revoked token is refreshed once before retrying the request.

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

Descrizione

enhancement priority: low severity: low

Suggestions from the 2026-10-07 code review (not bugs).

  • CodexAuthedConversation (src/main/llm/codex_auth.ts:437-477) lacks keepCacheWarm and lastRequestStartedAt, so the keep-alive setting silently has no effect for ChatGPT sign-in.
  • A 401 for a token revoked before its expiry isn't refreshed and retried once; the chat shows an error instead.

Proposal

Forward the keep-alive members to the wrapped conversation (or say in Settings that they don't apply), and on a 401 refresh the token once and repeat the request.

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.