ChatGPT sign-in: keep-cache-warm does nothing and a revoked token is not refreshed
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 53/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- authentication, desktop
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Suggestions from the 2026-10-07 code review (not bugs).
CodexAuthedConversation(src/main/llm/codex_auth.ts:437-477) lackskeepCacheWarmandlastRequestStartedAt, 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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 2
- Forks
- 2
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Issues similares
-
content triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
tensorflow/tfjs#8754 ·
-
tool-submission
Dificultad 1/5 Menos de una hora Aptitud para principiantes 83/100
BraveOPotato/NoSignups#2348 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
code-yeongyu/oh-my-openagent#12784 ·
Los mantenedores suelen responder en 1 día
-
external-issue to-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 71/100
Los mantenedores suelen responder en 1 día