# Discourse AI: o decodificador de streaming do Gemini perde o restante da resposta quando um fragmento de rede termina na linha em branco entre dois eventos

**URL:** <https://meta.discourse.org/t/discourse-ai-gemini-streaming-decoder-drops-the-rest-of-a-reply-when-a-network-chunk-ends-inside-the-blank-line-between-two-events/413982>\
**Category:** Bug\
**Tags:** ai\
**Created:** [Outubro 5, 2026, 7:17pm UTC](https://meta.discourse.org/t/discourse-ai-gemini-streaming-decoder-drops-the-rest-of-a-reply-when-a-network-chunk-ends-inside-the-blank-line-between-two-events/413982 "2026-10-05T19:17:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [Outubro 6, 2026, 5:15am UTC](https://meta.discourse.org/t/discourse-ai-gemini-streaming-decoder-drops-the-rest-of-a-reply-when-a-network-chunk-ends-inside-the-blank-line-between-two-events/413982/2 "2026-10-06T05:15:53Z")

</div>

Boa pegada

> <https://github.com/discourse/discourse/pull/44272>
>
> Previously bad network splits could corrupt results

---

_[View the full topic](https://meta.discourse.org/t/discourse-ai-gemini-streaming-decoder-drops-the-rest-of-a-reply-when-a-network-chunk-ends-inside-the-blank-line-between-two-events/413982)._
