This issue has been created
There are 6 updates.
 
 
LLM AI Integration / cid:jira-generated-image-avatar-824cbcbc-96ce-45de-99af-62f179859def LLMAI-148 Closed

Some streaming responses containing empty chunks lead to errors

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-c0bc59f4-2f80-4512-bf26-6d3cf2ef57ed Michael Hamann created this issue on 11/Jun/26 15:09
 
Summary: Some streaming responses containing empty chunks lead to errors
Issue Type: cid:jira-generated-image-avatar-824cbcbc-96ce-45de-99af-62f179859def Bug
Affects Versions: 0.8
Assignee: Unassigned
Created: 11/Jun/26 15:09
Priority: cid:jira-generated-image-static-major-8820f238-00b2-47ff-a081-b8152fa018b0 Major
Reporter: Michael Hamann
Description:

Steps to reproduce:

  1. Configure OpenRouter with the NVIDIA: Nemotron Nano 9B V2 (free) model with streaming enabled.
  2. Ask the LLM, e.g., Write an introduction about XWiki.

Expected result:

The answer is displayed.

Actual result:

The answer stops with an empty error even before outputting any text.

The root cause seems to be an empty chunk in the SSE stream. It is not clear to me why this is happening, if we're improperly parsing the SSE stream or if there is really an empty chunk and if this is okay or not. It is an argument for using a proper library instead of our custom parser but it is also easy to fix for now.

 
 

6 updates

 
cid:jira-generated-image-avatar-c0bc59f4-2f80-4512-bf26-6d3cf2ef57ed Changes by Michael Hamann on 11/Jun/26 15:14
 
Fix Version: 0.8.1
Documentation in Release Notes: N/A
Documentation: N/A
Assignee: Michael Hamann
Resolution: Fixed
Status: Open Closed