[BUG] Gemini Stream Error: Incomplete JSON segment at the end
Maintainer antworten meist innerhalb von 3 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 22/100
- Issue-Typ
- Bug
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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)
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2k
- Forks
- 301
- Ø Merge
- 3 T. 14 Std.
- Gemergte PRs (30 T.)
- 103
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Zoo-Code-Org/Zoo-Code
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
Zoo-Code-Org/Zoo-Code#2773 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Zoo-Code-Org/Zoo-Code#2717 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
Zoo-Code-Org/Zoo-Code#2515 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
fix(scripts): stryker-diff.mjs spawns the extensionless .bin shim and cannot run on WindowsEvtl. vergeben @easonLiangWorldedtech hat das vor 15 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Zoo-Code-Org/Zoo-Code#2514 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
[BUG] search_files hides matching text on long linesEvtl. vergeben @DananjayaNadun hat das vor 9 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
Zoo-Code-Org/Zoo-Code#2496 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 3 Tagen
Alle Issues in Zoo-Code-Org/Zoo-Code
Ähnliche Issues
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
ci
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
ClickHouse/clickhouse-js#1248 ·
Maintainer antworten meist innerhalb von 1 Tag
-
E2E: Darlehen-Test wartet auf die gebuchte Auszahlung, bevor er zur Liquiditätsvorschau wechseltOffentechnik
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
SR5-FoundryVTT/SR5-FoundryVTT#2162 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
AhmedNAgy25/analysor#25 ·
Maintainer antworten meist innerhalb von 1 Tag