[BUG] Gemini Stream Error: Incomplete JSON segment at the end
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 22/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
The payload names only the error text 'Incomplete JSON segment at the end' from the Gemini context stream path. Start by searching the repository for that message and for the Gemini stream handling around it, then reproduce with a long multi-step task. The payload gives no reproduction that reliably triggers the error and no expected behaviour beyond 'normal result', so a contributor would first need to define what a fix must guarantee.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem (one or two sentences)
A Gemini context stream request sometimes fails and Zoo Code shows this error: Gemini generate context stream error: Incomplete JSON segment at the end.
Context (who is affected and when)
I use the Gemini provider with a direct Google API key and the gemini-flash-lite-latest model. The error occurs at random, but it occurs more often during long tasks. Also common in gemini-flash-latest and gemini-4-hydrogen. Don't know about the other Gemini models.
Reproduction steps
- Zoo Code 3.98.2 in VSCodium 1.143.17232 on Windows 10 LTSC.
- Do a request that will result in it needing to do some work.
- Many errors before working, at random.
Expected result
Normal result
Actual result
Incomplete JSON segment at the end
Variations tried (optional)
No response
App Version
3.98.2
API Provider (optional)
Google Gemini
Model Used (optional)
gemini-flash-lite-latest
Zoo Code Task Links (optional)
No response
Relevant logs or errors (optional)
- Lenguaje dominante
- TypeScript
- Estrellas
- 2k
- Forks
- 301
- Merge medio
- 3 d 14 h
- PR fusionados (30 d)
- 103
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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.
Más de Zoo-Code-Org/Zoo-Code
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Zoo-Code-Org/Zoo-Code#2773 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Zoo-Code-Org/Zoo-Code#2717 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Zoo-Code-Org/Zoo-Code#2515 ·
Los mantenedores suelen responder en 3 días
-
fix(scripts): stryker-diff.mjs spawns the extensionless .bin shim and cannot run on WindowsPosiblemente ocupada @easonLiangWorldedtech la tomó hace 15 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Zoo-Code-Org/Zoo-Code#2514 ·
Los mantenedores suelen responder en 3 días
-
[BUG] search_files hides matching text on long linesPosiblemente ocupada @DananjayaNadun la tomó hace 9 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Zoo-Code-Org/Zoo-Code#2496 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 3 días
Todos los issues de Zoo-Code-Org/Zoo-Code
Issues similares
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
EPPIcenter/sampledb3#162 ·
-
Particle-1 modelAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
tashfeenahmed/freellmapi#2169 ·
Los mantenedores suelen responder en 1 día
-
via-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
🎙️ task - feat(mechanic): pave git.pull.close, a close of a superseded pull with its why on recordAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ehmpathy/rhachet-roles-ehmpathy#1576 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
vercel-labs/ui#1563 ·
Los mantenedores suelen responder en 1 día